Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: update (#12292)
Danny Xue181624c9929
diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.ymlindex 34a75dd0a4..8efcdda82b 100644--- a/.github/workflows/backend-tests.yml+++ b/.github/workflows/backend-tests.yml@@ -21,7 +21,7 @@ jobs:- uses: actions/checkout@v4- uses: actions/setup-go@v5with:- go-version: 1.22.3+ go-version: 1.22.4cache: false- name: Verify go.mod is tidyrun: |diff --git a/.github/workflows/test_link.yml b/.github/workflows/test_link.ymlindex 1be58187d4..cefc5648fd 100644--- a/.github/workflows/test_link.yml+++ b/.github/workflows/test_link.yml@@ -16,7 +16,7 @@ jobs:- uses: actions/checkout@v4- uses: actions/setup-go@v5with:- go-version: 1.22.3+ go-version: 1.22.4cache: false- name: Validate linksrun: go test -timeout 600s -v ./scripts/... | tee test.log; exit ${PIPESTATUS[0]}diff --git a/README.md b/README.mdindex 34cf0ebc91..b09d00674d 100644--- a/README.md+++ b/README.md@@ -257,7 +257,7 @@ Below diagram describes a typical mapping between an engineering org and the cor### Prerequisites-- [Go](https://golang.org/doc/install) (1.22.3 or later)+- [Go](https://golang.org/doc/install) (1.22.4 or later)- [pnpm](https://pnpm.io/installation)- [Air](https://github.com/bytebase/air) (**our forked repo @87187cc with the proper signal handling**). This is for backend live reload.```bashdiff --git a/go.mod b/go.modindex 2c2573feb2..470b28db7e 100644--- a/go.mod+++ b/go.mod@@ -1,6 +1,6 @@module github.com/bytebase/bytebase-go 1.22.3+go 1.22.4require (cloud.google.com/go/bigquery v1.61.0diff --git a/scripts/Dockerfile b/scripts/Dockerfileindex aa878c1ed1..b06ed94474 100644--- a/scripts/Dockerfile+++ b/scripts/Dockerfile@@ -18,14 +18,14 @@ COPY . .RUN pnpm --dir frontend install --frozen-lockfileRUN pnpm --dir frontend release-docker-FROM golang:1.22.3 as backend+FROM golang:1.22.4 as backendADD go.mod go.sum /RUN go mod downloadARG TARGETARCHARG VERSION="development"ARG VERSION_SUFFIX=""-ARG GO_VERSION="1.22.3"+ARG GO_VERSION="1.22.4"ARG GIT_COMMIT="unknown"ARG BUILD_TIME="unknown"ARG BUILD_USER="unknown"diff --git a/scripts/Dockerfile.aws b/scripts/Dockerfile.awsindex a15309fed2..1eef2c4cb7 100644--- a/scripts/Dockerfile.aws+++ b/scripts/Dockerfile.aws@@ -19,13 +19,13 @@ COPY . .RUN pnpm --dir frontend install --frozen-lockfileRUN pnpm --dir frontend release-aws-FROM golang:1.22.3 as backend+FROM golang:1.22.4 as backendADD go.mod go.sum /RUN go mod downloadARG VERSION="development"ARG VERSION_SUFFIX=""-ARG GO_VERSION="1.22.3"+ARG GO_VERSION="1.22.4"ARG GIT_COMMIT="unknown"ARG BUILD_TIME="unknown"ARG BUILD_USER="unknown"diff --git a/scripts/Dockerfile.depot b/scripts/Dockerfile.depotindex 0da639409e..074346b816 100644--- a/scripts/Dockerfile.depot+++ b/scripts/Dockerfile.depot@@ -1,10 +1,10 @@-FROM golang:1.22.3 as backend+FROM golang:1.22.4 as backendADD go.mod go.sum /RUN go mod downloadARG VERSION="development"ARG VERSION_SUFFIX=""-ARG GO_VERSION="1.22.3"+ARG GO_VERSION="1.22.4"ARG GIT_COMMIT="unknown"ARG BUILD_TIME="unknown"ARG BUILD_USER="unknown"diff --git a/scripts/Dockerfile.render-demo b/scripts/Dockerfile.render-demoindex f07dec2ba9..c6c1b4a7a9 100644--- a/scripts/Dockerfile.render-demo+++ b/scripts/Dockerfile.render-demo@@ -16,11 +16,11 @@ COPY . .ENV BB_GIT_COMMIT_ID_FE="${RENDER_GIT_COMMIT}"RUN cd frontend && pnpm install --frozen-lockfile && pnpm release-docker-FROM golang:1.22.3 as backend+FROM golang:1.22.4 as backendADD go.mod go.sum /RUN go mod download-ARG GO_VERSION="1.22.3"+ARG GO_VERSION="1.22.4"# RENDER_GIT_COMMIT is a render.com provided env var during build.# https://render.com/docs/environment-variablesARG RENDER_GIT_COMMIT="unknown"diff --git a/scripts/build_bytebase.sh b/scripts/build_bytebase.shindex c36a581ac4..e2865dda6f 100755--- a/scripts/build_bytebase.sh+++ b/scripts/build_bytebase.sh@@ -14,9 +14,9 @@ OUTPUT_DIR=$(mkdir_output "$1")OUTPUT_BINARY=$OUTPUT_DIR/bytebaseGO_VERSION=`go version | { read _ _ v _; echo ${v#go}; }`-if [ "$(version ${GO_VERSION})" -lt "$(version 1.22.3)" ];+if [ "$(version ${GO_VERSION})" -lt "$(version 1.22.4)" ];then- echo "${RED}Precheck failed.${NC} Require go version >= 1.22.3. Current version ${GO_VERSION}."; exit 1;+ echo "${RED}Precheck failed.${NC} Require go version >= 1.22.4. Current version ${GO_VERSION}."; exit 1;fiNODE_VERSION=`node -v | { read v; echo ${v#v}; }`