Browse Source

[ci] detach services

develop
Joe 5 months ago
parent
commit
9d8fa86e8e
Signed by: joe GPG Key ID: 8595A3F8F2CE1B74
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      .drone.yml

+ 5
- 0
.drone.yml View File

@ -9,6 +9,7 @@ steps:
- name: "setup postgres"
image: postgres:10.14-alpine
pull: if-not-exists
detach: true
commands:
- sleep 15
- psql -U postgres -c "CREATE USER klip WITH PASSWORD 'klip' SUPERUSER;" -h postgres
@ -16,6 +17,10 @@ steps:
- name: "setup redis"
image: redis
pull: if-not-exists
detach: true
commands:
- sleep 5
- redis-cli -h redis ping
- name: "configure .env"
image: ubuntu


Loading…
Cancel
Save