Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
edigaryev committed Feb 16, 2021
1 parent 0b78d8b commit a55d0ca
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions internal/commands/testdata/run-no-cleanup/.cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ task:
image: debian:latest

additional_containers:
- name: mysql
image: mysql:latest
port: 3306
- name: redis
image: redis:latest
port: 6379

script: true
20 changes: 10 additions & 10 deletions internal/executor/testdata/additional-containers/.cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ container:
task:
container:
additional_containers:
- name: mysql
image: mysql:latest
port: 3306
- name: redis
image: redis:latest
port: 6379
env:
MYSQL_ROOT_PASSWORD: insecure
- name: postgres
image: postgres:latest
port: 5432
- name: memcached
image: memcached:latest
port: 11211
env:
POSTGRES_PASSWORD: insecure
prepare_script:
- apt-get update && apt-get -y install netcat-openbsd wait-for-it
mysql_test_script:
- wait-for-it --timeout=0 --strict 127.0.0.1:3306 -- true
postgres_test_script:
- wait-for-it --timeout=0 --strict 127.0.0.1:5432 -- true
redis_test_script:
- wait-for-it --timeout=0 --strict 127.0.0.1:6379 -- true
memcached_test_script:
- wait-for-it --timeout=0 --strict 127.0.0.1:11211 -- true

0 comments on commit a55d0ca

Please sign in to comment.