Commit 28dcc1fc authored by Laurent Peuch's avatar Laurent Peuch
Browse files

[gitlab-ci/fix] forgot to pass TRIGGERED_FROM_OTHER_PROJECT variable to other pipelines

parent 9fcfa28c35f7
Pipeline #7737 passed with stages
in 23 minutes and 13 seconds
......@@ -30,14 +30,14 @@ mypy:
trigger-other-pipelines:
stage: after-tests
script:
- "curl -X POST -F token=$CUBICWEB_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/385/trigger/pipeline"
- "curl -X POST -F token=$RQL_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/300/trigger/pipeline"
- "curl -X POST -F token=$YAMS_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/352/trigger/pipeline"
- "curl -X POST -F token=$LOGILAB_CONSTRAINT_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/409/trigger/pipeline"
- "curl -X POST -F token=$LOGILAB_MTCONVERTER_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/410/trigger/pipeline"
- "curl -X POST -F token=$LOGILAB_DATABASE_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/248/trigger/pipeline"
- "curl -X POST -F \"variables[TRIGGERED_FROM_OTHER_PROJECT]=true\" -F token=$CUBICWEB_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/385/trigger/pipeline"
- "curl -X POST -F \"variables[TRIGGERED_FROM_OTHER_PROJECT]=true\" -F token=$RQL_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/300/trigger/pipeline"
- "curl -X POST -F \"variables[TRIGGERED_FROM_OTHER_PROJECT]=true\" -F token=$YAMS_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/352/trigger/pipeline"
- "curl -X POST -F \"variables[TRIGGERED_FROM_OTHER_PROJECT]=true\" -F token=$LOGILAB_CONSTRAINT_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/409/trigger/pipeline"
- "curl -X POST -F \"variables[TRIGGERED_FROM_OTHER_PROJECT]=true\" -F token=$LOGILAB_MTCONVERTER_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/410/trigger/pipeline"
- "curl -X POST -F \"variables[TRIGGERED_FROM_OTHER_PROJECT]=true\" -F token=$LOGILAB_DATABASE_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/248/trigger/pipeline"
trigger-readthedocs:
stage: after-tests
script:
- "if [ -z \"${TRIGGERED_FROM_OTHER_PROJECT}\" ]; then curl -X POST -d \"token=${READTHEDOCS_TOKEN}\" https://readthedocs.org/api/v2/webhook/logilab-common/89595/; fi"
- "curl -X POST -d \"token=${READTHEDOCS_TOKEN}\" https://readthedocs.org/api/v2/webhook/logilab-common/89595/"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment