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

Prefix handling hopefully now pipeline wide

Former-commit-id: ac18dd87
parent 9de481a7
No related branches found
No related tags found
No related merge requests found
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