CI: Running Redis integration tests without grabpl (#63028)

This restores some changes from
https://github.com/grafana/grafana/pull/61920 that were accidentally
deleted.
pull/63077/head
Horst Gutmann 2 years ago committed by GitHub
parent 6322fce725
commit 2804acd264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      .drone.yml
  2. 3
      scripts/drone/steps/lib.star

@ -3345,7 +3345,9 @@ steps:
name: mysql-integration-tests name: mysql-integration-tests
- commands: - commands:
- dockerize -wait tcp://redis:6379/0 -timeout 120s - dockerize -wait tcp://redis:6379/0 -timeout 120s
- ./bin/grabpl integration-tests - go clean -testcache
- go list './pkg/...' | xargs -I {} sh -c 'go test -run Integration -covermode=atomic
-timeout=5m {}'
depends_on: depends_on:
- wire-install - wire-install
environment: environment:
@ -6042,7 +6044,9 @@ steps:
name: mysql-integration-tests name: mysql-integration-tests
- commands: - commands:
- dockerize -wait tcp://redis:6379/0 -timeout 120s - dockerize -wait tcp://redis:6379/0 -timeout 120s
- ./bin/grabpl integration-tests - go clean -testcache
- go list './pkg/...' | xargs -I {} sh -c 'go test -run Integration -covermode=atomic
-timeout=5m {}'
depends_on: depends_on:
- wire-install - wire-install
environment: environment:
@ -6656,6 +6660,6 @@ kind: secret
name: aws_secret_access_key name: aws_secret_access_key
--- ---
kind: signature kind: signature
hmac: bf02735eb33a58809b6ff6f786bd6170213f090a2f1d13166c982272a3f99620 hmac: ffd91c8af01ce1a2469703bc2de8e160685078fbff4fe427a334cea4d847d37b
... ...

@ -1142,7 +1142,8 @@ def redis_integration_tests_step():
}, },
"commands": [ "commands": [
"dockerize -wait tcp://redis:6379/0 -timeout 120s", "dockerize -wait tcp://redis:6379/0 -timeout 120s",
"./bin/grabpl integration-tests", "go clean -testcache",
"go list './pkg/...' | xargs -I {} sh -c 'go test -run Integration -covermode=atomic -timeout=5m {}'",
], ],
} }

Loading…
Cancel
Save