Commit 87633c56 by Arve Knudsen Committed by GitHub

Chore: Upgrade Docker build image wrt. Go/golangci-lint/Node (#30077)

* ci-build: Upgrade base image, Go, Node, golangci-lint

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Drone: Upgrade build image

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Drone: Upgrade plugin build image

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
parent 7ff37bc6
...@@ -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.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mkdir -p bin - mkdir -p bin
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl
...@@ -28,7 +28,7 @@ steps: ...@@ -28,7 +28,7 @@ steps:
DOCKERIZE_VERSION: 0.6.1 DOCKERIZE_VERSION: 0.6.1
- name: lint-backend - name: lint-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl lint-backend --edition oss - ./bin/grabpl lint-backend --edition oss
environment: environment:
...@@ -37,7 +37,7 @@ steps: ...@@ -37,7 +37,7 @@ steps:
- initialize - initialize
- name: codespell - name: codespell
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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/
...@@ -45,21 +45,21 @@ steps: ...@@ -45,21 +45,21 @@ steps:
- initialize - initialize
- name: shellcheck - name: shellcheck
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl shellcheck - ./bin/grabpl shellcheck
depends_on: depends_on:
- initialize - initialize
- name: check-dashboard-schemas - name: check-dashboard-schemas
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- cue export --out openapi -o - ./dashboard-schemas/... - cue export --out openapi -o - ./dashboard-schemas/...
depends_on: depends_on:
- initialize - initialize
- name: test-backend - name: test-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1" - "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1"
- ./bin/grabpl test-backend --edition oss - ./bin/grabpl test-backend --edition oss
...@@ -69,7 +69,7 @@ steps: ...@@ -69,7 +69,7 @@ steps:
- lint-backend - lint-backend
- name: test-frontend - name: test-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn run ci:test-frontend - yarn run ci:test-frontend
environment: environment:
...@@ -78,7 +78,7 @@ steps: ...@@ -78,7 +78,7 @@ steps:
- initialize - initialize
- name: build-backend - name: build-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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:
...@@ -87,7 +87,7 @@ steps: ...@@ -87,7 +87,7 @@ steps:
- test-backend - test-backend
- name: build-frontend - name: build-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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:
...@@ -95,7 +95,7 @@ steps: ...@@ -95,7 +95,7 @@ steps:
- test-frontend - test-frontend
- name: build-plugins - name: build-plugins
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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:
...@@ -103,7 +103,7 @@ steps: ...@@ -103,7 +103,7 @@ steps:
- lint-backend - lint-backend
- name: gen-version - name: gen-version
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER} - ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER}
depends_on: depends_on:
...@@ -117,14 +117,14 @@ steps: ...@@ -117,14 +117,14 @@ steps:
- check-dashboard-schemas - check-dashboard-schemas
- name: package - name: package
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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:
- gen-version - gen-version
- name: end-to-end-tests-server - name: end-to-end-tests-server
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
detach: true detach: true
commands: commands:
- ./e2e/start-server - ./e2e/start-server
...@@ -144,7 +144,7 @@ steps: ...@@ -144,7 +144,7 @@ steps:
- end-to-end-tests-server - end-to-end-tests-server
- name: build-storybook - name: build-storybook
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn storybook:build - yarn storybook:build
- ./bin/grabpl verify-storybook - ./bin/grabpl verify-storybook
...@@ -154,7 +154,7 @@ steps: ...@@ -154,7 +154,7 @@ steps:
- package - package
- name: build-frontend-docs - name: build-frontend-docs
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./scripts/ci-reference-docs-lint.sh ci - ./scripts/ci-reference-docs-lint.sh ci
depends_on: depends_on:
...@@ -171,7 +171,7 @@ steps: ...@@ -171,7 +171,7 @@ steps:
- build-frontend-docs - build-frontend-docs
- name: copy-packages-for-docker - name: copy-packages-for-docker
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ls dist/*.tar.gz* - ls dist/*.tar.gz*
- cp dist/*.tar.gz* packaging/docker/ - cp dist/*.tar.gz* packaging/docker/
...@@ -188,7 +188,7 @@ steps: ...@@ -188,7 +188,7 @@ steps:
- copy-packages-for-docker - copy-packages-for-docker
- name: postgres-integration-tests - name: postgres-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq postgresql-client - apt-get install -yq postgresql-client
...@@ -205,7 +205,7 @@ steps: ...@@ -205,7 +205,7 @@ steps:
- test-frontend - test-frontend
- name: mysql-integration-tests - name: mysql-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq default-mysql-client - apt-get install -yq default-mysql-client
...@@ -256,7 +256,7 @@ steps: ...@@ -256,7 +256,7 @@ steps:
- echo $DRONE_RUNNER_NAME - echo $DRONE_RUNNER_NAME
- name: initialize - name: initialize
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mkdir -p bin - mkdir -p bin
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl
...@@ -282,7 +282,7 @@ steps: ...@@ -282,7 +282,7 @@ steps:
from_secret: drone_token from_secret: drone_token
- name: lint-backend - name: lint-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl lint-backend --edition oss - ./bin/grabpl lint-backend --edition oss
environment: environment:
...@@ -291,7 +291,7 @@ steps: ...@@ -291,7 +291,7 @@ steps:
- initialize - initialize
- name: codespell - name: codespell
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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/
...@@ -299,21 +299,21 @@ steps: ...@@ -299,21 +299,21 @@ steps:
- initialize - initialize
- name: shellcheck - name: shellcheck
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl shellcheck - ./bin/grabpl shellcheck
depends_on: depends_on:
- initialize - initialize
- name: check-dashboard-schemas - name: check-dashboard-schemas
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- cue export --out openapi -o - ./dashboard-schemas/... - cue export --out openapi -o - ./dashboard-schemas/...
depends_on: depends_on:
- initialize - initialize
- name: test-backend - name: test-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1" - "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1"
- ./bin/grabpl test-backend --edition oss - ./bin/grabpl test-backend --edition oss
...@@ -323,7 +323,7 @@ steps: ...@@ -323,7 +323,7 @@ steps:
- lint-backend - lint-backend
- name: test-frontend - name: test-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn run ci:test-frontend - yarn run ci:test-frontend
environment: environment:
...@@ -332,7 +332,7 @@ steps: ...@@ -332,7 +332,7 @@ steps:
- initialize - initialize
- name: publish-frontend-metrics - name: publish-frontend-metrics
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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:
...@@ -343,7 +343,7 @@ steps: ...@@ -343,7 +343,7 @@ steps:
- initialize - initialize
- name: build-backend - name: build-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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:
...@@ -352,7 +352,7 @@ steps: ...@@ -352,7 +352,7 @@ steps:
- test-backend - test-backend
- name: build-frontend - name: build-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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:
...@@ -360,7 +360,7 @@ steps: ...@@ -360,7 +360,7 @@ steps:
- test-frontend - test-frontend
- name: build-plugins - name: build-plugins
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-plugins --jobs 8 --edition oss --no-install-deps --sign --signing-admin - ./bin/grabpl build-plugins --jobs 8 --edition oss --no-install-deps --sign --signing-admin
environment: environment:
...@@ -371,7 +371,7 @@ steps: ...@@ -371,7 +371,7 @@ steps:
- lint-backend - lint-backend
- name: gen-version - name: gen-version
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER} - ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER}
depends_on: depends_on:
...@@ -385,7 +385,7 @@ steps: ...@@ -385,7 +385,7 @@ steps:
- check-dashboard-schemas - check-dashboard-schemas
- name: package - name: package
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise --sign - ./bin/grabpl package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise --sign
environment: environment:
...@@ -403,7 +403,7 @@ steps: ...@@ -403,7 +403,7 @@ steps:
- gen-version - gen-version
- name: end-to-end-tests-server - name: end-to-end-tests-server
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
detach: true detach: true
commands: commands:
- ./e2e/start-server - ./e2e/start-server
...@@ -423,7 +423,7 @@ steps: ...@@ -423,7 +423,7 @@ steps:
- end-to-end-tests-server - end-to-end-tests-server
- name: build-storybook - name: build-storybook
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn storybook:build - yarn storybook:build
- ./bin/grabpl verify-storybook - ./bin/grabpl verify-storybook
...@@ -446,14 +446,14 @@ steps: ...@@ -446,14 +446,14 @@ steps:
- end-to-end-tests - end-to-end-tests
- name: build-frontend-docs - name: build-frontend-docs
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./scripts/ci-reference-docs-lint.sh ci - ./scripts/ci-reference-docs-lint.sh ci
depends_on: depends_on:
- build-frontend - build-frontend
- name: copy-packages-for-docker - name: copy-packages-for-docker
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ls dist/*.tar.gz* - ls dist/*.tar.gz*
- cp dist/*.tar.gz* packaging/docker/ - cp dist/*.tar.gz* packaging/docker/
...@@ -484,7 +484,7 @@ steps: ...@@ -484,7 +484,7 @@ steps:
- copy-packages-for-docker - copy-packages-for-docker
- name: postgres-integration-tests - name: postgres-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq postgresql-client - apt-get install -yq postgresql-client
...@@ -501,7 +501,7 @@ steps: ...@@ -501,7 +501,7 @@ steps:
- test-frontend - test-frontend
- name: mysql-integration-tests - name: mysql-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq default-mysql-client - apt-get install -yq default-mysql-client
...@@ -517,7 +517,7 @@ steps: ...@@ -517,7 +517,7 @@ steps:
- test-frontend - test-frontend
- name: release-canary-npm-packages - name: release-canary-npm-packages
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./scripts/circle-release-canary-packages.sh - ./scripts/circle-release-canary-packages.sh
environment: environment:
...@@ -628,7 +628,7 @@ steps: ...@@ -628,7 +628,7 @@ steps:
- echo $DRONE_RUNNER_NAME - echo $DRONE_RUNNER_NAME
- name: initialize - name: initialize
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mkdir -p bin - mkdir -p bin
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl
...@@ -713,7 +713,7 @@ steps: ...@@ -713,7 +713,7 @@ steps:
- echo $DRONE_RUNNER_NAME - echo $DRONE_RUNNER_NAME
- name: initialize - name: initialize
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mkdir -p bin - mkdir -p bin
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl
...@@ -728,7 +728,7 @@ steps: ...@@ -728,7 +728,7 @@ steps:
DOCKERIZE_VERSION: 0.6.1 DOCKERIZE_VERSION: 0.6.1
- name: lint-backend - name: lint-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl lint-backend --edition oss - ./bin/grabpl lint-backend --edition oss
environment: environment:
...@@ -737,7 +737,7 @@ steps: ...@@ -737,7 +737,7 @@ steps:
- initialize - initialize
- name: codespell - name: codespell
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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/
...@@ -745,21 +745,21 @@ steps: ...@@ -745,21 +745,21 @@ steps:
- initialize - initialize
- name: shellcheck - name: shellcheck
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl shellcheck - ./bin/grabpl shellcheck
depends_on: depends_on:
- initialize - initialize
- name: check-dashboard-schemas - name: check-dashboard-schemas
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- cue export --out openapi -o - ./dashboard-schemas/... - cue export --out openapi -o - ./dashboard-schemas/...
depends_on: depends_on:
- initialize - initialize
- name: test-backend - name: test-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1" - "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1"
- ./bin/grabpl test-backend --edition oss - ./bin/grabpl test-backend --edition oss
...@@ -769,7 +769,7 @@ steps: ...@@ -769,7 +769,7 @@ steps:
- lint-backend - lint-backend
- name: test-frontend - name: test-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn run ci:test-frontend - yarn run ci:test-frontend
environment: environment:
...@@ -778,7 +778,7 @@ steps: ...@@ -778,7 +778,7 @@ steps:
- initialize - initialize
- name: build-backend - name: build-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-backend --jobs 8 --edition oss --github-token $${GITHUB_TOKEN} --no-pull-enterprise ${DRONE_TAG} - ./bin/grabpl build-backend --jobs 8 --edition oss --github-token $${GITHUB_TOKEN} --no-pull-enterprise ${DRONE_TAG}
environment: environment:
...@@ -790,7 +790,7 @@ steps: ...@@ -790,7 +790,7 @@ steps:
- test-backend - test-backend
- name: build-frontend - name: build-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-frontend --jobs 8 --github-token $${GITHUB_TOKEN} --no-install-deps --edition oss --no-pull-enterprise ${DRONE_TAG} - ./bin/grabpl build-frontend --jobs 8 --github-token $${GITHUB_TOKEN} --no-install-deps --edition oss --no-pull-enterprise ${DRONE_TAG}
depends_on: depends_on:
...@@ -798,7 +798,7 @@ steps: ...@@ -798,7 +798,7 @@ steps:
- test-frontend - test-frontend
- name: build-plugins - name: build-plugins
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-plugins --jobs 8 --edition oss --no-install-deps --sign --signing-admin - ./bin/grabpl build-plugins --jobs 8 --edition oss --no-install-deps --sign --signing-admin
environment: environment:
...@@ -809,7 +809,7 @@ steps: ...@@ -809,7 +809,7 @@ steps:
- lint-backend - lint-backend
- name: gen-version - name: gen-version
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl gen-version ${DRONE_TAG} - ./bin/grabpl gen-version ${DRONE_TAG}
depends_on: depends_on:
...@@ -823,7 +823,7 @@ steps: ...@@ -823,7 +823,7 @@ steps:
- check-dashboard-schemas - check-dashboard-schemas
- name: package - name: package
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl package --jobs 8 --edition oss --github-token $${GITHUB_TOKEN} --no-pull-enterprise --sign ${DRONE_TAG} - ./bin/grabpl package --jobs 8 --edition oss --github-token $${GITHUB_TOKEN} --no-pull-enterprise --sign ${DRONE_TAG}
environment: environment:
...@@ -841,7 +841,7 @@ steps: ...@@ -841,7 +841,7 @@ steps:
- gen-version - gen-version
- name: end-to-end-tests-server - name: end-to-end-tests-server
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
detach: true detach: true
commands: commands:
- ./e2e/start-server - ./e2e/start-server
...@@ -861,7 +861,7 @@ steps: ...@@ -861,7 +861,7 @@ steps:
- end-to-end-tests-server - end-to-end-tests-server
- name: build-storybook - name: build-storybook
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn storybook:build - yarn storybook:build
- ./bin/grabpl verify-storybook - ./bin/grabpl verify-storybook
...@@ -871,7 +871,7 @@ steps: ...@@ -871,7 +871,7 @@ steps:
- package - package
- name: copy-packages-for-docker - name: copy-packages-for-docker
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ls dist/*.tar.gz* - ls dist/*.tar.gz*
- cp dist/*.tar.gz* packaging/docker/ - cp dist/*.tar.gz* packaging/docker/
...@@ -902,7 +902,7 @@ steps: ...@@ -902,7 +902,7 @@ steps:
- copy-packages-for-docker - copy-packages-for-docker
- name: postgres-integration-tests - name: postgres-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq postgresql-client - apt-get install -yq postgresql-client
...@@ -919,7 +919,7 @@ steps: ...@@ -919,7 +919,7 @@ steps:
- test-frontend - test-frontend
- name: mysql-integration-tests - name: mysql-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq default-mysql-client - apt-get install -yq default-mysql-client
...@@ -962,7 +962,7 @@ steps: ...@@ -962,7 +962,7 @@ steps:
- end-to-end-tests - end-to-end-tests
- name: release-npm-packages - name: release-npm-packages
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./scripts/build/release-packages.sh ${DRONE_TAG} - ./scripts/build/release-packages.sh ${DRONE_TAG}
environment: environment:
...@@ -1059,7 +1059,7 @@ steps: ...@@ -1059,7 +1059,7 @@ steps:
- echo $DRONE_RUNNER_NAME - echo $DRONE_RUNNER_NAME
- name: clone - name: clone
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mkdir -p bin - mkdir -p bin
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl
...@@ -1072,7 +1072,7 @@ steps: ...@@ -1072,7 +1072,7 @@ steps:
from_secret: github_token from_secret: github_token
- name: initialize - name: initialize
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mv bin/grabpl /tmp/ - mv bin/grabpl /tmp/
- rmdir bin - rmdir bin
...@@ -1092,7 +1092,7 @@ steps: ...@@ -1092,7 +1092,7 @@ steps:
- clone - clone
- name: lint-backend - name: lint-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl lint-backend --edition enterprise - ./bin/grabpl lint-backend --edition enterprise
environment: environment:
...@@ -1101,7 +1101,7 @@ steps: ...@@ -1101,7 +1101,7 @@ steps:
- initialize - initialize
- name: codespell - name: codespell
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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/
...@@ -1109,21 +1109,21 @@ steps: ...@@ -1109,21 +1109,21 @@ steps:
- initialize - initialize
- name: shellcheck - name: shellcheck
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl shellcheck - ./bin/grabpl shellcheck
depends_on: depends_on:
- initialize - initialize
- name: check-dashboard-schemas - name: check-dashboard-schemas
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- cue export --out openapi -o - ./dashboard-schemas/... - cue export --out openapi -o - ./dashboard-schemas/...
depends_on: depends_on:
- initialize - initialize
- name: test-backend - name: test-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1" - "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1"
- ./bin/grabpl test-backend --edition enterprise - ./bin/grabpl test-backend --edition enterprise
...@@ -1133,7 +1133,7 @@ steps: ...@@ -1133,7 +1133,7 @@ steps:
- lint-backend - lint-backend
- name: test-frontend - name: test-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn run ci:test-frontend - yarn run ci:test-frontend
environment: environment:
...@@ -1142,7 +1142,7 @@ steps: ...@@ -1142,7 +1142,7 @@ steps:
- initialize - initialize
- name: build-backend - name: build-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-backend --jobs 8 --edition enterprise --github-token $${GITHUB_TOKEN} --no-pull-enterprise ${DRONE_TAG} - ./bin/grabpl build-backend --jobs 8 --edition enterprise --github-token $${GITHUB_TOKEN} --no-pull-enterprise ${DRONE_TAG}
environment: environment:
...@@ -1154,7 +1154,7 @@ steps: ...@@ -1154,7 +1154,7 @@ steps:
- test-backend - test-backend
- name: build-frontend - name: build-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-frontend --jobs 8 --github-token $${GITHUB_TOKEN} --no-install-deps --edition enterprise --no-pull-enterprise ${DRONE_TAG} - ./bin/grabpl build-frontend --jobs 8 --github-token $${GITHUB_TOKEN} --no-install-deps --edition enterprise --no-pull-enterprise ${DRONE_TAG}
depends_on: depends_on:
...@@ -1162,7 +1162,7 @@ steps: ...@@ -1162,7 +1162,7 @@ steps:
- test-frontend - test-frontend
- name: build-plugins - name: build-plugins
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-plugins --jobs 8 --edition enterprise --no-install-deps --sign --signing-admin - ./bin/grabpl build-plugins --jobs 8 --edition enterprise --no-install-deps --sign --signing-admin
environment: environment:
...@@ -1173,7 +1173,7 @@ steps: ...@@ -1173,7 +1173,7 @@ steps:
- lint-backend - lint-backend
- name: lint-backend-enterprise2 - name: lint-backend-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl lint-backend --edition enterprise2 - ./bin/grabpl lint-backend --edition enterprise2
environment: environment:
...@@ -1182,7 +1182,7 @@ steps: ...@@ -1182,7 +1182,7 @@ steps:
- initialize - initialize
- name: test-backend-enterprise2 - name: test-backend-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1" - "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1"
- ./bin/grabpl test-backend --edition enterprise2 - ./bin/grabpl test-backend --edition enterprise2
...@@ -1192,7 +1192,7 @@ steps: ...@@ -1192,7 +1192,7 @@ steps:
- lint-backend-enterprise2 - lint-backend-enterprise2
- name: build-backend-enterprise2 - name: build-backend-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-backend --jobs 8 --edition enterprise2 --github-token $${GITHUB_TOKEN} --no-pull-enterprise ${DRONE_TAG} - ./bin/grabpl build-backend --jobs 8 --edition enterprise2 --github-token $${GITHUB_TOKEN} --no-pull-enterprise ${DRONE_TAG}
environment: environment:
...@@ -1204,7 +1204,7 @@ steps: ...@@ -1204,7 +1204,7 @@ steps:
- test-backend-enterprise2 - test-backend-enterprise2
- name: gen-version - name: gen-version
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl gen-version ${DRONE_TAG} - ./bin/grabpl gen-version ${DRONE_TAG}
depends_on: depends_on:
...@@ -1220,7 +1220,7 @@ steps: ...@@ -1220,7 +1220,7 @@ steps:
- test-backend-enterprise2 - test-backend-enterprise2
- name: package - name: package
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl package --jobs 8 --edition enterprise --github-token $${GITHUB_TOKEN} --no-pull-enterprise --sign ${DRONE_TAG} - ./bin/grabpl package --jobs 8 --edition enterprise --github-token $${GITHUB_TOKEN} --no-pull-enterprise --sign ${DRONE_TAG}
environment: environment:
...@@ -1238,7 +1238,7 @@ steps: ...@@ -1238,7 +1238,7 @@ steps:
- gen-version - gen-version
- name: end-to-end-tests-server - name: end-to-end-tests-server
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
detach: true detach: true
commands: commands:
- ./e2e/start-server - ./e2e/start-server
...@@ -1260,7 +1260,7 @@ steps: ...@@ -1260,7 +1260,7 @@ steps:
- end-to-end-tests-server - end-to-end-tests-server
- name: copy-packages-for-docker - name: copy-packages-for-docker
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ls dist/*.tar.gz* - ls dist/*.tar.gz*
- cp dist/*.tar.gz* packaging/docker/ - cp dist/*.tar.gz* packaging/docker/
...@@ -1291,7 +1291,7 @@ steps: ...@@ -1291,7 +1291,7 @@ steps:
- copy-packages-for-docker - copy-packages-for-docker
- name: postgres-integration-tests - name: postgres-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq postgresql-client - apt-get install -yq postgresql-client
...@@ -1308,7 +1308,7 @@ steps: ...@@ -1308,7 +1308,7 @@ steps:
- test-frontend - test-frontend
- name: mysql-integration-tests - name: mysql-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq default-mysql-client - apt-get install -yq default-mysql-client
...@@ -1337,7 +1337,7 @@ steps: ...@@ -1337,7 +1337,7 @@ steps:
- postgres-integration-tests - postgres-integration-tests
- name: package-enterprise2 - name: package-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl package --jobs 8 --edition enterprise2 --github-token $${GITHUB_TOKEN} --no-pull-enterprise --sign ${DRONE_TAG} - ./bin/grabpl package --jobs 8 --edition enterprise2 --github-token $${GITHUB_TOKEN} --no-pull-enterprise --sign ${DRONE_TAG}
environment: environment:
...@@ -1355,7 +1355,7 @@ steps: ...@@ -1355,7 +1355,7 @@ steps:
- gen-version - gen-version
- name: end-to-end-tests-server-enterprise2 - name: end-to-end-tests-server-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
detach: true detach: true
commands: commands:
- ./e2e/start-server - ./e2e/start-server
...@@ -1495,7 +1495,7 @@ steps: ...@@ -1495,7 +1495,7 @@ steps:
- echo $DRONE_RUNNER_NAME - echo $DRONE_RUNNER_NAME
- name: initialize - name: initialize
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mkdir -p bin - mkdir -p bin
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl
...@@ -1600,7 +1600,7 @@ steps: ...@@ -1600,7 +1600,7 @@ steps:
- echo $DRONE_RUNNER_NAME - echo $DRONE_RUNNER_NAME
- name: initialize - name: initialize
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mkdir -p bin - mkdir -p bin
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl
...@@ -1615,7 +1615,7 @@ steps: ...@@ -1615,7 +1615,7 @@ steps:
DOCKERIZE_VERSION: 0.6.1 DOCKERIZE_VERSION: 0.6.1
- name: lint-backend - name: lint-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl lint-backend --edition oss - ./bin/grabpl lint-backend --edition oss
environment: environment:
...@@ -1624,7 +1624,7 @@ steps: ...@@ -1624,7 +1624,7 @@ steps:
- initialize - initialize
- name: codespell - name: codespell
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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/
...@@ -1632,21 +1632,21 @@ steps: ...@@ -1632,21 +1632,21 @@ steps:
- initialize - initialize
- name: shellcheck - name: shellcheck
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl shellcheck - ./bin/grabpl shellcheck
depends_on: depends_on:
- initialize - initialize
- name: check-dashboard-schemas - name: check-dashboard-schemas
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- cue export --out openapi -o - ./dashboard-schemas/... - cue export --out openapi -o - ./dashboard-schemas/...
depends_on: depends_on:
- initialize - initialize
- name: test-backend - name: test-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1" - "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1"
- ./bin/grabpl test-backend --edition oss - ./bin/grabpl test-backend --edition oss
...@@ -1656,7 +1656,7 @@ steps: ...@@ -1656,7 +1656,7 @@ steps:
- lint-backend - lint-backend
- name: test-frontend - name: test-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn run ci:test-frontend - yarn run ci:test-frontend
environment: environment:
...@@ -1665,7 +1665,7 @@ steps: ...@@ -1665,7 +1665,7 @@ steps:
- initialize - initialize
- name: build-backend - name: build-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-backend --jobs 8 --edition oss --github-token $${GITHUB_TOKEN} --no-pull-enterprise v7.3.0-test - ./bin/grabpl build-backend --jobs 8 --edition oss --github-token $${GITHUB_TOKEN} --no-pull-enterprise v7.3.0-test
environment: environment:
...@@ -1677,7 +1677,7 @@ steps: ...@@ -1677,7 +1677,7 @@ steps:
- test-backend - test-backend
- name: build-frontend - name: build-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-frontend --jobs 8 --github-token $${GITHUB_TOKEN} --no-install-deps --edition oss --no-pull-enterprise v7.3.0-test - ./bin/grabpl build-frontend --jobs 8 --github-token $${GITHUB_TOKEN} --no-install-deps --edition oss --no-pull-enterprise v7.3.0-test
depends_on: depends_on:
...@@ -1685,7 +1685,7 @@ steps: ...@@ -1685,7 +1685,7 @@ steps:
- test-frontend - test-frontend
- name: build-plugins - name: build-plugins
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-plugins --jobs 8 --edition oss --no-install-deps --sign --signing-admin - ./bin/grabpl build-plugins --jobs 8 --edition oss --no-install-deps --sign --signing-admin
environment: environment:
...@@ -1696,7 +1696,7 @@ steps: ...@@ -1696,7 +1696,7 @@ steps:
- lint-backend - lint-backend
- name: gen-version - name: gen-version
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl gen-version v7.3.0-test - ./bin/grabpl gen-version v7.3.0-test
depends_on: depends_on:
...@@ -1710,7 +1710,7 @@ steps: ...@@ -1710,7 +1710,7 @@ steps:
- check-dashboard-schemas - check-dashboard-schemas
- name: package - name: package
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl package --jobs 8 --edition oss --github-token $${GITHUB_TOKEN} --no-pull-enterprise --sign v7.3.0-test - ./bin/grabpl package --jobs 8 --edition oss --github-token $${GITHUB_TOKEN} --no-pull-enterprise --sign v7.3.0-test
environment: environment:
...@@ -1728,7 +1728,7 @@ steps: ...@@ -1728,7 +1728,7 @@ steps:
- gen-version - gen-version
- name: end-to-end-tests-server - name: end-to-end-tests-server
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
detach: true detach: true
commands: commands:
- ./e2e/start-server - ./e2e/start-server
...@@ -1748,7 +1748,7 @@ steps: ...@@ -1748,7 +1748,7 @@ steps:
- end-to-end-tests-server - end-to-end-tests-server
- name: build-storybook - name: build-storybook
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn storybook:build - yarn storybook:build
- ./bin/grabpl verify-storybook - ./bin/grabpl verify-storybook
...@@ -1758,7 +1758,7 @@ steps: ...@@ -1758,7 +1758,7 @@ steps:
- package - package
- name: copy-packages-for-docker - name: copy-packages-for-docker
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ls dist/*.tar.gz* - ls dist/*.tar.gz*
- cp dist/*.tar.gz* packaging/docker/ - cp dist/*.tar.gz* packaging/docker/
...@@ -1783,7 +1783,7 @@ steps: ...@@ -1783,7 +1783,7 @@ steps:
- copy-packages-for-docker - copy-packages-for-docker
- name: postgres-integration-tests - name: postgres-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq postgresql-client - apt-get install -yq postgresql-client
...@@ -1800,7 +1800,7 @@ steps: ...@@ -1800,7 +1800,7 @@ steps:
- test-frontend - test-frontend
- name: mysql-integration-tests - name: mysql-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq default-mysql-client - apt-get install -yq default-mysql-client
...@@ -1840,7 +1840,7 @@ steps: ...@@ -1840,7 +1840,7 @@ steps:
- end-to-end-tests - end-to-end-tests
- name: release-npm-packages - name: release-npm-packages
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
environment: environment:
NPM_TOKEN: NPM_TOKEN:
from_secret: npm_token from_secret: npm_token
...@@ -1935,7 +1935,7 @@ steps: ...@@ -1935,7 +1935,7 @@ steps:
- echo $DRONE_RUNNER_NAME - echo $DRONE_RUNNER_NAME
- name: clone - name: clone
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mkdir -p bin - mkdir -p bin
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl
...@@ -1948,7 +1948,7 @@ steps: ...@@ -1948,7 +1948,7 @@ steps:
from_secret: github_token from_secret: github_token
- name: initialize - name: initialize
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mv bin/grabpl /tmp/ - mv bin/grabpl /tmp/
- rmdir bin - rmdir bin
...@@ -1968,7 +1968,7 @@ steps: ...@@ -1968,7 +1968,7 @@ steps:
- clone - clone
- name: lint-backend - name: lint-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl lint-backend --edition enterprise - ./bin/grabpl lint-backend --edition enterprise
environment: environment:
...@@ -1977,7 +1977,7 @@ steps: ...@@ -1977,7 +1977,7 @@ steps:
- initialize - initialize
- name: codespell - name: codespell
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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/
...@@ -1985,21 +1985,21 @@ steps: ...@@ -1985,21 +1985,21 @@ steps:
- initialize - initialize
- name: shellcheck - name: shellcheck
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl shellcheck - ./bin/grabpl shellcheck
depends_on: depends_on:
- initialize - initialize
- name: check-dashboard-schemas - name: check-dashboard-schemas
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- cue export --out openapi -o - ./dashboard-schemas/... - cue export --out openapi -o - ./dashboard-schemas/...
depends_on: depends_on:
- initialize - initialize
- name: test-backend - name: test-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1" - "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1"
- ./bin/grabpl test-backend --edition enterprise - ./bin/grabpl test-backend --edition enterprise
...@@ -2009,7 +2009,7 @@ steps: ...@@ -2009,7 +2009,7 @@ steps:
- lint-backend - lint-backend
- name: test-frontend - name: test-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn run ci:test-frontend - yarn run ci:test-frontend
environment: environment:
...@@ -2018,7 +2018,7 @@ steps: ...@@ -2018,7 +2018,7 @@ steps:
- initialize - initialize
- name: build-backend - name: build-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-backend --jobs 8 --edition enterprise --github-token $${GITHUB_TOKEN} --no-pull-enterprise v7.3.0-test - ./bin/grabpl build-backend --jobs 8 --edition enterprise --github-token $${GITHUB_TOKEN} --no-pull-enterprise v7.3.0-test
environment: environment:
...@@ -2030,7 +2030,7 @@ steps: ...@@ -2030,7 +2030,7 @@ steps:
- test-backend - test-backend
- name: build-frontend - name: build-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-frontend --jobs 8 --github-token $${GITHUB_TOKEN} --no-install-deps --edition enterprise --no-pull-enterprise v7.3.0-test - ./bin/grabpl build-frontend --jobs 8 --github-token $${GITHUB_TOKEN} --no-install-deps --edition enterprise --no-pull-enterprise v7.3.0-test
depends_on: depends_on:
...@@ -2038,7 +2038,7 @@ steps: ...@@ -2038,7 +2038,7 @@ steps:
- test-frontend - test-frontend
- name: build-plugins - name: build-plugins
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-plugins --jobs 8 --edition enterprise --no-install-deps --sign --signing-admin - ./bin/grabpl build-plugins --jobs 8 --edition enterprise --no-install-deps --sign --signing-admin
environment: environment:
...@@ -2049,7 +2049,7 @@ steps: ...@@ -2049,7 +2049,7 @@ steps:
- lint-backend - lint-backend
- name: lint-backend-enterprise2 - name: lint-backend-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl lint-backend --edition enterprise2 - ./bin/grabpl lint-backend --edition enterprise2
environment: environment:
...@@ -2058,7 +2058,7 @@ steps: ...@@ -2058,7 +2058,7 @@ steps:
- initialize - initialize
- name: test-backend-enterprise2 - name: test-backend-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1" - "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1"
- ./bin/grabpl test-backend --edition enterprise2 - ./bin/grabpl test-backend --edition enterprise2
...@@ -2068,7 +2068,7 @@ steps: ...@@ -2068,7 +2068,7 @@ steps:
- lint-backend-enterprise2 - lint-backend-enterprise2
- name: build-backend-enterprise2 - name: build-backend-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-backend --jobs 8 --edition enterprise2 --github-token $${GITHUB_TOKEN} --no-pull-enterprise v7.3.0-test - ./bin/grabpl build-backend --jobs 8 --edition enterprise2 --github-token $${GITHUB_TOKEN} --no-pull-enterprise v7.3.0-test
environment: environment:
...@@ -2080,7 +2080,7 @@ steps: ...@@ -2080,7 +2080,7 @@ steps:
- test-backend-enterprise2 - test-backend-enterprise2
- name: gen-version - name: gen-version
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl gen-version v7.3.0-test - ./bin/grabpl gen-version v7.3.0-test
depends_on: depends_on:
...@@ -2096,7 +2096,7 @@ steps: ...@@ -2096,7 +2096,7 @@ steps:
- test-backend-enterprise2 - test-backend-enterprise2
- name: package - name: package
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl package --jobs 8 --edition enterprise --github-token $${GITHUB_TOKEN} --no-pull-enterprise --sign v7.3.0-test - ./bin/grabpl package --jobs 8 --edition enterprise --github-token $${GITHUB_TOKEN} --no-pull-enterprise --sign v7.3.0-test
environment: environment:
...@@ -2114,7 +2114,7 @@ steps: ...@@ -2114,7 +2114,7 @@ steps:
- gen-version - gen-version
- name: end-to-end-tests-server - name: end-to-end-tests-server
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
detach: true detach: true
commands: commands:
- ./e2e/start-server - ./e2e/start-server
...@@ -2136,7 +2136,7 @@ steps: ...@@ -2136,7 +2136,7 @@ steps:
- end-to-end-tests-server - end-to-end-tests-server
- name: copy-packages-for-docker - name: copy-packages-for-docker
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ls dist/*.tar.gz* - ls dist/*.tar.gz*
- cp dist/*.tar.gz* packaging/docker/ - cp dist/*.tar.gz* packaging/docker/
...@@ -2161,7 +2161,7 @@ steps: ...@@ -2161,7 +2161,7 @@ steps:
- copy-packages-for-docker - copy-packages-for-docker
- name: postgres-integration-tests - name: postgres-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq postgresql-client - apt-get install -yq postgresql-client
...@@ -2178,7 +2178,7 @@ steps: ...@@ -2178,7 +2178,7 @@ steps:
- test-frontend - test-frontend
- name: mysql-integration-tests - name: mysql-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq default-mysql-client - apt-get install -yq default-mysql-client
...@@ -2207,7 +2207,7 @@ steps: ...@@ -2207,7 +2207,7 @@ steps:
- postgres-integration-tests - postgres-integration-tests
- name: package-enterprise2 - name: package-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl package --jobs 8 --edition enterprise2 --github-token $${GITHUB_TOKEN} --no-pull-enterprise --sign v7.3.0-test - ./bin/grabpl package --jobs 8 --edition enterprise2 --github-token $${GITHUB_TOKEN} --no-pull-enterprise --sign v7.3.0-test
environment: environment:
...@@ -2225,7 +2225,7 @@ steps: ...@@ -2225,7 +2225,7 @@ steps:
- gen-version - gen-version
- name: end-to-end-tests-server-enterprise2 - name: end-to-end-tests-server-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
detach: true detach: true
commands: commands:
- ./e2e/start-server - ./e2e/start-server
...@@ -2365,7 +2365,7 @@ steps: ...@@ -2365,7 +2365,7 @@ steps:
- echo $DRONE_RUNNER_NAME - echo $DRONE_RUNNER_NAME
- name: initialize - name: initialize
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mkdir -p bin - mkdir -p bin
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl
...@@ -2470,7 +2470,7 @@ steps: ...@@ -2470,7 +2470,7 @@ steps:
- echo $DRONE_RUNNER_NAME - echo $DRONE_RUNNER_NAME
- name: initialize - name: initialize
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mkdir -p bin - mkdir -p bin
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl
...@@ -2484,7 +2484,7 @@ steps: ...@@ -2484,7 +2484,7 @@ steps:
DOCKERIZE_VERSION: 0.6.1 DOCKERIZE_VERSION: 0.6.1
- name: lint-backend - name: lint-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl lint-backend --edition oss - ./bin/grabpl lint-backend --edition oss
environment: environment:
...@@ -2493,7 +2493,7 @@ steps: ...@@ -2493,7 +2493,7 @@ steps:
- initialize - initialize
- name: codespell - name: codespell
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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/
...@@ -2501,21 +2501,21 @@ steps: ...@@ -2501,21 +2501,21 @@ steps:
- initialize - initialize
- name: shellcheck - name: shellcheck
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl shellcheck - ./bin/grabpl shellcheck
depends_on: depends_on:
- initialize - initialize
- name: check-dashboard-schemas - name: check-dashboard-schemas
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- cue export --out openapi -o - ./dashboard-schemas/... - cue export --out openapi -o - ./dashboard-schemas/...
depends_on: depends_on:
- initialize - initialize
- name: test-backend - name: test-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1" - "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1"
- ./bin/grabpl test-backend --edition oss - ./bin/grabpl test-backend --edition oss
...@@ -2525,7 +2525,7 @@ steps: ...@@ -2525,7 +2525,7 @@ steps:
- lint-backend - lint-backend
- name: test-frontend - name: test-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn run ci:test-frontend - yarn run ci:test-frontend
environment: environment:
...@@ -2534,7 +2534,7 @@ steps: ...@@ -2534,7 +2534,7 @@ steps:
- initialize - initialize
- name: build-backend - name: build-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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:
...@@ -2543,7 +2543,7 @@ steps: ...@@ -2543,7 +2543,7 @@ steps:
- test-backend - test-backend
- name: build-frontend - name: build-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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:
...@@ -2551,7 +2551,7 @@ steps: ...@@ -2551,7 +2551,7 @@ steps:
- test-frontend - test-frontend
- name: build-plugins - name: build-plugins
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-plugins --jobs 8 --edition oss --no-install-deps --sign --signing-admin - ./bin/grabpl build-plugins --jobs 8 --edition oss --no-install-deps --sign --signing-admin
environment: environment:
...@@ -2562,7 +2562,7 @@ steps: ...@@ -2562,7 +2562,7 @@ steps:
- lint-backend - lint-backend
- name: gen-version - name: gen-version
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER} - ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER}
depends_on: depends_on:
...@@ -2576,7 +2576,7 @@ steps: ...@@ -2576,7 +2576,7 @@ steps:
- check-dashboard-schemas - check-dashboard-schemas
- name: package - name: package
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise --sign - ./bin/grabpl package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise --sign
environment: environment:
...@@ -2594,7 +2594,7 @@ steps: ...@@ -2594,7 +2594,7 @@ steps:
- gen-version - gen-version
- name: end-to-end-tests-server - name: end-to-end-tests-server
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
detach: true detach: true
commands: commands:
- ./e2e/start-server - ./e2e/start-server
...@@ -2614,7 +2614,7 @@ steps: ...@@ -2614,7 +2614,7 @@ steps:
- end-to-end-tests-server - end-to-end-tests-server
- name: build-storybook - name: build-storybook
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn storybook:build - yarn storybook:build
- ./bin/grabpl verify-storybook - ./bin/grabpl verify-storybook
...@@ -2624,7 +2624,7 @@ steps: ...@@ -2624,7 +2624,7 @@ steps:
- package - package
- name: copy-packages-for-docker - name: copy-packages-for-docker
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ls dist/*.tar.gz* - ls dist/*.tar.gz*
- cp dist/*.tar.gz* packaging/docker/ - cp dist/*.tar.gz* packaging/docker/
...@@ -2649,7 +2649,7 @@ steps: ...@@ -2649,7 +2649,7 @@ steps:
- copy-packages-for-docker - copy-packages-for-docker
- name: postgres-integration-tests - name: postgres-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq postgresql-client - apt-get install -yq postgresql-client
...@@ -2666,7 +2666,7 @@ steps: ...@@ -2666,7 +2666,7 @@ steps:
- test-frontend - test-frontend
- name: mysql-integration-tests - name: mysql-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq default-mysql-client - apt-get install -yq default-mysql-client
...@@ -2778,7 +2778,7 @@ steps: ...@@ -2778,7 +2778,7 @@ steps:
- echo $DRONE_RUNNER_NAME - echo $DRONE_RUNNER_NAME
- name: clone - name: clone
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mkdir -p bin - mkdir -p bin
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.31/grabpl
...@@ -2791,7 +2791,7 @@ steps: ...@@ -2791,7 +2791,7 @@ steps:
from_secret: github_token from_secret: github_token
- name: initialize - name: initialize
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- mv bin/grabpl /tmp/ - mv bin/grabpl /tmp/
- rmdir bin - rmdir bin
...@@ -2810,7 +2810,7 @@ steps: ...@@ -2810,7 +2810,7 @@ steps:
- clone - clone
- name: lint-backend - name: lint-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl lint-backend --edition enterprise - ./bin/grabpl lint-backend --edition enterprise
environment: environment:
...@@ -2819,7 +2819,7 @@ steps: ...@@ -2819,7 +2819,7 @@ steps:
- initialize - initialize
- name: codespell - name: codespell
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
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/
...@@ -2827,21 +2827,21 @@ steps: ...@@ -2827,21 +2827,21 @@ steps:
- initialize - initialize
- name: shellcheck - name: shellcheck
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl shellcheck - ./bin/grabpl shellcheck
depends_on: depends_on:
- initialize - initialize
- name: check-dashboard-schemas - name: check-dashboard-schemas
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- cue export --out openapi -o - ./dashboard-schemas/... - cue export --out openapi -o - ./dashboard-schemas/...
depends_on: depends_on:
- initialize - initialize
- name: test-backend - name: test-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1" - "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1"
- ./bin/grabpl test-backend --edition enterprise - ./bin/grabpl test-backend --edition enterprise
...@@ -2851,7 +2851,7 @@ steps: ...@@ -2851,7 +2851,7 @@ steps:
- lint-backend - lint-backend
- name: test-frontend - name: test-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn run ci:test-frontend - yarn run ci:test-frontend
environment: environment:
...@@ -2860,7 +2860,7 @@ steps: ...@@ -2860,7 +2860,7 @@ steps:
- initialize - initialize
- name: build-backend - name: build-backend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-backend --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise - ./bin/grabpl build-backend --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise
depends_on: depends_on:
...@@ -2869,7 +2869,7 @@ steps: ...@@ -2869,7 +2869,7 @@ steps:
- test-backend - test-backend
- name: build-frontend - name: build-frontend
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition enterprise --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise - ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition enterprise --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise
depends_on: depends_on:
...@@ -2877,7 +2877,7 @@ steps: ...@@ -2877,7 +2877,7 @@ steps:
- test-frontend - test-frontend
- name: build-plugins - name: build-plugins
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-plugins --jobs 8 --edition enterprise --no-install-deps --sign --signing-admin - ./bin/grabpl build-plugins --jobs 8 --edition enterprise --no-install-deps --sign --signing-admin
environment: environment:
...@@ -2888,7 +2888,7 @@ steps: ...@@ -2888,7 +2888,7 @@ steps:
- lint-backend - lint-backend
- name: lint-backend-enterprise2 - name: lint-backend-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl lint-backend --edition enterprise2 - ./bin/grabpl lint-backend --edition enterprise2
environment: environment:
...@@ -2897,7 +2897,7 @@ steps: ...@@ -2897,7 +2897,7 @@ steps:
- initialize - initialize
- name: test-backend-enterprise2 - name: test-backend-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1" - "[ $(grep FocusConvey -R pkg | wc -l) -eq \"0\" ] || exit 1"
- ./bin/grabpl test-backend --edition enterprise2 - ./bin/grabpl test-backend --edition enterprise2
...@@ -2907,7 +2907,7 @@ steps: ...@@ -2907,7 +2907,7 @@ steps:
- lint-backend-enterprise2 - lint-backend-enterprise2
- name: build-backend-enterprise2 - name: build-backend-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl build-backend --jobs 8 --edition enterprise2 --build-id ${DRONE_BUILD_NUMBER} --variants linux-x64 --no-pull-enterprise - ./bin/grabpl build-backend --jobs 8 --edition enterprise2 --build-id ${DRONE_BUILD_NUMBER} --variants linux-x64 --no-pull-enterprise
depends_on: depends_on:
...@@ -2916,7 +2916,7 @@ steps: ...@@ -2916,7 +2916,7 @@ steps:
- test-backend-enterprise2 - test-backend-enterprise2
- name: gen-version - name: gen-version
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER} - ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER}
depends_on: depends_on:
...@@ -2932,7 +2932,7 @@ steps: ...@@ -2932,7 +2932,7 @@ steps:
- test-backend-enterprise2 - test-backend-enterprise2
- name: package - name: package
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl package --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise --sign - ./bin/grabpl package --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise --sign
environment: environment:
...@@ -2950,7 +2950,7 @@ steps: ...@@ -2950,7 +2950,7 @@ steps:
- gen-version - gen-version
- name: end-to-end-tests-server - name: end-to-end-tests-server
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
detach: true detach: true
commands: commands:
- ./e2e/start-server - ./e2e/start-server
...@@ -2972,7 +2972,7 @@ steps: ...@@ -2972,7 +2972,7 @@ steps:
- end-to-end-tests-server - end-to-end-tests-server
- name: build-storybook - name: build-storybook
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- yarn storybook:build - yarn storybook:build
- ./bin/grabpl verify-storybook - ./bin/grabpl verify-storybook
...@@ -2982,7 +2982,7 @@ steps: ...@@ -2982,7 +2982,7 @@ steps:
- package - package
- name: copy-packages-for-docker - name: copy-packages-for-docker
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ls dist/*.tar.gz* - ls dist/*.tar.gz*
- cp dist/*.tar.gz* packaging/docker/ - cp dist/*.tar.gz* packaging/docker/
...@@ -3007,7 +3007,7 @@ steps: ...@@ -3007,7 +3007,7 @@ steps:
- copy-packages-for-docker - copy-packages-for-docker
- name: postgres-integration-tests - name: postgres-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq postgresql-client - apt-get install -yq postgresql-client
...@@ -3024,7 +3024,7 @@ steps: ...@@ -3024,7 +3024,7 @@ steps:
- test-frontend - test-frontend
- name: mysql-integration-tests - name: mysql-integration-tests
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- apt-get update - apt-get update
- apt-get install -yq default-mysql-client - apt-get install -yq default-mysql-client
...@@ -3053,7 +3053,7 @@ steps: ...@@ -3053,7 +3053,7 @@ steps:
- postgres-integration-tests - postgres-integration-tests
- name: package-enterprise2 - name: package-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
commands: commands:
- ./bin/grabpl package --jobs 8 --edition enterprise2 --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise --variants linux-x64 --sign - ./bin/grabpl package --jobs 8 --edition enterprise2 --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise --variants linux-x64 --sign
environment: environment:
...@@ -3071,7 +3071,7 @@ steps: ...@@ -3071,7 +3071,7 @@ steps:
- gen-version - gen-version
- name: end-to-end-tests-server-enterprise2 - name: end-to-end-tests-server-enterprise2
image: grafana/build-container:1.3.0 image: grafana/build-container:1.3.1
detach: true detach: true
commands: commands:
- ./e2e/start-server - ./e2e/start-server
......
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
## Common variable declarations ## Common variable declarations
## ##
DOCKER_IMAGE_NAME="grafana/grafana-plugin-ci:1.1.0-alpine" DOCKER_IMAGE_NAME="grafana/grafana-plugin-ci:1.1.1-alpine"
...@@ -18,16 +18,16 @@ apk add --no-cache curl nodejs npm yarn build-base openssh git-lfs perl-utils co ...@@ -18,16 +18,16 @@ apk add --no-cache curl nodejs npm yarn build-base openssh git-lfs perl-utils co
# apk add --no-cache xvfb glib nss nspr gdk-pixbuf "gtk+3.0" pango atk cairo dbus-libs libxcomposite libxrender libxi libxtst libxrandr libxscrnsaver alsa-lib at-spi2-atk at-spi2-core cups-libs gcompat libc6-compat # apk add --no-cache xvfb glib nss nspr gdk-pixbuf "gtk+3.0" pango atk cairo dbus-libs libxcomposite libxrender libxi libxtst libxrandr libxscrnsaver alsa-lib at-spi2-atk at-spi2-core cups-libs gcompat libc6-compat
# Install Go # Install Go
filename="go1.15.3.linux-amd64.tar.gz" filename="go1.15.6.linux-amd64.tar.gz"
get_file "https://dl.google.com/go/$filename" "/tmp/$filename" "010a88df924a81ec21b293b5da8f9b11c176d27c0ee3962dc1738d2352d3c02d" get_file "https://dl.google.com/go/$filename" "/tmp/$filename" "3918e6cc85e7eaaa6f859f1bdbaac772e7a825b0eb423c63d3ae68b21f84b844"
untar_file "/tmp/$filename" untar_file "/tmp/$filename"
# Install golangci-lint # Install golangci-lint
GOLANGCILINT_VERSION=1.32.2 GOLANGCILINT_VERSION=1.34.1
filename="golangci-lint-${GOLANGCILINT_VERSION}-linux-amd64" filename="golangci-lint-${GOLANGCILINT_VERSION}-linux-amd64"
get_file "https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCILINT_VERSION}/$filename.tar.gz" \ get_file "https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCILINT_VERSION}/$filename.tar.gz" \
"/tmp/${filename}.tar.gz" \ "/tmp/${filename}.tar.gz" \
"e7ab86d833bf9faed39801ab3b5cd294f026d26f9a7da63a42390943ead486cc" "23e4a9d8f89729007c6d749c245f725c2dbcfb194f4099003f9b826f1d386ad1"
untar_file "/tmp/${filename}.tar.gz" untar_file "/tmp/${filename}.tar.gz"
ln -s /usr/local/${filename}/golangci-lint /usr/local/bin/golangci-lint ln -s /usr/local/${filename}/golangci-lint /usr/local/bin/golangci-lint
ln -s /usr/local/go/bin/go /usr/local/bin/go ln -s /usr/local/go/bin/go /usr/local/bin/go
......
# Use old Debian (this has support into 2022) in order to ensure binary compatibility with older glibc's. # Use old Debian (this has support into 2022) in order to ensure binary compatibility with older glibc's.
FROM debian:stretch-20201012-slim AS toolchain FROM debian:stretch-20201209 AS toolchain
ENV OSX_MIN=10.10 \ ENV OSX_MIN=10.10 \
CTNG=1.24.0 \ CTNG=1.24.0 \
...@@ -73,8 +73,8 @@ RUN cd /tmp && \ ...@@ -73,8 +73,8 @@ RUN cd /tmp && \
rm -rf /tmp/x86_64-centos6-linux-gnu/ && \ rm -rf /tmp/x86_64-centos6-linux-gnu/ && \
rm -rf /tmp/crosstool-ng-${CTNG} rm -rf /tmp/crosstool-ng-${CTNG}
ARG GOLANGCILINT_VERSION=1.33.0 ARG GOLANGCILINT_VERSION=1.34.1
ARG GOLANGCILINT_CHKSUM=e2d6082f1df53c5d2c280765000f9e82783ea909ba419c6c4e172936b076031e ARG GOLANGCILINT_CHKSUM=23e4a9d8f89729007c6d749c245f725c2dbcfb194f4099003f9b826f1d386ad1
RUN curl -fLO https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCILINT_VERSION}/golangci-lint-${GOLANGCILINT_VERSION}-linux-amd64.tar.gz RUN curl -fLO https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCILINT_VERSION}/golangci-lint-${GOLANGCILINT_VERSION}-linux-amd64.tar.gz
RUN echo ${GOLANGCILINT_CHKSUM} golangci-lint-${GOLANGCILINT_VERSION}-linux-amd64.tar.gz | sha256sum --check --strict --status RUN echo ${GOLANGCILINT_CHKSUM} golangci-lint-${GOLANGCILINT_VERSION}-linux-amd64.tar.gz | sha256sum --check --strict --status
...@@ -95,12 +95,12 @@ RUN tar xf cue_${CUE_VERSION}_Linux_x86_64.tar.gz -C /tmp cue ...@@ -95,12 +95,12 @@ RUN tar xf cue_${CUE_VERSION}_Linux_x86_64.tar.gz -C /tmp cue
# Base image to crossbuild grafana. # Base image to crossbuild grafana.
# Use old Debian (this has support into 2022) in order to ensure binary compatibility with older glibc's. # Use old Debian (this has support into 2022) in order to ensure binary compatibility with older glibc's.
FROM debian:stretch-20201012 FROM debian:stretch-20201209
ENV GOVERSION=1.15.5 \ ENV GOVERSION=1.15.6 \
PATH=/usr/local/go/bin:$PATH \ PATH=/usr/local/go/bin:$PATH \
GOPATH=/go \ GOPATH=/go \
NODEVERSION=14.15.1-1nodesource1 \ NODEVERSION=14.15.4-1nodesource1 \
YARNVERSION=1.22.5-1 \ YARNVERSION=1.22.5-1 \
GO111MODULE=on GO111MODULE=on
......
#!/bin/bash #!/bin/bash
set -eo pipefail set -eo pipefail
_version="1.3.0" _version="1.3.1"
_tag="grafana/build-container:${_version}" _tag="grafana/build-container:${_version}"
_dpath=$(dirname "${BASH_SOURCE[0]}") _dpath=$(dirname "${BASH_SOURCE[0]}")
......
grabpl_version = '0.5.31' grabpl_version = '0.5.31'
build_image = 'grafana/build-container:1.3.0' build_image = 'grafana/build-container:1.3.1'
publish_image = 'grafana/grafana-ci-deploy:1.2.7' publish_image = 'grafana/grafana-ci-deploy:1.2.7'
grafana_docker_image = 'grafana/drone-grafana-docker:0.3.2' grafana_docker_image = 'grafana/drone-grafana-docker:0.3.2'
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