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

more waittime to avoid timeouts after booting

parent fc65aee9
No related branches found
No related tags found
1 merge request!297Cicd merge back
...@@ -3,6 +3,7 @@ variables: ...@@ -3,6 +3,7 @@ variables:
STACKNAME: CICD_reporef$CI_COMMIT_REF_NAME STACKNAME: CICD_reporef$CI_COMMIT_REF_NAME
NECTAR_ALLOCATION: HPCCICD NECTAR_ALLOCATION: HPCCICD
ANSIBLE_HOST_KEY_CHECKING: "False" ANSIBLE_HOST_KEY_CHECKING: "False"
DEFAULT_PATH: "CICD"
stages: stages:
# - integration_test_downstream # working but unwanted here # - integration_test_downstream # working but unwanted here
...@@ -71,7 +72,7 @@ build_cluster_cicd: ...@@ -71,7 +72,7 @@ build_cluster_cicd:
- bash -x ./CICD/heat/heatcicdwrapper.sh create_or_update $STACKNAME - bash -x ./CICD/heat/heatcicdwrapper.sh create_or_update $STACKNAME
- bash -x ./CICD/heat/server_rebuild.sh all - bash -x ./CICD/heat/server_rebuild.sh all
after_script: after_script:
- sleep 20 # artifically wait a bit to give the nodes time to boot - sleep 30 # artifically wait a bit to give the nodes time to boot
# only: # only:
# changes: #https://docs.gitlab.com/ee/ci/yaml/#onlychangesexceptchanges # changes: #https://docs.gitlab.com/ee/ci/yaml/#onlychangesexceptchanges
# - "heat/*HOT*.yaml" # - "heat/*HOT*.yaml"
...@@ -83,6 +84,7 @@ ansible_create_cluster_stage: ...@@ -83,6 +84,7 @@ ansible_create_cluster_stage:
tags: tags:
- ansible - ansible
before_script: before_script:
- cd $DEFAULT_PATH/..
- 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
...@@ -192,7 +194,7 @@ clean: ...@@ -192,7 +194,7 @@ clean:
script: script:
- source ./$NECTAR_ALLOCATION-openrc.sh - source ./$NECTAR_ALLOCATION-openrc.sh
- bash -x ./CICD/heat/heatcicdwrapper.sh delete_if_exists $STACKNAME - bash -x ./CICD/heat/heatcicdwrapper.sh delete_if_exists $STACKNAME
when: manual #when: manual
#trigger_pipeline_in_B: #trigger_pipeline_in_B:
......
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