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

making cross-repo testing smarter

Former-commit-id: 4542b5ce
parent 594c9675
No related branches found
No related tags found
No related merge requests found
...@@ -13,26 +13,26 @@ stages: ...@@ -13,26 +13,26 @@ stages:
- ansible_create_cluster_stage - ansible_create_cluster_stage
- push_button_spawn_cluster - push_button_spawn_cluster
- tests - tests
- integration_test_downstream - integration_test #https://docs.gitlab.com/ee/ci/triggers/
- clean - clean
trigger_pipeline_in_Clusterbuild: trigger_pipeline_in_Clusterbuild:
stage: integration_test_downstream 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 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: trigger_pipeline_in_monarch:
stage: integration_test_downstream 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 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: 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