zyy17
c0df2b9086
ci: set 'omitBody' true when releasing ( #2845 )
...
ci: set 'omitBody'
2023-11-30 10:53:07 +00:00
Ning Sun
bd9c2f2666
fix: windows build and check ci check for windows ( #2819 )
2023-11-27 03:42:44 +00:00
tison
102e43aace
test: use EtcdStore in IT cases ( #2734 )
...
* test: use EtcdStore in IT cases
Signed-off-by: tison <wander4096@gmail.com >
* retrigger CI
Signed-off-by: tison <wander4096@gmail.com >
* refactor: KvPair can take etcd KeyValue
Signed-off-by: tison <wander4096@gmail.com >
* temporary use fork
Signed-off-by: tison <wander4096@gmail.com >
* drop cloned
Signed-off-by: tison <wander4096@gmail.com >
* chroot_key_value
Signed-off-by: tison <wander4096@gmail.com >
* chroot and prepend in each point
Signed-off-by: tison <wander4096@gmail.com >
* adjust call points
Signed-off-by: tison <wander4096@gmail.com >
* cargo clippy
Signed-off-by: tison <wander4096@gmail.com >
* point to upstream etcd-client
Signed-off-by: tison <wander4096@gmail.com >
* test etcd chroot
Signed-off-by: tison <wander4096@gmail.com >
* add NO_CHROOT constant
Signed-off-by: tison <wander4096@gmail.com >
* check
Signed-off-by: tison <wander4096@gmail.com >
* handle range end
Signed-off-by: tison <wander4096@gmail.com >
* handle special encoded key or range_end
Signed-off-by: tison <wander4096@gmail.com >
* fixup implementation
Signed-off-by: tison <wander4096@gmail.com >
* clippy
Signed-off-by: tison <wander4096@gmail.com >
* avoid test name conflict
Signed-off-by: tison <wander4096@gmail.com >
* chroot to kvbackend level
Signed-off-by: tison <wander4096@gmail.com >
* fixup all occurances
Signed-off-by: tison <wander4096@gmail.com >
* fix type
Signed-off-by: tison <wander4096@gmail.com >
* Update src/common/meta/src/kv_backend/txn.rs
* make github happy
---------
Signed-off-by: tison <wander4096@gmail.com >
Co-authored-by: LFC <990479+MichaelScofield@users.noreply.github.com >
2023-11-23 05:47:00 +00:00
tison
efc5abfc02
build: upgrade etcd-client to 0.12.2 ( #2781 )
...
* build: upgrade etcd-client to 0.12.2
Signed-off-by: tison <wander4096@gmail.com >
* upgrade nightly toolchain
Signed-off-by: tison <wander4096@gmail.com >
* chore: run clippy
Signed-off-by: tison <wander4096@gmail.com >
* Update Cargo.toml
Co-authored-by: tison <wander4096@gmail.com >
---------
Signed-off-by: tison <wander4096@gmail.com >
Co-authored-by: Ning Sun <classicning@gmail.com >
2023-11-21 06:33:41 +00:00
tison
3f981ef2b3
chore: improve bug report issue template ( #2716 )
...
* chore: improve bug report issue template
1. _Firstly_ require a _minimal_ reproduce.
2. Explicitly ask what is expected and what happen instead.
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
---------
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2023-11-13 07:09:20 +00:00
tison
0cd6dacb45
chore: multiple licenses fixes ( #2714 )
...
* chore: avoid license risk from akka
Signed-off-by: tison <wander4096@gmail.com >
* chore: LICENSE test is AS IS
Signed-off-by: tison <wander4096@gmail.com >
* ci: use hawkeye to pin in inceptionYear
Signed-off-by: tison <wander4096@gmail.com >
* add instruction for running license header apply
Signed-off-by: tison <wander4096@gmail.com >
---------
Signed-off-by: tison <wander4096@gmail.com >
2023-11-09 10:38:12 +00:00
zyy17
e8adaaf5f7
ci: add the simple framework of nightly functional tests ( #2648 )
2023-10-25 14:44:36 +08:00
Ruihang Xia
1658d088ab
ci: add size labeler ( #2628 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-10-20 06:39:13 +00:00
Ning Sun
b5d9d635eb
ci: add slack notification for nightly ci failure ( #2617 )
2023-10-19 15:47:15 +00:00
zyy17
6439b929b3
ci: the 'publish-github-release' and 'release-cn-artifacts' have to wait for all the artifacts are built ( #2622 )
2023-10-19 21:05:44 +08:00
zyy17
59d4081f7a
ci: correct image name of dev build ( #2603 )
2023-10-16 03:54:44 +00:00
zyy17
6e87ac0a0e
ci: refine release-cn-artifacts action ( #2600 )
...
* ci: add copy-image.sh and upload-artifacts-to-s3.sh
* ci: remove unused options in dev build
* ci: use 'upload-artifacts-to-s3.sh' and 'copy-image.sh' in release-cn-artifacts action
* refactor: refine copy-image.sh
2023-10-13 17:04:06 +08:00
Ruihang Xia
825e4beead
build(ci): pin linux runner to ubuntu-20.04 ( #2586 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-10-12 18:08:05 +08:00
zyy17
94f3542a4f
ci: fix skopeo running errors ( #2581 )
...
ci: fix skopeo auth error
2023-10-12 06:13:56 +00:00
LFC
fc3bc5327d
ci: release Windows artifacts ( #2574 )
...
* ci: release Windows artifacts
* ci: release Windows artifacts
2023-10-12 14:10:59 +08:00
Ning Sun
9e33ddceea
ci: run windows tests every night instead of every commit ( #2577 )
...
ci: move windows ci to nightly-ci
2023-10-12 02:53:42 +00:00
zyy17
c9bdf4ff9f
ci: refine the process of releasing dev-builder images ( #2580 )
...
* fix: fix error of releasing android builder image
* fix: run skopeo error
* ci: add 'release-dev-builder-images-cn' job
* ci: add 'disable_building_images'
* fix: add vars
* ci: use skopeo container
* ci: update opts defaule values
2023-10-12 02:41:54 +00:00
zyy17
76d5b710c8
ci: add more options for releasing dev-builder images ( #2573 )
2023-10-11 16:24:50 +08:00
zyy17
fe02366ce6
fix: remove unused options and add 'build-android-artifacts' ( #2572 )
2023-10-11 15:32:58 +08:00
zyy17
d7aeb369a6
refactor: add new action 'release-cn-artifacts' ( #2554 )
...
* refactor: add new action 'release-cn-artifacts'
* refactor: refine naming: 'release-artifacts' -> 'publish-github-release'
Signed-off-by: zyy17 <zyylsxm@gmail.com >
---------
Signed-off-by: zyy17 <zyylsxm@gmail.com >
2023-10-11 03:42:04 +00:00
zyy17
9284bb7a2b
ci: seperate the job of building dev-builder images ( #2569 )
2023-10-11 11:09:53 +08:00
zyy17
c60b59adc8
chore: add the steps of building android binary ( #2567 )
2023-10-11 02:31:11 +00:00
Yingwen
0a394c73a2
chore: bump version to 0.4.0 ( #2563 )
2023-10-10 16:16:15 +08:00
Lei, HUANG
9b3470b049
feat: android image builder dockerfile ( #2541 )
...
* feat: android image builder dockerfile
* feat: add building android dev-builder to ci config file
* fix: add build arg
* feat: use makefile to build image and add strip command
2023-10-09 09:10:14 +00:00
JeremyHi
40781ec754
fix: test on windows ( #2462 )
...
* fix: test on windows
* fix: fix windows root
* fix: use relative path instead of root
* fix: remove incorrect replace
* fix: fix tests
---------
Co-authored-by: WenyXu <wenymedia@gmail.com >
2023-09-21 10:57:56 +00:00
zyy17
c7b490e1a0
ci: expand upload retry timeout ( #2461 )
2023-09-21 10:02:15 +00:00
zyy17
df0877111e
ci: make upload-to-s3 configurable(for now, it's false) ( #2456 )
2023-09-20 14:12:54 +00:00
Ruihang Xia
34d6288945
feat: bring back sqlness and integration tests ( #2448 )
...
* enable integration test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* disable sqlness region failover
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* enable sqlness in CI
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* sort unstable result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* set require_lease_before_startup to true
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix: fix inconsistent cache
* replace windows path chars
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* ignore some integration cases in windows
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* Revert "ignore some integration cases in windows"
This reverts commit 122478b7c1 .
* disable windows for now
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix: fix close region bug in RegionHeartbeatResponseHandler
* disable failover tests
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: WenyXu <wenymedia@gmail.com >
2023-09-20 09:17:30 +00:00
Ruihang Xia
718246ea1a
feat: implement heartbeat for region server ( #2279 )
...
* retrieve region stats from region server
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* implement heartbeat handler
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* start datanode with region server
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove comment
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* disable non-unit test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* implement heartbeat task
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-09-12 07:57:15 -05:00
zyy17
5fbc941023
ci: upload the latest artifacts to 'latest/' directory of S3 bucket in scheduled and formal release ( #2276 )
...
Signed-off-by: zyy17 <zyylsxm@gmail.com >
2023-08-29 09:00:45 +00:00
Yingwen
bb062003ef
ci: fallback to run_id to avoid cancelling other jobs ( #2186 )
...
ci: fallback to run id to avoid cancelling other jobs
2023-08-16 09:24:17 +00:00
Ruihang Xia
814c599029
ci: cancel in-progress actions on new commit ( #2182 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-08-16 04:21:14 +00:00
zyy17
32c3ac4fcf
refactor: improve the image building performance ( #2175 )
...
* refactor: use '--output type=local' in 'build-greptime-by-buildx' target to reduce unnecessary 'docker cp'"
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: improve the image building performance
* ci: release centos dev builder
* ci: use 'make build-by-dev-builder' to improve docker build performance
* refactor: add 'which' command in centos
* fix: add 'OUTPUT_DIR' to fix 'make docker-image-buildx' error
* fix: fix incorrect dockerfile path
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: remove configure-aws-credentials action and use env variables
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* ci: update slack notification prompt
* refactor: clean up the target directory before building artifacts of centos7
---------
Signed-off-by: zyy17 <zyylsxm@gmail.com >
2023-08-15 09:28:09 +00:00
LFC
2dcc67769e
fix: runs sqlness test on windows-latest-8-cores ( #2158 )
2023-08-11 17:34:58 +08:00
zyy17
c970c206d1
ci: add retry for uploading artifacts to s3 ( #2147 )
2023-08-10 12:59:04 +00:00
LFC
5c19913a91
build: on windows ( #2054 )
...
* build on windows
* rebase develop
* fix: resolve PR comments
2023-08-10 08:08:37 +00:00
zyy17
587a24e7fb
ci: add working dir and some minor changes of create-version.sh ( #2133 )
...
* ci: add context argument in build-greptime-binary action
* refactor: add 'working-dir' in upload-artifacts action and rename 'context' to 'working-dir'
* refactor: use timestamp as part of image tag when trigger manually
2023-08-10 04:46:43 +00:00
zyy17
2ac51c6348
fix: set the correct working dir before building the artifacts ( #2129 )
2023-08-09 14:34:29 +08:00
liyang
aa6452c86c
chore: rename dockerhub registry password ( #2127 )
2023-08-09 02:28:56 +00:00
zyy17
d44cd9c6f5
fix: add 'image-name' argument to correct the invalid image namespace(mix with image-name) ( #2126 )
2023-08-09 10:04:11 +08:00
zyy17
d927ab1ce5
ci: add 'upload-to-s3' option and disable it in dev build ( #2124 )
2023-08-08 11:22:24 +00:00
zyy17
815a6d2d61
fix: var compare error(yet another stupid mistake) ( #2122 )
2023-08-08 17:39:53 +08:00
zyy17
f1f8a1d3a9
ci: fix incorrect variable name ( #2121 )
2023-08-08 17:20:11 +08:00
zyy17
e7abd00fc0
ci: fix error import path ( #2120 )
2023-08-08 17:12:54 +08:00
zyy17
5e2fdec1b6
ci: add dev-build ( #2114 )
2023-08-08 07:58:59 +00:00
LFC
46fa3eb629
chore: upgrade rust toolchain to latest nightly ( #2049 )
...
* chore: upgrade rust toolchain to latest nightly
* rebase develop
* update rust toolchain in ci
2023-08-08 07:17:51 +00:00
zyy17
9139962070
fix: fix version output empty error: '$GITHUB_ENV' -> '$GITHUB_OUTPUT' ( #2104 )
2023-08-04 17:48:11 +08:00
zyy17
8bcad936d3
fix: wrong action url prompt ( #2099 )
...
fix: wrong action url
2023-08-04 07:39:02 +00:00
shuiyisong
7efff2d704
fix: introduce taplo.toml and sort Cargo.toml ( #2096 )
...
* fix: add taplo.toml
* fix: introduce taplo.toml & sort cargo.toml
* chore: remove option in ci too
2023-08-04 06:44:45 +00:00
Ning Sun
93cd4ab89d
ci: require cargo.lock up to date ( #2094 )
2023-08-04 02:59:01 +00:00