From b03e28fc603b92c6fceef1b43f57af07a0b99380 Mon Sep 17 00:00:00 2001 From: Emil Tullstedt Date: Mon, 7 Nov 2022 16:52:15 +0100 Subject: [PATCH] Chore: Upgrade Go to 1.19.3 (v9.2) (#58339) --- .drone.yml | 432 +++++++++++++++--------------- Dockerfile | 2 +- Dockerfile.ubuntu | 2 +- scripts/build/ci-build/Dockerfile | 2 +- scripts/drone/steps/lib.star | 4 +- 5 files changed, 221 insertions(+), 221 deletions(-) diff --git a/.drone.yml b/.drone.yml index f6d69531eea..0e4b3919210 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,7 +28,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - ./bin/build verify-drone @@ -80,14 +80,14 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - yarn betterer ci depends_on: - yarn-install failure: ignore - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -95,7 +95,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-frontend trigger: event: @@ -136,7 +136,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - yarn run prettier:check @@ -147,7 +147,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: lint-frontend trigger: event: @@ -192,7 +192,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -201,25 +201,25 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - go test -short -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend-integration trigger: event: @@ -266,12 +266,12 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - make gen-go depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - apt-get update && apt-get install make @@ -280,7 +280,7 @@ steps: - wire-install environment: CGO_ENABLED: "1" - image: golang:1.19.2 + image: golang:1.19.3 name: lint-backend trigger: event: @@ -332,7 +332,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -341,18 +341,18 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - failure: ignore image: grafana/drone-downstream @@ -372,7 +372,7 @@ steps: depends_on: - wire-install - compile-build-cmd - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -381,7 +381,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -390,7 +390,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition oss @@ -398,7 +398,7 @@ steps: - compile-build-cmd - yarn-install environment: null - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-plugins - commands: - . scripts/build/gpg-test-vars.sh && ./bin/build package --jobs 8 --edition oss @@ -409,7 +409,7 @@ steps: - build-frontend - build-frontend-packages environment: null - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: package - commands: - ./scripts/grafana-server/start-server @@ -422,7 +422,7 @@ steps: environment: ARCH: linux-amd64 PORT: 3001 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: grafana-server - commands: - apt-get install -y netcat @@ -500,7 +500,7 @@ steps: - build-frontend-packages environment: NODE_OPTIONS: --max_old_space_size=4096 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-storybook when: paths: @@ -511,7 +511,7 @@ steps: - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: copy-packages-for-docker - commands: - yarn wait-on http://$HOST:$PORT @@ -598,7 +598,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - echo $DRONE_RUNNER_NAME @@ -611,13 +611,13 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - apt-get update @@ -633,7 +633,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: postgres-integration-tests - commands: - apt-get update @@ -649,7 +649,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: mysql-integration-tests trigger: event: @@ -705,7 +705,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - |- @@ -717,7 +717,7 @@ steps: wan" > words_to_ignore.txt - codespell -I words_to_ignore.txt docs/ - rm words_to_ignore.txt - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: codespell - commands: - yarn run prettier:checkDocs @@ -725,7 +725,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: lint-docs - commands: - mkdir -p /hugo/content/docs/grafana @@ -767,13 +767,13 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - ./bin/build shellcheck depends_on: - compile-build-cmd - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: shellcheck trigger: event: @@ -818,7 +818,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - |- @@ -830,7 +830,7 @@ steps: wan" > words_to_ignore.txt - codespell -I words_to_ignore.txt docs/ - rm words_to_ignore.txt - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: codespell - commands: - yarn run prettier:checkDocs @@ -838,7 +838,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: lint-docs - commands: - mkdir -p /hugo/content/docs/grafana @@ -889,14 +889,14 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - yarn betterer ci depends_on: - yarn-install failure: ignore - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -904,7 +904,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-frontend trigger: branch: main @@ -942,7 +942,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - yarn run prettier:check @@ -953,7 +953,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: lint-frontend trigger: branch: main @@ -995,7 +995,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -1004,25 +1004,25 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - go test -short -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend-integration trigger: branch: main @@ -1062,12 +1062,12 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - make gen-go depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - apt-get update && apt-get install make @@ -1076,7 +1076,7 @@ steps: - wire-install environment: CGO_ENABLED: "1" - image: golang:1.19.2 + image: golang:1.19.3 name: lint-backend - commands: - ./bin/build verify-drone @@ -1128,7 +1128,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -1137,18 +1137,18 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" @@ -1169,7 +1169,7 @@ steps: from_secret: github_token TEST_TAG: v0.0.0-test failure: ignore - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: trigger-test-release when: paths: @@ -1183,7 +1183,7 @@ steps: depends_on: - wire-install - compile-build-cmd - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -1192,7 +1192,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -1201,7 +1201,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition oss @@ -1211,7 +1211,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-plugins - commands: - ./bin/build package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --sign @@ -1229,7 +1229,7 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: package - commands: - ./scripts/grafana-server/start-server @@ -1242,7 +1242,7 @@ steps: environment: ARCH: linux-amd64 PORT: 3001 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: grafana-server - commands: - apt-get install -y netcat @@ -1320,7 +1320,7 @@ steps: - build-frontend-packages environment: NODE_OPTIONS: --max_old_space_size=4096 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-storybook when: paths: @@ -1331,7 +1331,7 @@ steps: - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: copy-packages-for-docker - commands: - yarn wait-on http://$HOST:$PORT @@ -1375,7 +1375,7 @@ steps: GRAFANA_MISC_STATS_API_KEY: from_secret: grafana_misc_stats_api_key failure: ignore - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: publish-frontend-metrics when: repo: @@ -1458,7 +1458,7 @@ steps: environment: NPM_TOKEN: from_secret: npm_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: release-canary-npm-packages when: repo: @@ -1554,7 +1554,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - echo $DRONE_RUNNER_NAME @@ -1567,13 +1567,13 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - apt-get update @@ -1589,7 +1589,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: postgres-integration-tests - commands: - apt-get update @@ -1605,7 +1605,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: mysql-integration-tests trigger: branch: main @@ -1757,7 +1757,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - echo $DRONE_RUNNER_NAME @@ -1910,32 +1910,32 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - ./bin/build build-backend --jobs 8 --edition oss ${DRONE_TAG} depends_on: - wire-install - compile-build-cmd - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition oss ${DRONE_TAG} @@ -1944,7 +1944,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition oss ${DRONE_TAG} @@ -1953,7 +1953,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition oss @@ -1963,7 +1963,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-plugins - commands: - ./bin/build package --jobs 8 --edition oss --sign ${DRONE_TAG} @@ -1981,14 +1981,14 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: package - commands: - ls dist/*.tar.gz* - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition oss --shouldSave @@ -2027,7 +2027,7 @@ steps: environment: ARCH: linux-amd64 PORT: 3001 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: grafana-server - commands: - apt-get install -y netcat @@ -2105,7 +2105,7 @@ steps: - build-frontend-packages environment: NODE_OPTIONS: --max_old_space_size=4096 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-storybook when: paths: @@ -2165,7 +2165,7 @@ steps: from_secret: gcp_key PRERELEASE_BUCKET: from_secret: prerelease_bucket - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: store-npm-packages trigger: event: @@ -2215,14 +2215,14 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - yarn betterer ci depends_on: - yarn-install failure: ignore - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -2230,7 +2230,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-frontend trigger: event: @@ -2272,7 +2272,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -2281,25 +2281,25 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - go test -short -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend-integration trigger: event: @@ -2369,13 +2369,13 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - apt-get update @@ -2391,7 +2391,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: postgres-integration-tests - commands: - apt-get update @@ -2407,7 +2407,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: mysql-integration-tests trigger: event: @@ -2530,7 +2530,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -2546,7 +2546,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: init-enterprise - commands: - go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd @@ -2554,19 +2554,19 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - make gen-go depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -2576,14 +2576,14 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - ./bin/build build-backend --jobs 8 --edition enterprise ${DRONE_TAG} depends_on: - wire-install - compile-build-cmd - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition enterprise ${DRONE_TAG} @@ -2592,7 +2592,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition enterprise ${DRONE_TAG} @@ -2601,7 +2601,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition enterprise @@ -2611,14 +2611,14 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-plugins - commands: - ./bin/build build-backend --jobs 8 --edition enterprise2 ${DRONE_TAG} depends_on: - wire-install - compile-build-cmd - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-backend-enterprise2 - commands: - ./bin/build package --jobs 8 --edition enterprise --sign ${DRONE_TAG} @@ -2637,14 +2637,14 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: package - commands: - ls dist/*.tar.gz* - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition enterprise --shouldSave @@ -2684,7 +2684,7 @@ steps: ARCH: linux-amd64 PORT: 3001 RUNDIR: scripts/grafana-server/tmp-grafana-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: grafana-server - commands: - apt-get install -y netcat @@ -2793,7 +2793,7 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: package-enterprise2 - commands: - ./bin/grabpl upload-cdn --edition enterprise2 @@ -2815,7 +2815,7 @@ steps: from_secret: gcp_key PRERELEASE_BUCKET: from_secret: prerelease_bucket - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: store-npm-packages - commands: - ./bin/grabpl upload-packages --edition enterprise2 @@ -2870,7 +2870,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -2886,7 +2886,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -2902,7 +2902,7 @@ steps: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - yarn betterer ci @@ -2910,7 +2910,7 @@ steps: - init-enterprise - yarn-install failure: ignore - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -2919,7 +2919,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-frontend trigger: event: @@ -2959,7 +2959,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: clone-enterprise - commands: - mkdir -p bin @@ -2981,7 +2981,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -2993,7 +2993,7 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -3003,25 +3003,25 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - go test -short -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend-integration trigger: event: @@ -3061,7 +3061,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: clone-enterprise - commands: - mkdir -p bin @@ -3083,7 +3083,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -3095,7 +3095,7 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -3105,25 +3105,25 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - go test -tags=pro -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend-enterprise2 - commands: - go test -run Integration -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend-integration trigger: event: @@ -3199,7 +3199,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -3215,7 +3215,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: init-enterprise - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -3225,13 +3225,13 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - apt-get update @@ -3247,7 +3247,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: postgres-integration-tests - commands: - apt-get update @@ -3263,7 +3263,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: mysql-integration-tests - commands: - dockerize -wait tcp://redis:6379/0 -timeout 120s @@ -3272,7 +3272,7 @@ steps: - wire-install environment: REDIS_URL: redis://redis:6379/0 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: redis-integration-tests - commands: - dockerize -wait tcp://memcached:11211 -timeout 120s @@ -3281,7 +3281,7 @@ steps: - wire-install environment: MEMCACHED_HOSTS: memcached:11211 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: memcached-integration-tests trigger: event: @@ -3416,7 +3416,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition oss @@ -3504,7 +3504,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition enterprise @@ -3575,7 +3575,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition enterprise @@ -3729,7 +3729,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - ./bin/grabpl artifacts npm retrieve --tag v${TAG} @@ -3751,7 +3751,7 @@ steps: NPM_TOKEN: from_secret: npm_token failure: ignore - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: release-npm-packages trigger: event: @@ -3792,7 +3792,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - ./bin/build publish packages --edition oss --gcp-key /tmp/gcpkey.json ${DRONE_TAG} @@ -3905,7 +3905,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - ./bin/build publish packages --edition enterprise --gcp-key /tmp/gcpkey.json ${DRONE_TAG} @@ -4017,7 +4017,7 @@ steps: environment: GCP_KEY: from_secret: gcp_key - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: artifacts-page trigger: event: @@ -4062,32 +4062,32 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - ./bin/build build-backend --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} depends_on: - wire-install - compile-build-cmd - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -4096,7 +4096,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -4105,7 +4105,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition oss @@ -4115,7 +4115,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-plugins - commands: - ./bin/build package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --sign @@ -4133,14 +4133,14 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: package - commands: - ls dist/*.tar.gz* - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition oss --shouldSave @@ -4179,7 +4179,7 @@ steps: environment: ARCH: linux-amd64 PORT: 3001 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: grafana-server - commands: - apt-get install -y netcat @@ -4257,7 +4257,7 @@ steps: - build-frontend-packages environment: NODE_OPTIONS: --max_old_space_size=4096 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-storybook when: paths: @@ -4336,14 +4336,14 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - yarn betterer ci depends_on: - yarn-install failure: ignore - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -4351,7 +4351,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-frontend trigger: ref: @@ -4387,7 +4387,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -4396,25 +4396,25 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - go test -short -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend-integration trigger: ref: @@ -4478,13 +4478,13 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - apt-get update @@ -4500,7 +4500,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: postgres-integration-tests - commands: - apt-get update @@ -4516,7 +4516,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: mysql-integration-tests trigger: ref: @@ -4623,7 +4623,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -4638,7 +4638,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: init-enterprise - commands: - go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd @@ -4646,19 +4646,19 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - make gen-go depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -4668,14 +4668,14 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - ./bin/build build-backend --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} depends_on: - wire-install - compile-build-cmd - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} @@ -4684,7 +4684,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} @@ -4693,7 +4693,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition enterprise @@ -4703,7 +4703,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-plugins - commands: - ./bin/build build-backend --jobs 8 --edition enterprise2 --build-id ${DRONE_BUILD_NUMBER} @@ -4711,7 +4711,7 @@ steps: depends_on: - wire-install - compile-build-cmd - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: build-backend-enterprise2 - commands: - ./bin/build package --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} @@ -4731,14 +4731,14 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: package - commands: - ls dist/*.tar.gz* - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition enterprise --shouldSave @@ -4778,7 +4778,7 @@ steps: ARCH: linux-amd64 PORT: 3001 RUNDIR: scripts/grafana-server/tmp-grafana-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: grafana-server - commands: - apt-get install -y netcat @@ -4894,7 +4894,7 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: package-enterprise2 - commands: - ./bin/grabpl upload-cdn --edition enterprise2 @@ -4954,7 +4954,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -4969,7 +4969,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -4985,7 +4985,7 @@ steps: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: yarn-install - commands: - yarn betterer ci @@ -4993,7 +4993,7 @@ steps: - init-enterprise - yarn-install failure: ignore - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -5002,7 +5002,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-frontend trigger: ref: @@ -5036,7 +5036,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: clone-enterprise - commands: - mkdir -p bin @@ -5057,7 +5057,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -5069,7 +5069,7 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -5079,25 +5079,25 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - go test -short -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend-integration trigger: ref: @@ -5131,7 +5131,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: clone-enterprise - commands: - mkdir -p bin @@ -5152,7 +5152,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -5164,7 +5164,7 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.2 + image: golang:1.19.3 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -5174,25 +5174,25 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - go test -tags=pro -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend-enterprise2 - commands: - go test -run Integration -covermode=atomic -timeout=30m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: test-backend-integration trigger: ref: @@ -5262,7 +5262,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -5277,7 +5277,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: init-enterprise - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -5287,13 +5287,13 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: wire-install - commands: - apt-get update @@ -5309,7 +5309,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: postgres-integration-tests - commands: - apt-get update @@ -5325,7 +5325,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: mysql-integration-tests - commands: - dockerize -wait tcp://redis:6379/0 -timeout 120s @@ -5334,7 +5334,7 @@ steps: - wire-install environment: REDIS_URL: redis://redis:6379/0 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: redis-integration-tests - commands: - dockerize -wait tcp://memcached:11211 -timeout 120s @@ -5343,7 +5343,7 @@ steps: - wire-install environment: MEMCACHED_HOSTS: memcached:11211 - image: grafana/build-container:1.6.3 + image: grafana/build-container:1.6.4 name: memcached-integration-tests trigger: ref: @@ -5626,6 +5626,6 @@ kind: secret name: packages_secret_access_key --- kind: signature -hmac: 21d121bd16e4cdbbc8ecffb3bd322395f2daa2bf16ba2ce1b5a50938ad77ff92 +hmac: b07e2a342c25cd77d02ebaaa1dcf0bba4829096c9079658478ac3873c1571f5e ... diff --git a/Dockerfile b/Dockerfile index a782bfe315f..1032ba60ae7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ COPY emails emails ENV NODE_ENV production RUN yarn build -FROM golang:1.19.2-alpine3.15 as go-builder +FROM golang:1.19.3-alpine3.15 as go-builder RUN apk add --no-cache gcc g++ make diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index c66e4913296..077d97a0c99 100644 --- a/Dockerfile.ubuntu +++ b/Dockerfile.ubuntu @@ -21,7 +21,7 @@ COPY emails emails ENV NODE_ENV production RUN yarn build -FROM golang:1.19.2 AS go-builder +FROM golang:1.19.3 AS go-builder WORKDIR /src/grafana diff --git a/scripts/build/ci-build/Dockerfile b/scripts/build/ci-build/Dockerfile index 3c389d94360..89b48b10d48 100644 --- a/scripts/build/ci-build/Dockerfile +++ b/scripts/build/ci-build/Dockerfile @@ -102,7 +102,7 @@ RUN rm dockerize-linux-amd64-v${DOCKERIZE_VERSION}.tar.gz # Use old Debian (LTS into 2024) in order to ensure binary compatibility with older glibc's. FROM debian:buster-20220822 -ENV GOVERSION=1.19.2 \ +ENV GOVERSION=1.19.3 \ PATH=/usr/local/go/bin:$PATH \ GOPATH=/go \ NODEVERSION=16.14.0-1nodesource1 \ diff --git a/scripts/drone/steps/lib.star b/scripts/drone/steps/lib.star index 15655646128..8f91cc67702 100644 --- a/scripts/drone/steps/lib.star +++ b/scripts/drone/steps/lib.star @@ -1,14 +1,14 @@ load('scripts/drone/vault.star', 'from_secret', 'github_token', 'pull_secret', 'drone_token', 'prerelease_bucket') grabpl_version = 'v3.0.14' -build_image = 'grafana/build-container:1.6.3' +build_image = 'grafana/build-container:1.6.4' publish_image = 'grafana/grafana-ci-deploy:1.3.3' deploy_docker_image = 'us.gcr.io/kubernetes-dev/drone/plugins/deploy-image' alpine_image = 'alpine:3.15.6' curl_image = 'byrnedo/alpine-curl:0.1.8' windows_image = 'mcr.microsoft.com/windows:1809' wix_image = 'grafana/ci-wix:0.1.1' -go_image = 'golang:1.19.2' +go_image = 'golang:1.19.3' disable_tests = False trigger_oss = {