-curl --request POST --form token=${CI_JOB_TOKEN} --form "variables[TRIGGER_CI_COMMIT_SHA]=${CI_COMMIT_SHA}" --form ref=master https://gitlab.erc.monash.edu.au/api/v4/projects/193/trigger/pipeline# ID is from clusterbuild
-curl --request POST --form token=${CI_JOB_TOKEN} --form "variables[TRIGGER_CI_COMMIT_SHA]=${CI_COMMIT_SHA}" --form ref=master https://gitlab.erc.monash.edu.au/api/v4/projects/193/trigger/pipeline# ID is from clusterbuild
only:
only:
-${CI_PROJECT_NAME} == 'ansible_cluster_in_a_box'
-${CI_PROJECT_NAME} == 'ansible_cluster_in_a_box'
trigger_pipeline_in_monarch:
trigger_pipeline_in_monarch:
stage:integration_test
stage:integration_test
tags:
tags:
-ansible
-ansible
script:
script:
-echo ${CI_JOB_TOKEN}
-echo ${CI_JOB_TOKEN}
-curl --request POST --form token=${CI_JOB_TOKEN} --form "variables[TRIGGER_CI_COMMIT_SHA]=${CI_COMMIT_SHA}" --form ref=master https://gitlab.erc.monash.edu.au/api/v4/projects/385/trigger/pipeline# ID is from monarch
-curl --request POST --form token=${CI_JOB_TOKEN} --form "variables[TRIGGER_CI_COMMIT_SHA]=${CI_COMMIT_SHA}" --form ref=master https://gitlab.erc.monash.edu.au/api/v4/projects/385/trigger/pipeline# ID is from monarch
-echo [ `grep changed= ./nochange.log -c` = `grep changed=0 ./nochange.log -c` ] > bashtest.sh# a crude way to make sure all changed lines are equal to changed=0
-echo [ `grep changed= ./nochange.log -c` = `grep changed=0 ./nochange.log -c` ] > bashtest.sh# a crude way to make sure all changed lines are equal to changed=0