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

Fix CI versions output

parent 0b32b184
No related branches found
No related tags found
No related merge requests found
......@@ -35,10 +35,16 @@ bootstrap:
script:
- echo "hostname $HOSTNAME, subdomain $SUBDOMAIN, domain $DOMAIN, address $ADDRESS"
- python3 -m openappstack $HOSTNAME create --create-droplet $DOMAIN --hostname $HOSTNAME --ssh-key-id $SSH_KEY_ID --create-domain-records --subdomain $SUBDOMAIN
# Allows ansible debugging early in the beginning
- chmod 700 ansible
- cp clusters/ci-${CI_PIPELINE_ID}/inventory.yml ansible/
- cp clusters/ci-${CI_PIPELINE_ID}/settings.yml ansible/group_vars/all/
- python3 -m openappstack $HOSTNAME install --ansible-param='--skip-tags=helmfile'
artifacts:
paths:
- ./clusters
- ansible/inventory.yml
- ansible/group_vars/all/settings.yml
expire_in: 1 month
when: always
only:
......@@ -55,10 +61,14 @@ install:
script:
- python3 -m openappstack $HOSTNAME install --ansible-param='--tags=helmfile'
# Show versions of installed apps/binaries
- chmod 700 ansible
- cd ansible
- ansible master -m shell -a 'oas-version-info.sh 2>&1'
artifacts:
paths:
- ./clusters
- ansible/inventory.yml
- ansible/group_vars/all/settings.yml
expire_in: 1 month
when: always
only:
......
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