Chore: Upgrade build pipeline tool (#26510)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen 2020-07-22 13:00:18 +02:00 committed by GitHub
parent 358c2d7031
commit f9239a4d6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -45,7 +45,7 @@ commands:
- run:
name: "Install Grafana build pipeline tool"
command: |
VERSION=0.4.24
VERSION=0.4.25
curl -fLO https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v${VERSION}/grabpl
chmod +x grabpl
mv grabpl /tmp

View File

@ -22,7 +22,7 @@ steps:
- cp -r $(yarn cache dir) yarn-cache
environment:
DOCKERIZE_VERSION: 0.6.1
GRABPL_VERSION: 0.4.24
GRABPL_VERSION: 0.4.25
- name: lint-backend
image: grafana/build-container:1.2.21
@ -78,7 +78,7 @@ steps:
- name: test-backend
image: grafana/build-container:1.2.21
commands:
- go test -covermode=atomic ./pkg/...
- ./bin/grabpl test-backend
- ./bin/grabpl integration-tests
- cp -r $(go env GOCACHE) go-cache
depends_on:
@ -250,7 +250,7 @@ steps:
- cp -r $(yarn cache dir) yarn-cache
environment:
DOCKERIZE_VERSION: 0.6.1
GRABPL_VERSION: 0.4.24
GRABPL_VERSION: 0.4.25
- name: lint-backend
image: grafana/build-container:1.2.21
@ -306,7 +306,7 @@ steps:
- name: test-backend
image: grafana/build-container:1.2.21
commands:
- go test -covermode=atomic ./pkg/...
- ./bin/grabpl test-backend
- ./bin/grabpl integration-tests
- cp -r $(go env GOCACHE) go-cache
depends_on:

View File

@ -129,7 +129,7 @@ def pipeline(name, edition, trigger, steps, services=[]):
return pipeline
def init_steps(edition):
grabpl_version = '0.4.24'
grabpl_version = '0.4.25'
common_cmds = [
'curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz',
'tar -C bin -xzvf dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz',
@ -307,7 +307,7 @@ def test_backend_step():
],
'commands': [
# First execute non-integration tests in parallel, since it should be safe
'go test -covermode=atomic ./pkg/...',
'./bin/grabpl test-backend',
# Then execute integration tests in serial
'./bin/grabpl integration-tests',
# Keep the test cache