diff --git a/.drone.yml b/.drone.yml index a447cbf75a4..fee5453f01c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -28,7 +28,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - ./bin/build verify-drone @@ -80,13 +80,13 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - yarn betterer ci depends_on: - yarn-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -94,7 +94,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-frontend trigger: event: @@ -135,7 +135,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - yarn run prettier:check @@ -146,7 +146,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: lint-frontend trigger: event: @@ -191,7 +191,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -200,7 +200,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -208,25 +208,25 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - go test -short -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-backend-integration trigger: event: @@ -273,12 +273,12 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - make gen-go depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - apt-get update && apt-get install make @@ -287,7 +287,7 @@ steps: - wire-install environment: CGO_ENABLED: "1" - image: golang:1.19.3 + image: golang:1.19.4 name: lint-backend trigger: event: @@ -339,7 +339,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -348,7 +348,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -356,18 +356,18 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" @@ -392,7 +392,7 @@ steps: from_secret: github_token_pr TEST_TAG: v0.0.0-test failure: ignore - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: trigger-test-release when: paths: @@ -419,7 +419,7 @@ steps: depends_on: - wire-install - compile-build-cmd - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -428,7 +428,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -437,7 +437,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition oss @@ -445,7 +445,7 @@ steps: - compile-build-cmd - yarn-install environment: null - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-plugins - commands: - . scripts/build/gpg-test-vars.sh && ./bin/build package --jobs 8 --edition oss @@ -456,7 +456,7 @@ steps: - build-frontend - build-frontend-packages environment: null - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: package - commands: - ./scripts/grafana-server/start-server @@ -469,7 +469,7 @@ steps: environment: ARCH: linux-amd64 PORT: 3001 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: grafana-server - commands: - apt-get install -y netcat @@ -572,7 +572,7 @@ steps: - build-frontend-packages environment: NODE_OPTIONS: --max_old_space_size=4096 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-storybook when: paths: @@ -583,7 +583,7 @@ steps: - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: copy-packages-for-docker - commands: - yarn wait-on http://$HOST:$PORT @@ -670,7 +670,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - echo $DRONE_RUNNER_NAME @@ -683,7 +683,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -691,13 +691,13 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - apt-get update @@ -713,7 +713,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: postgres-integration-tests - commands: - apt-get update @@ -729,7 +729,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: mysql-integration-tests trigger: event: @@ -785,7 +785,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - |- @@ -797,7 +797,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.4 + image: grafana/build-container:1.6.6 name: codespell - commands: - yarn run prettier:checkDocs @@ -805,7 +805,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: lint-docs - commands: - mkdir -p /hugo/content/docs/grafana @@ -847,13 +847,13 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - ./bin/build shellcheck depends_on: - compile-build-cmd - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: shellcheck trigger: event: @@ -898,7 +898,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - |- @@ -910,7 +910,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.4 + image: grafana/build-container:1.6.6 name: codespell - commands: - yarn run prettier:checkDocs @@ -918,7 +918,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: lint-docs - commands: - mkdir -p /hugo/content/docs/grafana @@ -969,13 +969,13 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - yarn betterer ci depends_on: - yarn-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -983,7 +983,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-frontend trigger: branch: main @@ -1021,7 +1021,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - yarn run prettier:check @@ -1032,7 +1032,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: lint-frontend trigger: branch: main @@ -1074,7 +1074,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -1083,7 +1083,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -1091,25 +1091,25 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - go test -short -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-backend-integration trigger: branch: main @@ -1149,12 +1149,12 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - make gen-go depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - apt-get update && apt-get install make @@ -1163,7 +1163,7 @@ steps: - wire-install environment: CGO_ENABLED: "1" - image: golang:1.19.3 + image: golang:1.19.4 name: lint-backend - commands: - ./bin/build verify-drone @@ -1215,7 +1215,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -1224,7 +1224,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -1232,25 +1232,25 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - 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.4 + image: grafana/build-container:1.6.6 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -1259,7 +1259,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -1268,7 +1268,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition oss @@ -1278,7 +1278,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-plugins - commands: - ./bin/build package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --sign @@ -1296,7 +1296,7 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: package - commands: - ./scripts/grafana-server/start-server @@ -1309,7 +1309,7 @@ steps: environment: ARCH: linux-amd64 PORT: 3001 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: grafana-server - commands: - apt-get install -y netcat @@ -1412,7 +1412,7 @@ steps: - build-frontend-packages environment: NODE_OPTIONS: --max_old_space_size=4096 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-storybook when: paths: @@ -1423,7 +1423,7 @@ steps: - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: copy-packages-for-docker - commands: - yarn wait-on http://$HOST:$PORT @@ -1467,7 +1467,7 @@ steps: GRAFANA_MISC_STATS_API_KEY: from_secret: grafana_misc_stats_api_key failure: ignore - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: publish-frontend-metrics when: repo: @@ -1548,7 +1548,7 @@ steps: environment: NPM_TOKEN: from_secret: npm_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: release-canary-npm-packages when: repo: @@ -1644,7 +1644,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - echo $DRONE_RUNNER_NAME @@ -1657,7 +1657,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -1665,13 +1665,13 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - apt-get update @@ -1687,7 +1687,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: postgres-integration-tests - commands: - apt-get update @@ -1703,7 +1703,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: mysql-integration-tests trigger: branch: main @@ -1937,32 +1937,32 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 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.3 + image: golang:1.19.4 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.4 + image: grafana/build-container:1.6.6 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition oss ${DRONE_TAG} @@ -1971,7 +1971,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition oss ${DRONE_TAG} @@ -1980,7 +1980,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition oss @@ -1990,7 +1990,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-plugins - commands: - ./bin/build package --jobs 8 --edition oss --sign ${DRONE_TAG} @@ -2008,14 +2008,14 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: package - commands: - ls dist/*.tar.gz* - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition oss --shouldSave @@ -2054,7 +2054,7 @@ steps: environment: ARCH: linux-amd64 PORT: 3001 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: grafana-server - commands: - apt-get install -y netcat @@ -2131,7 +2131,7 @@ steps: - build-frontend-packages environment: NODE_OPTIONS: --max_old_space_size=4096 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-storybook when: event: @@ -2189,7 +2189,7 @@ steps: from_secret: gcp_key PRERELEASE_BUCKET: from_secret: prerelease_bucket - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: store-npm-packages trigger: event: @@ -2236,13 +2236,13 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - yarn betterer ci depends_on: - yarn-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -2250,7 +2250,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-frontend trigger: event: @@ -2289,7 +2289,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -2298,7 +2298,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -2306,25 +2306,25 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - go test -short -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-backend-integration trigger: event: @@ -2391,7 +2391,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -2399,13 +2399,13 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - apt-get update @@ -2421,7 +2421,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: postgres-integration-tests - commands: - apt-get update @@ -2437,7 +2437,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: mysql-integration-tests trigger: event: @@ -2554,7 +2554,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -2570,7 +2570,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: init-enterprise - commands: - go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd @@ -2578,19 +2578,19 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - make gen-go depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -2600,7 +2600,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -2609,14 +2609,14 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - ./bin/build build-backend --jobs 8 --edition enterprise ${DRONE_TAG} depends_on: - wire-install - compile-build-cmd - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition enterprise ${DRONE_TAG} @@ -2625,7 +2625,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition enterprise ${DRONE_TAG} @@ -2634,7 +2634,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition enterprise @@ -2644,14 +2644,14 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 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.4 + image: grafana/build-container:1.6.6 name: build-backend-enterprise2 - commands: - ./bin/build package --jobs 8 --edition enterprise --sign ${DRONE_TAG} @@ -2670,14 +2670,14 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: package - commands: - ls dist/*.tar.gz* - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition enterprise --shouldSave @@ -2717,7 +2717,7 @@ steps: ARCH: linux-amd64 PORT: 3001 RUNDIR: scripts/grafana-server/tmp-grafana-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: grafana-server - commands: - apt-get install -y netcat @@ -2825,7 +2825,7 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: package-enterprise2 - commands: - ./bin/grabpl upload-cdn --edition enterprise2 @@ -2847,7 +2847,7 @@ steps: from_secret: gcp_key PRERELEASE_BUCKET: from_secret: prerelease_bucket - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: store-npm-packages - commands: - ./bin/grabpl upload-packages --edition enterprise2 @@ -2899,7 +2899,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -2915,7 +2915,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -2931,14 +2931,14 @@ steps: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - yarn betterer ci depends_on: - init-enterprise - yarn-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -2947,7 +2947,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-frontend trigger: event: @@ -2984,7 +2984,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: clone-enterprise - commands: - mkdir -p bin @@ -3006,7 +3006,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -3018,7 +3018,7 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -3028,7 +3028,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -3037,25 +3037,25 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - go test -short -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-backend-integration trigger: event: @@ -3128,7 +3128,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -3144,7 +3144,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: init-enterprise - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -3154,7 +3154,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -3163,13 +3163,13 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - apt-get update @@ -3185,7 +3185,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: postgres-integration-tests - commands: - apt-get update @@ -3201,7 +3201,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: mysql-integration-tests - commands: - dockerize -wait tcp://redis:6379/0 -timeout 120s @@ -3210,7 +3210,7 @@ steps: - wire-install environment: REDIS_URL: redis://redis:6379/0 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: redis-integration-tests - commands: - dockerize -wait tcp://memcached:11211 -timeout 120s @@ -3219,7 +3219,7 @@ steps: - wire-install environment: MEMCACHED_HOSTS: memcached:11211 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: memcached-integration-tests trigger: event: @@ -3348,7 +3348,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition oss @@ -3436,7 +3436,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition enterprise @@ -3507,7 +3507,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition enterprise @@ -3574,7 +3574,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition enterprise2 @@ -3635,7 +3635,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition enterprise2 @@ -3782,7 +3782,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - ./bin/grabpl artifacts npm retrieve --tag v${TAG} @@ -3804,7 +3804,7 @@ steps: NPM_TOKEN: from_secret: npm_token failure: ignore - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: release-npm-packages trigger: event: @@ -3845,7 +3845,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - depends_on: - grabpl @@ -3940,7 +3940,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - depends_on: - grabpl @@ -4034,7 +4034,7 @@ steps: environment: GCP_KEY: from_secret: gcp_key - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: artifacts-page trigger: event: @@ -4079,32 +4079,32 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 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.3 + image: golang:1.19.4 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.4 + image: grafana/build-container:1.6.6 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -4113,7 +4113,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -4122,7 +4122,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition oss @@ -4132,7 +4132,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-plugins - commands: - ./bin/build package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --sign @@ -4150,14 +4150,14 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: package - commands: - ls dist/*.tar.gz* - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition oss --shouldSave @@ -4196,7 +4196,7 @@ steps: environment: ARCH: linux-amd64 PORT: 3001 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: grafana-server - commands: - apt-get install -y netcat @@ -4273,7 +4273,7 @@ steps: - build-frontend-packages environment: NODE_OPTIONS: --max_old_space_size=4096 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-storybook when: paths: @@ -4352,13 +4352,13 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - yarn betterer ci depends_on: - yarn-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -4366,7 +4366,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-frontend trigger: ref: @@ -4402,7 +4402,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -4411,7 +4411,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -4419,25 +4419,25 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - go test -short -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-backend-integration trigger: ref: @@ -4501,7 +4501,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -4509,13 +4509,13 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - apt-get update @@ -4531,7 +4531,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: postgres-integration-tests - commands: - apt-get update @@ -4547,7 +4547,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: mysql-integration-tests trigger: ref: @@ -4654,7 +4654,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -4669,7 +4669,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: init-enterprise - commands: - go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd @@ -4677,19 +4677,19 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - make gen-go depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -4699,7 +4699,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -4708,14 +4708,14 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - 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.4 + image: grafana/build-container:1.6.6 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} @@ -4724,7 +4724,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} @@ -4733,7 +4733,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition enterprise @@ -4743,7 +4743,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-plugins - commands: - ./bin/build build-backend --jobs 8 --edition enterprise2 --build-id ${DRONE_BUILD_NUMBER} @@ -4751,7 +4751,7 @@ steps: depends_on: - wire-install - compile-build-cmd - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: build-backend-enterprise2 - commands: - ./bin/build package --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} @@ -4771,14 +4771,14 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: package - commands: - ls dist/*.tar.gz* - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition enterprise --shouldSave @@ -4818,7 +4818,7 @@ steps: ARCH: linux-amd64 PORT: 3001 RUNDIR: scripts/grafana-server/tmp-grafana-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: grafana-server - commands: - apt-get install -y netcat @@ -4933,7 +4933,7 @@ steps: from_secret: gpg_pub_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: package-enterprise2 - commands: - ./bin/grabpl upload-cdn --edition enterprise2 @@ -4993,7 +4993,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -5008,7 +5008,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -5024,14 +5024,14 @@ steps: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: yarn-install - commands: - yarn betterer ci depends_on: - init-enterprise - yarn-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -5040,7 +5040,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-frontend trigger: ref: @@ -5074,7 +5074,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: clone-enterprise - commands: - mkdir -p bin @@ -5095,7 +5095,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -5107,7 +5107,7 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -5117,7 +5117,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -5126,25 +5126,25 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - go test -short -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: test-backend-integration trigger: ref: @@ -5214,7 +5214,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -5229,7 +5229,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: init-enterprise - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -5239,7 +5239,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -5248,13 +5248,13 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - init-enterprise - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: wire-install - commands: - apt-get update @@ -5270,7 +5270,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: postgres-integration-tests - commands: - apt-get update @@ -5286,7 +5286,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: mysql-integration-tests - commands: - dockerize -wait tcp://redis:6379/0 -timeout 120s @@ -5295,7 +5295,7 @@ steps: - wire-install environment: REDIS_URL: redis://redis:6379/0 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: redis-integration-tests - commands: - dockerize -wait tcp://memcached:11211 -timeout 120s @@ -5304,7 +5304,7 @@ steps: - wire-install environment: MEMCACHED_HOSTS: memcached:11211 - image: grafana/build-container:1.6.4 + image: grafana/build-container:1.6.6 name: memcached-integration-tests trigger: ref: @@ -5533,7 +5533,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.3 + image: golang:1.19.4 name: compile-build-cmd - commands: - ./bin/build publish grafana-com --edition oss @@ -5636,6 +5636,6 @@ kind: secret name: packages_secret_access_key --- kind: signature -hmac: 084dec78e28944e2273112134abb20eca32c94fa3bcc97687a7a6646b44cb602 +hmac: c8ae1822af69edd544907ca4adcb5b3e47043b9e94faad91e96193c978cf5e8d ... diff --git a/Dockerfile b/Dockerfile index 1032ba60ae7..2c1a1a2478f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ COPY emails emails ENV NODE_ENV production RUN yarn build -FROM golang:1.19.3-alpine3.15 as go-builder +FROM golang:1.19.4-alpine3.15 as go-builder RUN apk add --no-cache gcc g++ make diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index 077d97a0c99..1178d549550 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.3 AS go-builder +FROM golang:1.19.4 AS go-builder WORKDIR /src/grafana diff --git a/scripts/build/ci-build/Dockerfile b/scripts/build/ci-build/Dockerfile index 89b48b10d48..a0c1e6f792c 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.3 \ +ENV GOVERSION=1.19.4 \ 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 c4de80bdfd6..757634535e1 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.16' -build_image = 'grafana/build-container:1.6.4' +build_image = 'grafana/build-container:1.6.6' 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.3' +go_image = 'golang:1.19.4' disable_tests = False trigger_oss = {