From da053ded8e3f40f5f9cb61cddaf5a6de78b312db Mon Sep 17 00:00:00 2001 From: handreas <andreas.hamacher@monash.edu> Date: Fri, 28 Feb 2020 09:06:52 +0000 Subject: [PATCH] more waittime to avoid timeouts after booting --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 78d1428e..74e7db73 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ variables: STACKNAME: CICD_reporef$CI_COMMIT_REF_NAME NECTAR_ALLOCATION: HPCCICD ANSIBLE_HOST_KEY_CHECKING: "False" + DEFAULT_PATH: "CICD" stages: # - integration_test_downstream # working but unwanted here @@ -71,7 +72,7 @@ build_cluster_cicd: - bash -x ./CICD/heat/heatcicdwrapper.sh create_or_update $STACKNAME - bash -x ./CICD/heat/server_rebuild.sh all 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: # changes: #https://docs.gitlab.com/ee/ci/yaml/#onlychangesexceptchanges # - "heat/*HOT*.yaml" @@ -83,6 +84,7 @@ ansible_create_cluster_stage: tags: - ansible before_script: + - cd $DEFAULT_PATH/.. - echo "$GC_KEY" > gc_key.pem - chmod 400 gc_key.pem - echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh @@ -192,7 +194,7 @@ clean: script: - source ./$NECTAR_ALLOCATION-openrc.sh - bash -x ./CICD/heat/heatcicdwrapper.sh delete_if_exists $STACKNAME - when: manual + #when: manual #trigger_pipeline_in_B: -- GitLab