[CI] Changed tests download url (#3297)

master
Timo N 2020-01-28 09:32:14 +01:00 committed by André Peters
parent 2c77586c0f
commit d9b7a8edb1
1 changed files with 6 additions and 7 deletions

View File

@ -15,12 +15,11 @@ steps:
pull: default pull: default
image: timovibritannia/ansible image: timovibritannia/ansible
commands: commands:
- wget $TEST_DOWNLOAD_URL --quiet - git clone https://github.com/mailcow/mailcow-integration-tests.git .
- unzip -qq mailcow-integration-tests.zip - wget -O group_vars/all/secrets.yml $SECRETS_DOWNLOAD_URL --quiet
- rm mailcow-integration-tests.zip
environment: environment:
TEST_DOWNLOAD_URL: SECRETS_DOWNLOAD_URL:
from_secret: TEST_DOWNLOAD_URL from_secret: SECRETS_DOWNLOAD_URL
when: when:
branch: branch:
- master - master
@ -62,7 +61,7 @@ steps:
commands: commands:
- chmod +x ci.sh - chmod +x ci.sh
- ./ci.sh - ./ci.sh
- sleep 60 - sleep 120
- ansible-playbook mailcow-setup-server.yml --private-key /drone/src/id_ssh_rsa --diff - ansible-playbook mailcow-setup-server.yml --private-key /drone/src/id_ssh_rsa --diff
environment: environment:
ANSIBLE_HOST_KEY_CHECKING: false ANSIBLE_HOST_KEY_CHECKING: false
@ -115,6 +114,6 @@ steps:
- success - success
--- ---
kind: signature kind: signature
hmac: d45bd1594ef12eb12b0035eb787d3372a6693825d8dbeb75c339979302b3941c hmac: 9c4ca886f432d00abeb42bf1c8f86af44fa2b92691f514274e6479b0dc8a0ee5
... ...