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: go 1.21.3 (#8735)
Danny Xua32b8a40c249
diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.ymlindex ff44cbca57..d3c010458f 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@v4with:- go-version: 1.21.2+ go-version: 1.21.3cache: false- name: Verify go.mod is tidyrun: |diff --git a/.github/workflows/build-artifacts-and-draft-release.yml b/.github/workflows/build-artifacts-and-draft-release.ymlindex ee4c5f567d..42ae747abb 100644--- a/.github/workflows/build-artifacts-and-draft-release.yml+++ b/.github/workflows/build-artifacts-and-draft-release.yml@@ -12,7 +12,7 @@ jobs:- uses: actions/checkout@v4- uses: actions/setup-go@v4with:- go-version: 1.21.2+ go-version: 1.21.3- uses: pnpm/[email protected]with:version: 8.8.0@@ -43,7 +43,7 @@ jobs:- uses: actions/checkout@v4- uses: actions/setup-go@v4with:- go-version: 1.21.2+ go-version: 1.21.3- name: Make directoriesrun: |mkdir -p ./bytebase-build/linuxdiff --git a/README.md b/README.mdindex 486b8f012a..1fc46987bc 100644--- a/README.md+++ b/README.md@@ -263,7 +263,7 @@ Below diagram describes a typical mapping between an engineering org and the cor### Prerequisites-- [Go](https://golang.org/doc/install) (1.21.2 or later)+- [Go](https://golang.org/doc/install) (1.21.3 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 229747e3fd..1c6f2a9255 100644--- a/go.mod+++ b/go.mod@@ -1,6 +1,6 @@module github.com/bytebase/bytebase-go 1.21.2+go 1.21.3require (cloud.google.com/go/spanner v1.49.0diff --git a/scripts/.goreleaser-for-darwin.yaml b/scripts/.goreleaser-for-darwin.yamlindex 94e4d9bac1..0d18249caa 100644--- a/scripts/.goreleaser-for-darwin.yaml+++ b/scripts/.goreleaser-for-darwin.yaml@@ -17,7 +17,7 @@ builds:- embed_frontendenv:- VERSION="development"- - GO_VERSION="1.21.2"+ - GO_VERSION="1.21.3"- CGO_ENABLED=1- GIT_COMMIT="unknown"- BUILD_TIME="unknown"@@ -41,7 +41,7 @@ builds:- releaseenv:- VERSION="development"- - GO_VERSION="1.21.2"+ - GO_VERSION="1.21.3"- CGO_ENABLED=1- GIT_COMMIT="unknown"- BUILD_TIME="unknown"diff --git a/scripts/.goreleaser-for-linux.yaml b/scripts/.goreleaser-for-linux.yamlindex af9d7eee8c..2ddc00bee3 100644--- a/scripts/.goreleaser-for-linux.yaml+++ b/scripts/.goreleaser-for-linux.yaml@@ -17,7 +17,7 @@ builds:- embed_frontendenv:- VERSION="development"- - GO_VERSION="1.21.2"+ - GO_VERSION="1.21.3"- CGO_ENABLED=1- GIT_COMMIT="unknown"- BUILD_TIME="unknown"@@ -46,7 +46,7 @@ builds:- releaseenv:- VERSION="development"- - GO_VERSION="1.21.2"+ - GO_VERSION="1.21.3"- CGO_ENABLED=1- GIT_COMMIT="unknown"- BUILD_TIME="unknown"diff --git a/scripts/Dockerfile b/scripts/Dockerfileindex 0ab9710eb3..a0087f2242 100644--- a/scripts/Dockerfile+++ b/scripts/Dockerfile@@ -26,13 +26,13 @@ COPY ./backend/enterprise/api/plan.yaml ./src/types/# Build frontendRUN pnpm "${RELEASE}-docker"-FROM golang:1.21.2 as backend+FROM golang:1.21.3 as backendADD go.mod go.sum /RUN go mod downloadARG VERSION="development"ARG VERSION_SUFFIX=""-ARG GO_VERSION="1.21.2"+ARG GO_VERSION="1.21.3"ARG GIT_COMMIT="unknown"ARG BUILD_TIME="unknown"ARG BUILD_USER="unknown"diff --git a/scripts/Dockerfile.bb b/scripts/Dockerfile.bbindex 4a09f5dcd2..65c5fc7524 100644--- a/scripts/Dockerfile.bb+++ b/scripts/Dockerfile.bb@@ -5,12 +5,12 @@# $ docker run --init --rm --name bb bytebase/bb-FROM golang:1.21.2 as bb+FROM golang:1.21.3 as bbADD go.mod go.sum /RUN go mod downloadARG VERSION="development"-ARG GO_VERSION="1.21.2"+ARG GO_VERSION="1.21.3"ARG GIT_COMMIT="unknown"ARG BUILD_TIME="unknown"ARG BUILD_USER="unknown"diff --git a/scripts/Dockerfile.depot b/scripts/Dockerfile.depotindex f131ec4e94..d1ec1fb215 100644--- a/scripts/Dockerfile.depot+++ b/scripts/Dockerfile.depot@@ -5,13 +5,13 @@# $ docker run --init --rm --name bytebase --publish 8080:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase-FROM golang:1.21.2 as backend+FROM golang:1.21.3 as backendADD go.mod go.sum /RUN go mod downloadARG VERSION="development"ARG VERSION_SUFFIX=""-ARG GO_VERSION="1.21.2"+ARG GO_VERSION="1.21.3"ARG GIT_COMMIT="unknown"ARG BUILD_TIME="unknown"ARG BUILD_USER="unknown"diff --git a/scripts/Dockerfile.render-demo b/scripts/Dockerfile.render-demoindex 081b8282fd..6d8068dcd5 100644--- a/scripts/Dockerfile.render-demo+++ b/scripts/Dockerfile.render-demo@@ -20,11 +20,11 @@ COPY ./backend/enterprise/api/plan.yaml ./src/types/# Build frontendRUN pnpm "${RELEASE}-docker"-FROM golang:1.21.2 as backend+FROM golang:1.21.3 as backendADD go.mod go.sum /RUN go mod download-ARG GO_VERSION="1.21.2"+ARG GO_VERSION="1.21.3"# 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/Dockerfile.sql-service b/scripts/Dockerfile.sql-serviceindex c93f6ee6d5..81cceb5efa 100644--- a/scripts/Dockerfile.sql-service+++ b/scripts/Dockerfile.sql-service@@ -5,12 +5,12 @@# $ docker run --init --rm --name sql-service --publish 8081:8081 bytebase/sql-FROM golang:1.21.2 as sql+FROM golang:1.21.3 as sqlADD go.mod go.sum /RUN go mod downloadARG VERSION="development"-ARG GO_VERSION="1.21.2"+ARG GO_VERSION="1.21.3"ARG GIT_COMMIT="unknown"ARG BUILD_TIME="unknown"ARG BUILD_USER="unknown"diff --git a/scripts/build_bytebase.sh b/scripts/build_bytebase.shindex 899491591c..7a7021205e 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.21.2)" ];+if [ "$(version ${GO_VERSION})" -lt "$(version 1.21.3)" ];then- echo "${RED}Precheck failed.${NC} Require go version >= 1.21.2. Current version ${GO_VERSION}."; exit 1;+ echo "${RED}Precheck failed.${NC} Require go version >= 1.21.3. Current version ${GO_VERSION}."; exit 1;fiNODE_VERSION=`node -v | { read v; echo ${v#v}; }`