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

Check certs in seperate job in test stage

Set `allow_failure: true` so we allow traefik/cert-mananger to be slow
and not being able to fetch a valid cert.

Closes #122
parent ca835d3c
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,19 @@ testinfra:
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- cd test/
- py.test -v --connection=ansible --ansible-inventory=./inventory.yml --hosts='ansible://*'
- py.test -v -m 'testinfra' --connection=ansible --ansible-inventory=./inventory.yml --hosts='ansible://*'
certs:
stage: test
image: "${CI_REGISTRY_IMAGE}/bootstrap-ci"
variables:
OAS_DOMAIN: 'ci-${CI_PIPELINE_ID}.ci.openappstack.net'
allow_failure: true
script:
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- cd test/
- py.test -v -m 'certs' --connection=ansible --ansible-inventory=./inventory.yml --hosts='ansible://*'
terminate:
stage: cleanup
......
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