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

still fixing key issues

Former-commit-id: 8c850f33
parent 8fc91fe8
No related branches found
No related tags found
No related merge requests found
...@@ -87,9 +87,9 @@ ansible_create_cluster_stage: ...@@ -87,9 +87,9 @@ ansible_create_cluster_stage:
tags: tags:
- ansible - ansible
before_script: before_script:
- echo $GC_KEY > gc_key.pem - echo "$GC_KEY" > gc_key.pem
- chmod 400 gc_key.pem - chmod 400 gc_key.pem
- echo $HPCCICD_openrc > ./$NECTAR_ALLOCATION-openrc.sh - echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh
script: script:
- echo "ansible_create_cluster_stage" - echo "ansible_create_cluster_stage"
- bash -x ./CICD/ansible_create_cluster_script.sh - bash -x ./CICD/ansible_create_cluster_script.sh
...@@ -107,9 +107,9 @@ tests: ...@@ -107,9 +107,9 @@ tests:
tags: tags:
- ansible - ansible
before_script: before_script:
- echo $GC_KEY > gc_key.pem - echo "$GC_KEY" > gc_key.pem
- chmod 400 gc_key.pem - chmod 400 gc_key.pem
- echo $HPCCICD_openrc > ./$NECTAR_ALLOCATION-openrc.sh - echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh
script: script:
- echo "tests stage" - echo "tests stage"
- export ANSIBLE_HOST_KEY_CHECKING=False - export ANSIBLE_HOST_KEY_CHECKING=False
...@@ -143,9 +143,9 @@ manual_cluster_spawn: ...@@ -143,9 +143,9 @@ manual_cluster_spawn:
- echo "for this to work you have to provide a variable called manual stackname" - echo "for this to work you have to provide a variable called manual stackname"
- echo I still need to handle os password - echo I still need to handle os password
- echo $MANUAL_STACKNAME - echo $MANUAL_STACKNAME
- echo $GC_KEY > gc_key.pem - echo "$GC_KEY" > gc_key.pem
- chmod 400 gc_key.pem - chmod 400 gc_key.pem
- echo $HPCCICD_openrc > ./$NECTAR_ALLOCATION-openrc.sh - echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh
script: script:
- source ./$NECTAR_ALLOCATION-openrc.sh - source ./$NECTAR_ALLOCATION-openrc.sh
- bash -x ./heat/heatcicdwrapper.sh create $MANUAL_STACKNAME - bash -x ./heat/heatcicdwrapper.sh create $MANUAL_STACKNAME
...@@ -169,9 +169,9 @@ clean: ...@@ -169,9 +169,9 @@ clean:
before_script: before_script:
- echo "cleanup master" - echo "cleanup master"
- sleep 30 - sleep 30
- echo $GC_KEY > gc_key.pem - echo "$GC_KEY" > gc_key.pem
- chmod 400 gc_key.pem - chmod 400 gc_key.pem
- echo $HPCCICD_openrc > ./$NECTAR_ALLOCATION-openrc.sh - echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh
script: script:
- source ./$NECTAR_ALLOCATION-openrc.sh - source ./$NECTAR_ALLOCATION-openrc.sh
- bash -x ./heat/heatcicdwrapper.sh delete_if_exists $STACKNAME - bash -x ./heat/heatcicdwrapper.sh delete_if_exists $STACKNAME
......
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