Skip to content
Snippets Groups Projects
Commit ac18dd87 authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

Prefix handling hopefully now pipeline wide

parent ab6c57fa
No related branches found
No related tags found
3 merge requests!297Cicd merge back,!284Cicd,!282CICD
variables:
GIT_SUBMODULE_STRATEGY: recursive
STACKNAME: _reporef$CI_COMMIT_REF_NAME
STACKNAME: CICD_reporef$CI_COMMIT_REF_NAME
NECTAR_ALLOCATION: HPCCICD
stages:
......
......@@ -7,9 +7,6 @@ openstack stack list
cd CICD
STACKNAME=CICD$STACKNAME
echo "[ansible_create_cluster_script] Prefixing the Stackname with CICD because heatcicdwrapper does he same"
python3 ../scripts/make_inventory.py static $STACKNAME | tee ./files/inventory.$STACKNAME && chmod 755 ./files/inventory.$STACKNAME
grep -qv "I could not find any resouces tagged with project_name:" ./files/inventory.$STACKNAME #fail if inventory file is empty
ansible -m ping -i files/inventory.$STACKNAME --key-file ../gc_key.pem all
......
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