Commit 80f0066a by Arve Knudsen Committed by GitHub

CI: Upgrade build image (#27720)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
parent f2855693
...@@ -33,7 +33,7 @@ executors: ...@@ -33,7 +33,7 @@ executors:
- image: srclosson/grafana-plugin-ci-e2e:latest - image: srclosson/grafana-plugin-ci-e2e:latest
grafana-build: grafana-build:
docker: docker:
- image: grafana/build-container:1.2.26 - image: grafana/build-container:1.2.27
grafana-publish: grafana-publish:
docker: docker:
- image: grafana/grafana-ci-deploy:1.2.5 - image: grafana/grafana-ci-deploy:1.2.5
......
...@@ -14,7 +14,7 @@ steps: ...@@ -14,7 +14,7 @@ steps:
- echo $DRONE_RUNNER_NAME - echo $DRONE_RUNNER_NAME
- name: initialize - name: initialize
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- curl -fLO https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v$${GRABPL_VERSION}/grabpl - curl -fLO https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v$${GRABPL_VERSION}/grabpl
- chmod +x grabpl - chmod +x grabpl
...@@ -29,7 +29,7 @@ steps: ...@@ -29,7 +29,7 @@ steps:
GRABPL_VERSION: 0.5.9 GRABPL_VERSION: 0.5.9
- name: lint-backend - name: lint-backend
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- golangci-lint run --config scripts/go/configs/.golangci.toml ./pkg/... - golangci-lint run --config scripts/go/configs/.golangci.toml ./pkg/...
- revive -formatter stylish -config scripts/go/configs/revive.toml ./pkg/... - revive -formatter stylish -config scripts/go/configs/revive.toml ./pkg/...
...@@ -41,7 +41,7 @@ steps: ...@@ -41,7 +41,7 @@ steps:
- initialize - initialize
- name: codespell - name: codespell
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- "echo -e \"unknwon\nreferer\nerrorstring\neror\niam\" > words_to_ignore.txt" - "echo -e \"unknwon\nreferer\nerrorstring\neror\niam\" > words_to_ignore.txt"
- codespell -I words_to_ignore.txt docs/ - codespell -I words_to_ignore.txt docs/
...@@ -49,7 +49,7 @@ steps: ...@@ -49,7 +49,7 @@ steps:
- initialize - initialize
- name: shellcheck - name: shellcheck
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- curl -fLO http://storage.googleapis.com/grafana-downloads/ci-dependencies/shellcheck-v$${VERSION}.linux.x86_64.tar.xz - curl -fLO http://storage.googleapis.com/grafana-downloads/ci-dependencies/shellcheck-v$${VERSION}.linux.x86_64.tar.xz
- echo $$CHKSUM shellcheck-v$${VERSION}.linux.x86_64.tar.xz | sha512sum --check --strict --status - echo $$CHKSUM shellcheck-v$${VERSION}.linux.x86_64.tar.xz | sha512sum --check --strict --status
...@@ -64,7 +64,7 @@ steps: ...@@ -64,7 +64,7 @@ steps:
- initialize - initialize
- name: test-backend - name: test-backend
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- ./bin/grabpl test-backend - ./bin/grabpl test-backend
- ./bin/grabpl integration-tests - ./bin/grabpl integration-tests
...@@ -73,7 +73,7 @@ steps: ...@@ -73,7 +73,7 @@ steps:
- lint-backend - lint-backend
- name: test-frontend - name: test-frontend
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- yarn run ci:test-frontend - yarn run ci:test-frontend
environment: environment:
...@@ -82,7 +82,7 @@ steps: ...@@ -82,7 +82,7 @@ steps:
- initialize - initialize
- name: build-backend - name: build-backend
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER --variants linux-x64,linux-x64-musl,osx64,win64 --no-pull-enterprise - ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER --variants linux-x64,linux-x64-musl,osx64,win64 --no-pull-enterprise
depends_on: depends_on:
...@@ -91,7 +91,7 @@ steps: ...@@ -91,7 +91,7 @@ steps:
- test-backend - test-backend
- name: build-frontend - name: build-frontend
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise - ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise
depends_on: depends_on:
...@@ -99,7 +99,7 @@ steps: ...@@ -99,7 +99,7 @@ steps:
- test-frontend - test-frontend
- name: build-plugins - name: build-plugins
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- ./bin/grabpl build-plugins --jobs 8 --edition oss --no-install-deps - ./bin/grabpl build-plugins --jobs 8 --edition oss --no-install-deps
depends_on: depends_on:
...@@ -107,7 +107,7 @@ steps: ...@@ -107,7 +107,7 @@ steps:
- lint-backend - lint-backend
- name: package - name: package
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- . scripts/build/gpg-test-vars.sh && ./bin/grabpl package --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise --variants linux-x64,linux-x64-musl,osx64,win64 - . scripts/build/gpg-test-vars.sh && ./bin/grabpl package --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise --variants linux-x64,linux-x64-musl,osx64,win64
depends_on: depends_on:
...@@ -120,7 +120,7 @@ steps: ...@@ -120,7 +120,7 @@ steps:
- shellcheck - shellcheck
- name: end-to-end-tests-server - name: end-to-end-tests-server
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
detach: true detach: true
commands: commands:
- ./e2e/start-server - ./e2e/start-server
...@@ -138,7 +138,7 @@ steps: ...@@ -138,7 +138,7 @@ steps:
- end-to-end-tests-server - end-to-end-tests-server
- name: build-storybook - name: build-storybook
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- yarn storybook:build - yarn storybook:build
depends_on: depends_on:
...@@ -154,7 +154,7 @@ steps: ...@@ -154,7 +154,7 @@ steps:
- initialize - initialize
- name: copy-packages-for-docker - name: copy-packages-for-docker
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- cp dist/*.tar.gz packaging/docker/ - cp dist/*.tar.gz packaging/docker/
depends_on: depends_on:
...@@ -170,7 +170,7 @@ steps: ...@@ -170,7 +170,7 @@ steps:
- copy-packages-for-docker - copy-packages-for-docker
- name: postgres-integration-tests - name: postgres-integration-tests
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq postgresql-client - apt-get install -yq postgresql-client
...@@ -187,7 +187,7 @@ steps: ...@@ -187,7 +187,7 @@ steps:
- test-frontend - test-frontend
- name: mysql-integration-tests - name: mysql-integration-tests
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq default-mysql-client - apt-get install -yq default-mysql-client
...@@ -238,7 +238,7 @@ steps: ...@@ -238,7 +238,7 @@ steps:
- echo $DRONE_RUNNER_NAME - echo $DRONE_RUNNER_NAME
- name: initialize - name: initialize
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- curl -fLO https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v$${GRABPL_VERSION}/grabpl - curl -fLO https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v$${GRABPL_VERSION}/grabpl
- chmod +x grabpl - chmod +x grabpl
...@@ -253,7 +253,7 @@ steps: ...@@ -253,7 +253,7 @@ steps:
GRABPL_VERSION: 0.5.9 GRABPL_VERSION: 0.5.9
- name: lint-backend - name: lint-backend
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- golangci-lint run --config scripts/go/configs/.golangci.toml ./pkg/... - golangci-lint run --config scripts/go/configs/.golangci.toml ./pkg/...
- revive -formatter stylish -config scripts/go/configs/revive.toml ./pkg/... - revive -formatter stylish -config scripts/go/configs/revive.toml ./pkg/...
...@@ -265,7 +265,7 @@ steps: ...@@ -265,7 +265,7 @@ steps:
- initialize - initialize
- name: codespell - name: codespell
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- "echo -e \"unknwon\nreferer\nerrorstring\neror\niam\" > words_to_ignore.txt" - "echo -e \"unknwon\nreferer\nerrorstring\neror\niam\" > words_to_ignore.txt"
- codespell -I words_to_ignore.txt docs/ - codespell -I words_to_ignore.txt docs/
...@@ -273,7 +273,7 @@ steps: ...@@ -273,7 +273,7 @@ steps:
- initialize - initialize
- name: shellcheck - name: shellcheck
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- curl -fLO http://storage.googleapis.com/grafana-downloads/ci-dependencies/shellcheck-v$${VERSION}.linux.x86_64.tar.xz - curl -fLO http://storage.googleapis.com/grafana-downloads/ci-dependencies/shellcheck-v$${VERSION}.linux.x86_64.tar.xz
- echo $$CHKSUM shellcheck-v$${VERSION}.linux.x86_64.tar.xz | sha512sum --check --strict --status - echo $$CHKSUM shellcheck-v$${VERSION}.linux.x86_64.tar.xz | sha512sum --check --strict --status
...@@ -288,7 +288,7 @@ steps: ...@@ -288,7 +288,7 @@ steps:
- initialize - initialize
- name: test-backend - name: test-backend
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- ./bin/grabpl test-backend - ./bin/grabpl test-backend
- ./bin/grabpl integration-tests - ./bin/grabpl integration-tests
...@@ -297,7 +297,7 @@ steps: ...@@ -297,7 +297,7 @@ steps:
- lint-backend - lint-backend
- name: test-frontend - name: test-frontend
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- yarn run ci:test-frontend - yarn run ci:test-frontend
environment: environment:
...@@ -306,7 +306,7 @@ steps: ...@@ -306,7 +306,7 @@ steps:
- initialize - initialize
- name: frontend-metrics - name: frontend-metrics
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- ./scripts/ci-frontend-metrics.sh | ./bin/grabpl publish-metrics $${GRAFANA_MISC_STATS_API_KEY} - ./scripts/ci-frontend-metrics.sh | ./bin/grabpl publish-metrics $${GRAFANA_MISC_STATS_API_KEY}
environment: environment:
...@@ -316,7 +316,7 @@ steps: ...@@ -316,7 +316,7 @@ steps:
- initialize - initialize
- name: build-backend - name: build-backend
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise - ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise
depends_on: depends_on:
...@@ -325,7 +325,7 @@ steps: ...@@ -325,7 +325,7 @@ steps:
- test-backend - test-backend
- name: build-frontend - name: build-frontend
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise - ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise
depends_on: depends_on:
...@@ -333,7 +333,7 @@ steps: ...@@ -333,7 +333,7 @@ steps:
- test-frontend - test-frontend
- name: build-plugins - name: build-plugins
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- ./bin/grabpl build-plugins --jobs 8 --edition oss --no-install-deps - ./bin/grabpl build-plugins --jobs 8 --edition oss --no-install-deps
depends_on: depends_on:
...@@ -341,7 +341,7 @@ steps: ...@@ -341,7 +341,7 @@ steps:
- lint-backend - lint-backend
- name: package - name: package
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- . scripts/build/gpg-test-vars.sh && ./bin/grabpl package --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise - . scripts/build/gpg-test-vars.sh && ./bin/grabpl package --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise
depends_on: depends_on:
...@@ -354,7 +354,7 @@ steps: ...@@ -354,7 +354,7 @@ steps:
- shellcheck - shellcheck
- name: end-to-end-tests-server - name: end-to-end-tests-server
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
detach: true detach: true
commands: commands:
- ./e2e/start-server - ./e2e/start-server
...@@ -372,7 +372,7 @@ steps: ...@@ -372,7 +372,7 @@ steps:
- end-to-end-tests-server - end-to-end-tests-server
- name: build-storybook - name: build-storybook
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- yarn storybook:build - yarn storybook:build
depends_on: depends_on:
...@@ -400,7 +400,7 @@ steps: ...@@ -400,7 +400,7 @@ steps:
- initialize - initialize
- name: copy-packages-for-docker - name: copy-packages-for-docker
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- cp dist/*.tar.gz packaging/docker/ - cp dist/*.tar.gz packaging/docker/
depends_on: depends_on:
...@@ -424,7 +424,7 @@ steps: ...@@ -424,7 +424,7 @@ steps:
- copy-packages-for-docker - copy-packages-for-docker
- name: postgres-integration-tests - name: postgres-integration-tests
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq postgresql-client - apt-get install -yq postgresql-client
...@@ -441,7 +441,7 @@ steps: ...@@ -441,7 +441,7 @@ steps:
- test-frontend - test-frontend
- name: mysql-integration-tests - name: mysql-integration-tests
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq default-mysql-client - apt-get install -yq default-mysql-client
...@@ -457,7 +457,7 @@ steps: ...@@ -457,7 +457,7 @@ steps:
- test-frontend - test-frontend
- name: release-next-npm-packages - name: release-next-npm-packages
image: grafana/build-container:1.2.26 image: grafana/build-container:1.2.27
commands: commands:
- npx lerna bootstrap - npx lerna bootstrap
- echo "//registry.npmjs.org/:_authToken=$${NPM_TOKEN}" >> ~/.npmrc - echo "//registry.npmjs.org/:_authToken=$${NPM_TOKEN}" >> ~/.npmrc
......
build_image = 'grafana/build-container:1.2.26' build_image = 'grafana/build-container:1.2.27'
publish_image = 'grafana/grafana-ci-deploy:1.2.6' publish_image = 'grafana/grafana-ci-deploy:1.2.6'
grafana_docker_image = 'grafana/drone-grafana-docker:0.2.0' grafana_docker_image = 'grafana/drone-grafana-docker:0.2.0'
alpine_image = 'alpine:3.12' alpine_image = 'alpine:3.12'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment