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

making cross-repo testing smarter

Former-commit-id: 4542b5ce
parent 6e66bae7
No related branches found
No related tags found
No related merge requests found
......@@ -13,26 +13,26 @@ stages:
- ansible_create_cluster_stage
- push_button_spawn_cluster
- tests
- integration_test_downstream
- integration_test #https://docs.gitlab.com/ee/ci/triggers/
- clean
trigger_pipeline_in_Clusterbuild:
stage: integration_test_downstream
stage: integration_test
tags:
- ansible
script:
- echo ${CI_JOB_TOKEN}
- "curl --request POST --form token=${CI_JOB_TOKEN} --form ref=aciab_upstream 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=aciab_upstream https://gitlab.erc.monash.edu.au/api/v4/projects/193/trigger/pipeline # ID is from clusterbuild
trigger_pipeline_in_monarch:
stage: integration_test_downstream
stage: integration_test
tags:
- ansible
script:
- echo ${CI_JOB_TOKEN}
- "curl --request POST --form token=${CI_JOB_TOKEN} --form ref=cicd 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=cicd https://gitlab.erc.monash.edu.au/api/v4/projects/385/trigger/pipeline # ID is from monarch
yamllint:
......
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