From 30ef59ec6cc5b75d7674460bc25483dd67c14c24 Mon Sep 17 00:00:00 2001 From: Dimitris Sotirakis Date: Tue, 21 Mar 2023 12:14:41 +0200 Subject: [PATCH] [v9.3.x] CI: Update `grabpl` to `3.0.30` (#65028) (#65090) CI: Update `grabpl` to `3.0.30` (#65028) Update grabpl (cherry picked from commit 4a80233bedf6e750f0ce43fa9fe1f6eb7ab9f6fa) # Conflicts: # .drone.yml # scripts/drone/steps/lib.star --- .drone.yml | 606 +++++++++++++++++------------------ scripts/drone/steps/lib.star | 6 +- 2 files changed, 306 insertions(+), 306 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1c605d3ce07..93d73cce7af 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,7 +21,7 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -30,7 +30,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - ./bin/build verify-drone @@ -77,7 +77,7 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -86,13 +86,13 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - ./bin/build verify-starlark . depends_on: - compile-build-cmd - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: lint-starlark trigger: event: @@ -132,20 +132,20 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - yarn betterer ci depends_on: - yarn-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: betterer-frontend - commands: - is_fork=$(curl "https://$GITHUB_TOKEN@api.github.com/repos/grafana/grafana/pulls/$DRONE_PULL_REQUEST" @@ -165,7 +165,7 @@ steps: GITHUB_TOKEN: from_secret: github_token failure: ignore - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - yarn run ci:test-frontend @@ -174,7 +174,7 @@ steps: - clone-enterprise environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-frontend trigger: event: @@ -228,7 +228,7 @@ steps: GITHUB_TOKEN: from_secret: github_token failure: ignore - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -237,7 +237,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - yarn run prettier:check @@ -249,7 +249,7 @@ steps: - clone-enterprise environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: lint-frontend trigger: event: @@ -303,7 +303,7 @@ steps: GITHUB_TOKEN: from_secret: github_token failure: ignore - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -314,7 +314,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -324,7 +324,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - clone-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -333,25 +333,25 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - clone-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-backend-integration trigger: event: @@ -400,7 +400,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - is_fork=$(curl "https://$GITHUB_TOKEN@api.github.com/repos/grafana/grafana/pulls/$DRONE_PULL_REQUEST" @@ -420,13 +420,13 @@ steps: GITHUB_TOKEN: from_secret: github_token failure: ignore - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - make gen-go depends_on: - clone-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - apt-get update && apt-get install make @@ -435,7 +435,7 @@ steps: - wire-install environment: CGO_ENABLED: "1" - image: golang:1.19.4 + image: golang:1.20.1 name: lint-backend trigger: event: @@ -481,7 +481,7 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -490,7 +490,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -499,7 +499,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -507,18 +507,18 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" @@ -541,7 +541,7 @@ steps: from_secret: github_token_pr TEST_TAG: v0.0.0-test failure: ignore - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: trigger-test-release when: paths: @@ -568,7 +568,7 @@ steps: depends_on: - wire-install - compile-build-cmd - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -577,7 +577,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -586,7 +586,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition oss @@ -594,7 +594,7 @@ steps: - compile-build-cmd - yarn-install environment: null - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-plugins - commands: - . scripts/build/gpg-test-vars.sh && ./bin/build package --jobs 8 --edition oss @@ -605,7 +605,7 @@ steps: - build-frontend - build-frontend-packages environment: null - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: package - commands: - ./scripts/grafana-server/start-server @@ -618,7 +618,7 @@ steps: environment: ARCH: linux-amd64 PORT: 3001 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: grafana-server - commands: - apt-get install -y netcat @@ -721,7 +721,7 @@ steps: - build-frontend-packages environment: NODE_OPTIONS: --max_old_space_size=4096 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-storybook when: paths: @@ -732,7 +732,7 @@ steps: - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: copy-packages-for-docker - commands: - yarn wait-on http://$HOST:$PORT @@ -828,11 +828,11 @@ steps: GITHUB_TOKEN: from_secret: github_token failure: ignore - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -841,7 +841,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - echo $DRONE_RUNNER_NAME @@ -855,7 +855,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - clone-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -864,13 +864,13 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - clone-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - apt-get update @@ -886,7 +886,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: postgres-integration-tests - commands: - apt-get update @@ -902,7 +902,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: mysql-integration-tests trigger: event: @@ -949,7 +949,7 @@ services: [] steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -960,7 +960,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - |- @@ -972,7 +972,7 @@ steps: wan" > words_to_ignore.txt - codespell -I words_to_ignore.txt docs/ - rm words_to_ignore.txt - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: codespell - commands: - yarn run prettier:checkDocs @@ -980,7 +980,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: lint-docs - commands: - mkdir -p /hugo/content/docs/grafana @@ -1024,13 +1024,13 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - ./bin/build shellcheck depends_on: - compile-build-cmd - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: shellcheck trigger: event: @@ -1066,7 +1066,7 @@ services: [] steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -1077,7 +1077,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - |- @@ -1089,7 +1089,7 @@ steps: wan" > words_to_ignore.txt - codespell -I words_to_ignore.txt docs/ - rm words_to_ignore.txt - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: codespell - commands: - yarn run prettier:checkDocs @@ -1097,7 +1097,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: lint-docs - commands: - mkdir -p /hugo/content/docs/grafana @@ -1143,20 +1143,20 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - yarn betterer ci depends_on: - yarn-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -1164,7 +1164,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-frontend trigger: branch: main @@ -1204,7 +1204,7 @@ steps: - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - yarn run prettier:check @@ -1215,7 +1215,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: lint-frontend trigger: branch: main @@ -1257,7 +1257,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -1266,7 +1266,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -1274,25 +1274,25 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-backend-integration trigger: branch: main @@ -1334,12 +1334,12 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - make gen-go depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - apt-get update && apt-get install make @@ -1348,7 +1348,7 @@ steps: - wire-install environment: CGO_ENABLED: "1" - image: golang:1.19.4 + image: golang:1.20.1 name: lint-backend - commands: - ./bin/build verify-drone @@ -1393,7 +1393,7 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -1402,7 +1402,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -1411,7 +1411,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -1419,25 +1419,25 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 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:v1.7.1 + image: grafana/build-container:1.7.2 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -1446,7 +1446,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -1455,7 +1455,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition oss @@ -1465,7 +1465,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-plugins - commands: - ./bin/build package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --sign @@ -1483,7 +1483,7 @@ steps: from_secret: packages_gpg_public_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: package - commands: - ./scripts/grafana-server/start-server @@ -1496,7 +1496,7 @@ steps: environment: ARCH: linux-amd64 PORT: 3001 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: grafana-server - commands: - apt-get install -y netcat @@ -1599,7 +1599,7 @@ steps: - build-frontend-packages environment: NODE_OPTIONS: --max_old_space_size=4096 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-storybook when: paths: @@ -1610,7 +1610,7 @@ steps: - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: copy-packages-for-docker - commands: - yarn wait-on http://$HOST:$PORT @@ -1654,7 +1654,7 @@ steps: GRAFANA_MISC_STATS_API_KEY: from_secret: grafana_misc_stats_api_key failure: ignore - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: publish-frontend-metrics when: repo: @@ -1735,7 +1735,7 @@ steps: environment: NPM_TOKEN: from_secret: npm_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: release-canary-npm-packages when: repo: @@ -1824,7 +1824,7 @@ services: steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -1833,7 +1833,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - echo $DRONE_RUNNER_NAME @@ -1846,7 +1846,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -1854,13 +1854,13 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - apt-get update @@ -1876,7 +1876,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: postgres-integration-tests - commands: - apt-get update @@ -1892,7 +1892,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: mysql-integration-tests trigger: branch: main @@ -1940,7 +1940,7 @@ steps: name: identify-runner - commands: - $$ProgressPreference = "SilentlyContinue" - - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/windows/grabpl.exe + - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/windows/grabpl.exe -OutFile grabpl.exe image: grafana/ci-wix:0.1.1 name: windows-init @@ -2119,7 +2119,7 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -2130,32 +2130,32 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 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.4 + image: golang:1.20.1 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:v1.7.1 + image: grafana/build-container:1.7.2 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition oss ${DRONE_TAG} @@ -2164,7 +2164,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition oss ${DRONE_TAG} @@ -2173,7 +2173,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition oss @@ -2183,7 +2183,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-plugins - commands: - ./bin/build package --jobs 8 --edition oss --sign ${DRONE_TAG} @@ -2201,14 +2201,14 @@ steps: from_secret: packages_gpg_public_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: package - commands: - ls dist/*.tar.gz* - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition oss --shouldSave @@ -2247,7 +2247,7 @@ steps: environment: ARCH: linux-amd64 PORT: 3001 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: grafana-server - commands: - apt-get install -y netcat @@ -2324,7 +2324,7 @@ steps: - build-frontend-packages environment: NODE_OPTIONS: --max_old_space_size=4096 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-storybook when: event: @@ -2383,7 +2383,7 @@ steps: from_secret: gcp_key PRERELEASE_BUCKET: from_secret: prerelease_bucket - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: store-npm-packages trigger: event: @@ -2425,20 +2425,20 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - yarn betterer ci depends_on: - yarn-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -2446,7 +2446,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-frontend trigger: event: @@ -2485,7 +2485,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -2494,7 +2494,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -2502,25 +2502,25 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-backend-integration trigger: event: @@ -2572,7 +2572,7 @@ services: steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -2587,7 +2587,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -2595,13 +2595,13 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - apt-get update @@ -2617,7 +2617,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: postgres-integration-tests - commands: - apt-get update @@ -2633,7 +2633,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: mysql-integration-tests trigger: event: @@ -2678,7 +2678,7 @@ steps: name: identify-runner - commands: - $$ProgressPreference = "SilentlyContinue" - - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/windows/grabpl.exe + - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/windows/grabpl.exe -OutFile grabpl.exe image: grafana/ci-wix:0.1.1 name: windows-init @@ -2735,7 +2735,7 @@ services: [] steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -2750,7 +2750,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -2766,7 +2766,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: init-enterprise - commands: - go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd @@ -2774,19 +2774,19 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - make gen-go depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -2796,7 +2796,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -2805,14 +2805,14 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 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:v1.7.1 + image: grafana/build-container:1.7.2 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition enterprise ${DRONE_TAG} @@ -2821,7 +2821,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition enterprise ${DRONE_TAG} @@ -2830,7 +2830,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition enterprise @@ -2840,7 +2840,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-plugins - commands: - ./bin/build package --jobs 8 --edition enterprise --sign ${DRONE_TAG} @@ -2858,14 +2858,14 @@ steps: from_secret: packages_gpg_public_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: package - commands: - ls dist/*.tar.gz* - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition enterprise --shouldSave @@ -2905,7 +2905,7 @@ steps: ARCH: linux-amd64 PORT: 3001 RUNDIR: scripts/grafana-server/tmp-grafana-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: grafana-server - commands: - apt-get install -y netcat @@ -3037,7 +3037,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -3053,7 +3053,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -3061,7 +3061,7 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -3069,14 +3069,14 @@ steps: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - yarn betterer ci depends_on: - init-enterprise - yarn-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -3085,7 +3085,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-frontend trigger: event: @@ -3122,11 +3122,11 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -3144,7 +3144,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -3156,7 +3156,7 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -3166,7 +3166,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -3175,25 +3175,25 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-backend-integration trigger: event: @@ -3251,7 +3251,7 @@ services: steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -3266,7 +3266,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -3282,7 +3282,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: init-enterprise - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -3292,7 +3292,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -3301,13 +3301,13 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - apt-get update @@ -3323,7 +3323,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: postgres-integration-tests - commands: - apt-get update @@ -3339,7 +3339,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: mysql-integration-tests - commands: - dockerize -wait tcp://redis:6379/0 -timeout 120s @@ -3350,7 +3350,7 @@ steps: - wire-install environment: REDIS_URL: redis://redis:6379/0 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: redis-integration-tests - commands: - dockerize -wait tcp://memcached:11211 -timeout 120s @@ -3361,7 +3361,7 @@ steps: - wire-install environment: MEMCACHED_HOSTS: memcached:11211 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: memcached-integration-tests trigger: event: @@ -3406,7 +3406,7 @@ steps: name: identify-runner - commands: - $$ProgressPreference = "SilentlyContinue" - - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/windows/grabpl.exe + - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/windows/grabpl.exe -OutFile grabpl.exe - git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git" - cd grafana-enterprise @@ -3483,7 +3483,7 @@ services: [] steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -3498,7 +3498,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -3514,7 +3514,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: init-enterprise - commands: - go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd @@ -3522,19 +3522,19 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - make gen-go depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -3544,7 +3544,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - ./bin/build build-frontend --jobs 8 --edition enterprise ${DRONE_TAG} @@ -3553,7 +3553,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition enterprise ${DRONE_TAG} @@ -3562,7 +3562,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition enterprise @@ -3572,14 +3572,14 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 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:v1.7.1 + image: grafana/build-container:1.7.2 name: build-backend-enterprise2 - commands: - ./bin/build package --jobs 8 --edition enterprise2 --sign ${DRONE_TAG} @@ -3597,7 +3597,7 @@ steps: from_secret: packages_gpg_public_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: package-enterprise2 - commands: - ./bin/build upload-cdn --edition enterprise2 @@ -3617,7 +3617,7 @@ steps: - cp dist/*.tar.gz* packaging/docker/ depends_on: - package-enterprise2 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition enterprise2 --shouldSave @@ -3733,7 +3733,7 @@ services: [] steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -3748,7 +3748,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -3764,7 +3764,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: init-enterprise - commands: - go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd @@ -3772,19 +3772,19 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - make gen-go depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -3794,7 +3794,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - ./bin/build build-frontend --jobs 8 --edition enterprise ${DRONE_TAG} @@ -3803,7 +3803,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition enterprise ${DRONE_TAG} @@ -3812,7 +3812,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition enterprise @@ -3822,14 +3822,14 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 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:v1.7.1 + image: grafana/build-container:1.7.2 name: build-backend-enterprise2 - commands: - ./bin/build package --jobs 8 --edition enterprise2 --sign ${DRONE_TAG} @@ -3847,7 +3847,7 @@ steps: from_secret: packages_gpg_public_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: package-enterprise2 - commands: - ./bin/build upload-cdn --edition enterprise2 @@ -3867,7 +3867,7 @@ steps: - cp dist/*.tar.gz* packaging/docker/ depends_on: - package-enterprise2 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition enterprise2 --shouldSave @@ -3984,7 +3984,7 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -3993,7 +3993,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition oss @@ -4080,7 +4080,7 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -4089,7 +4089,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition enterprise @@ -4159,7 +4159,7 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -4168,7 +4168,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition enterprise @@ -4237,7 +4237,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition enterprise2 @@ -4300,7 +4300,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition enterprise2 @@ -4364,7 +4364,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - ./bin/build artifacts docker fetch --edition enterprise @@ -4433,7 +4433,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - ./bin/build artifacts publish --security --tag $${DRONE_TAG} --src-bucket $${PRERELEASE_BUCKET} @@ -4484,7 +4484,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - ./bin/build artifacts publish --tag $${DRONE_TAG} --src-bucket $${PRERELEASE_BUCKET} @@ -4535,12 +4535,12 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - ./bin/build artifacts npm retrieve --tag ${DRONE_TAG} @@ -4564,7 +4564,7 @@ steps: NPM_TOKEN: from_secret: npm_token failure: ignore - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: release-npm-packages trigger: event: @@ -4598,7 +4598,7 @@ services: [] steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -4607,7 +4607,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - depends_on: - grabpl @@ -4695,7 +4695,7 @@ services: [] steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -4704,7 +4704,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - depends_on: - grabpl @@ -4789,7 +4789,7 @@ services: [] steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -4800,7 +4800,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -4816,7 +4816,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: init-enterprise - commands: - go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd @@ -4824,7 +4824,7 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - ./bin/build artifacts-page @@ -4833,7 +4833,7 @@ steps: environment: GCP_KEY: from_secret: gcp_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: artifacts-page trigger: event: @@ -4867,7 +4867,7 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -4878,32 +4878,32 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 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.4 + image: golang:1.20.1 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:v1.7.1 + image: grafana/build-container:1.7.2 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -4912,7 +4912,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} @@ -4921,7 +4921,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition oss @@ -4931,7 +4931,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-plugins - commands: - ./bin/build package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --sign @@ -4949,14 +4949,14 @@ steps: from_secret: packages_gpg_public_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: package - commands: - ls dist/*.tar.gz* - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition oss --shouldSave @@ -4995,7 +4995,7 @@ steps: environment: ARCH: linux-amd64 PORT: 3001 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: grafana-server - commands: - apt-get install -y netcat @@ -5072,7 +5072,7 @@ steps: - build-frontend-packages environment: NODE_OPTIONS: --max_old_space_size=4096 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-storybook when: paths: @@ -5146,20 +5146,20 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl - commands: - yarn install --immutable depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - yarn betterer ci depends_on: - yarn-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -5167,7 +5167,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-frontend trigger: ref: @@ -5203,7 +5203,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -5212,7 +5212,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -5220,25 +5220,25 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-backend-integration trigger: ref: @@ -5287,7 +5287,7 @@ services: steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -5302,7 +5302,7 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-cue depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -5310,13 +5310,13 @@ steps: in output.' - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: [] - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - apt-get update @@ -5332,7 +5332,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: postgres-integration-tests - commands: - apt-get update @@ -5348,7 +5348,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: mysql-integration-tests trigger: ref: @@ -5390,7 +5390,7 @@ steps: name: identify-runner - commands: - $$ProgressPreference = "SilentlyContinue" - - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/windows/grabpl.exe + - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/windows/grabpl.exe -OutFile grabpl.exe image: grafana/ci-wix:0.1.1 name: windows-init @@ -5440,7 +5440,7 @@ services: [] steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -5455,7 +5455,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -5470,7 +5470,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: init-enterprise - commands: - go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd @@ -5478,19 +5478,19 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - make gen-go depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -5500,7 +5500,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -5509,14 +5509,14 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 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:v1.7.1 + image: grafana/build-container:1.7.2 name: build-backend - commands: - ./bin/build build-frontend --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} @@ -5525,7 +5525,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} @@ -5534,7 +5534,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition enterprise @@ -5544,7 +5544,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-plugins - commands: - ./bin/build package --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} @@ -5563,14 +5563,14 @@ steps: from_secret: packages_gpg_public_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: package - commands: - ls dist/*.tar.gz* - cp dist/*.tar.gz* packaging/docker/ depends_on: - package - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition enterprise --shouldSave @@ -5610,7 +5610,7 @@ steps: ARCH: linux-amd64 PORT: 3001 RUNDIR: scripts/grafana-server/tmp-grafana-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: grafana-server - commands: - apt-get install -y netcat @@ -5745,7 +5745,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -5760,7 +5760,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -5768,7 +5768,7 @@ steps: name: identify-runner - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -5776,14 +5776,14 @@ steps: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - yarn betterer ci depends_on: - init-enterprise - yarn-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: betterer-frontend - commands: - yarn run ci:test-frontend @@ -5792,7 +5792,7 @@ steps: - yarn-install environment: TEST_MAX_WORKERS: 50% - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-frontend trigger: ref: @@ -5826,11 +5826,11 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -5847,7 +5847,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: init-enterprise - commands: - echo $DRONE_RUNNER_NAME @@ -5859,7 +5859,7 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -5869,7 +5869,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -5878,25 +5878,25 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - go test -tags requires_buildifer -short -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-backend - commands: - go test -run Integration -covermode=atomic -timeout=5m ./pkg/... depends_on: - wire-install - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: test-backend-integration trigger: ref: @@ -5951,7 +5951,7 @@ services: steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -5966,7 +5966,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -5981,7 +5981,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: init-enterprise - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -5991,7 +5991,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - '# It is required that generated jsonnet is committed and in sync with its inputs.' @@ -6000,13 +6000,13 @@ steps: - CODEGEN_VERIFY=1 make gen-jsonnet depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-jsonnet - commands: - make gen-go depends_on: - verify-gen-cue - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - apt-get update @@ -6022,7 +6022,7 @@ steps: GRAFANA_TEST_DB: postgres PGPASSWORD: grafanatest POSTGRES_HOST: postgres - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: postgres-integration-tests - commands: - apt-get update @@ -6038,7 +6038,7 @@ steps: environment: GRAFANA_TEST_DB: mysql MYSQL_HOST: mysql - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: mysql-integration-tests - commands: - dockerize -wait tcp://redis:6379/0 -timeout 120s @@ -6049,7 +6049,7 @@ steps: - wire-install environment: REDIS_URL: redis://redis:6379/0 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: redis-integration-tests - commands: - dockerize -wait tcp://memcached:11211 -timeout 120s @@ -6060,7 +6060,7 @@ steps: - wire-install environment: MEMCACHED_HOSTS: memcached:11211 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: memcached-integration-tests trigger: ref: @@ -6102,7 +6102,7 @@ steps: name: identify-runner - commands: - $$ProgressPreference = "SilentlyContinue" - - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/windows/grabpl.exe + - Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/windows/grabpl.exe -OutFile grabpl.exe - git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git" - cd grafana-enterprise @@ -6172,7 +6172,7 @@ services: [] steps: - commands: - mkdir -p bin - - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.21/grabpl + - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.30/grabpl - chmod +x bin/grabpl image: byrnedo/alpine-curl:0.1.8 name: grabpl @@ -6187,7 +6187,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: clone-enterprise - commands: - mv bin/grabpl /tmp/ @@ -6202,7 +6202,7 @@ steps: environment: GITHUB_TOKEN: from_secret: github_token - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: init-enterprise - commands: - go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd @@ -6210,19 +6210,19 @@ steps: - init-enterprise environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - make gen-go depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: wire-install - commands: - yarn install --immutable depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: yarn-install - commands: - '# It is required that code generated from Thema/CUE be committed and in sync @@ -6232,7 +6232,7 @@ steps: - CODEGEN_VERIFY=1 make gen-cue depends_on: - init-enterprise - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: verify-gen-cue - commands: - ./bin/build build-frontend --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} @@ -6241,7 +6241,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend - commands: - ./bin/build build-frontend-packages --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} @@ -6250,7 +6250,7 @@ steps: - yarn-install environment: NODE_OPTIONS: --max_old_space_size=8192 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-frontend-packages - commands: - ./bin/build build-plugins --jobs 8 --edition enterprise @@ -6260,7 +6260,7 @@ steps: environment: GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-plugins - commands: - ./bin/build build-backend --jobs 8 --edition enterprise2 --build-id ${DRONE_BUILD_NUMBER} @@ -6268,7 +6268,7 @@ steps: depends_on: - wire-install - compile-build-cmd - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: build-backend-enterprise2 - commands: - ./bin/build package --jobs 8 --edition enterprise2 --build-id ${DRONE_BUILD_NUMBER} @@ -6287,7 +6287,7 @@ steps: from_secret: packages_gpg_public_key GRAFANA_API_KEY: from_secret: grafana_api_key - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: package-enterprise2 - commands: - ./bin/build upload-cdn --edition enterprise2 @@ -6307,7 +6307,7 @@ steps: - cp dist/*.tar.gz* packaging/docker/ depends_on: - package-enterprise2 - image: grafana/build-container:v1.7.1 + image: grafana/build-container:1.7.2 name: copy-packages-for-docker - commands: - ./bin/build build-docker --edition enterprise2 --shouldSave @@ -6537,7 +6537,7 @@ steps: depends_on: [] environment: CGO_ENABLED: 0 - image: golang:1.19.4 + image: golang:1.20.1 name: compile-build-cmd - commands: - ./bin/build publish grafana-com --edition oss @@ -6688,6 +6688,6 @@ kind: secret name: enterprise2_security_prefix --- kind: signature -hmac: 0ed39d3a2175d7193560aa418783e86133e5bfcecfbfc469f40daf36bf4234ed +hmac: b57f8ed50d562ef6cb402ba4abe8b8d4a288586ab6fc97cfefd9baee863cfcf0 ... diff --git a/scripts/drone/steps/lib.star b/scripts/drone/steps/lib.star index cee25de8cb9..59498d5b82e 100644 --- a/scripts/drone/steps/lib.star +++ b/scripts/drone/steps/lib.star @@ -8,15 +8,15 @@ load( "prerelease_bucket", ) -grabpl_version = "v3.0.21" -build_image = "grafana/build-container:v1.7.1" +grabpl_version = "v3.0.30" +build_image = "grafana/build-container:1.7.2" 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.17.1" 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.4" +go_image = "golang:1.20.1" trigger_oss = { "repo": [