Add services to main-integration-tests (#43325)

This commit is contained in:
Dimitris Sotirakis 2021-12-20 10:33:47 +02:00 committed by GitHub
parent 2fd2fd353e
commit b7f8c1855d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 3 deletions

View File

@ -830,7 +830,27 @@ node:
platform:
arch: amd64
os: linux
services: []
services:
- environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_DB: grafanatest
POSTGRES_PASSWORD: grafanatest
POSTGRES_USER: grafanatest
image: postgres:12.3-alpine
name: postgres
volumes:
- name: postgres
path: /var/lib/postgresql/data/pgdata
- environment:
MYSQL_DATABASE: grafana_tests
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: rootpass
MYSQL_USER: grafana
image: mysql:5.6.48
name: mysql
volumes:
- name: mysql
path: /var/lib/mysql
steps:
- commands:
- mkdir -p bin
@ -4289,6 +4309,6 @@ kind: secret
name: prerelease_bucket
---
kind: signature
hmac: f551ccae0072c77a25a540bcc61f49946d972a60d67a2987b40cfdf3e6c87e04
hmac: e9f0799a3d0a25a5a7caa6bca1e09ee7590d0877c7d56c680b64e6e601d17f3a
...

View File

@ -179,7 +179,7 @@ def main_pipelines(edition):
volumes=volumes,
),
pipeline(
name='main-integration-tests', edition=edition, trigger=trigger, services=[],
name='main-integration-tests', edition=edition, trigger=trigger, services=services,
steps=[download_grabpl_step()] + initialize_step(edition, platform='linux', ver_mode=ver_mode) + integration_test_steps,
volumes=volumes,
),