mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-03 11:52:54 +00:00
* chore: only retry when retry-able in flow (#5987) * chore: only retry when retry-able * chore: revert dbg change * refactor: per review * fix: check for available frontend first * docs: more explain&longer timeout&feat: more retry at every level&try send select 1 * fix: use `sql` method for "SELECT 1" * fix: also put recover flows in spawned task and a dead loop * test: update transient error in flow rebuild test * chore: sleep after sqlness sleep * chore: add a warning * chore: wait even more time after reboot * fix: sanitize_connection_string (#6012) * fix: disable recursion limit in prost (#6010) Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * ci: fix the bugs of release-dev-builder-images and add update-dev-builder-image-tag (#6009) * fix: the dev-builder release job is not triggered by merged event * ci: add update-dev-builder-image-tag * fix: always create mito engine (#6018) * fix: force streaming mode for instant source table (#6031) * fix: force streaming mode for instant source table * tests: sqlness test&refactor: get table * refactor: per review * chore: bump version to 0.14.2 --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com> Co-authored-by: jeremyhi <jiachun_feng@proton.me> Co-authored-by: Ruihang Xia <waynestxia@gmail.com> Co-authored-by: zyy17 <zyylsxm@gmail.com> Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com>
38 lines
1013 B
Bash
Executable File
38 lines
1013 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DEV_BUILDER_IMAGE_TAG=$1
|
|
|
|
update_dev_builder_version() {
|
|
if [ -z "$DEV_BUILDER_IMAGE_TAG" ]; then
|
|
echo "Error: Should specify the dev-builder image tag"
|
|
exit 1
|
|
fi
|
|
|
|
# Configure Git configs.
|
|
git config --global user.email greptimedb-ci@greptime.com
|
|
git config --global user.name greptimedb-ci
|
|
|
|
# Checkout a new branch.
|
|
BRANCH_NAME="ci/update-dev-builder-$(date +%Y%m%d%H%M%S)"
|
|
git checkout -b $BRANCH_NAME
|
|
|
|
# Update the dev-builder image tag in the Makefile.
|
|
gsed -i "s/DEV_BUILDER_IMAGE_TAG ?=.*/DEV_BUILDER_IMAGE_TAG ?= ${DEV_BUILDER_IMAGE_TAG}/g" Makefile
|
|
|
|
# Commit the changes.
|
|
git add Makefile
|
|
git commit -m "ci: update dev-builder image tag"
|
|
git push origin $BRANCH_NAME
|
|
|
|
# Create a Pull Request.
|
|
gh pr create \
|
|
--title "ci: update dev-builder image tag" \
|
|
--body "This PR updates the dev-builder image tag" \
|
|
--base main \
|
|
--head $BRANCH_NAME \
|
|
--reviewer zyy17 \
|
|
--reviewer daviderli614
|
|
}
|
|
|
|
update_dev_builder_version
|