Skip to content
Snippets Groups Projects
Verified Commit 2c600104 authored by Varac's avatar Varac
Browse files

Use cache instead of artifacts for secrets

Closes #63
parent f87db89a
No related branches found
No related tags found
No related merge requests found
......@@ -51,10 +51,13 @@ bootstrap:
- ANSIBLE_HOST_KEY_CHECKING=False python3 -u ./ci-bootstrap.py --create_droplet
# Wait for proper LE cert to get served
- timeout -t 1200 sh -c 'while ! curl --cacert ./letsencrypt_staging_bundle.pem -s https://auth.ci-${CI_JOB_ID}.ci.openappstack.net/auth/ > /dev/null; do date; echo "Waiting for LE cert..."; sleep 5; done'
cache:
key: "$CI_PIPELINE_ID"
paths:
- test/behave/behave.ini
artifacts:
paths:
- ansible/rke.log
- test/behave/behave.ini
expire_in: 1 month
when: always
......@@ -72,6 +75,11 @@ behave:
# Run behave tests
- cd test/behave/
- behave -D headless=True
cache:
key: "$CI_PIPELINE_ID"
paths:
- test/behave/behave.ini
policy: pull
artifacts:
paths:
- test/behave/screenshots/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment