Skip to content
Snippets Groups Projects
Commit c34a5dde authored by Chris Hines's avatar Chris Hines
Browse files

still fixing it

parent 77ddb50e
No related branches found
No related tags found
3 merge requests!518modifications to playbooks because 1. we're not using ldap 2. we're mounting...,!517modifications to playbooks because 1. we're not using ldap 2. we're mounting...,!513modifications to playbooks because 1. we're not using ldap 2. we're mounting...
...@@ -58,6 +58,25 @@ ansiblelint: ...@@ -58,6 +58,25 @@ ansiblelint:
- python3 ansiblelint/run_lint.py --targets ../qa.yml - python3 ansiblelint/run_lint.py --targets ../qa.yml
- python3 ansiblelint/run_lint.py --targets ../maintenance.yml - python3 ansiblelint/run_lint.py --targets ../maintenance.yml
remove_infra:
stage: openstack_destroy
image: ubuntu
allow_failure: false
tags:
- heat
before_script:
- cd $DEFAULT_PATH
- echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh
script:
- whoami
- apt update
- apt -y upgrade
- apt -y install openssh-client python3-pip
- pip3 install joblib python-cinderclient python-keystoneclient python-novaclient python-openstackclient PyYAML ansible
- source ./$NECTAR_ALLOCATION-openrc.sh
- echo "Generating a random SSH key for our cluster"
- cd infra
- ansible-playbook os_delete.yml
build_infra: build_infra:
stage: openstack_create stage: openstack_create
...@@ -97,9 +116,14 @@ configure_cluster: ...@@ -97,9 +116,14 @@ configure_cluster:
- ansible - ansible
artifacts: artifacts:
paths: paths:
- CICD/inventory.yml
- CICD/tmp_key
- CICD/tmp_key.pub
- CICD/infra/os_vars.yml
- CICD/files - CICD/files
- CICD/vars - CICD/vars
- CICD/master.log.json - CICD/master.log.json
- CICD/ssh.cfg
script: script:
- whoami - whoami
- apt update - apt update
......
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