Commit 434d57f3 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

build: use new gitlab syntax for triggering other pipeline

parent 14a793e96b18
Pipeline #10522 failed with stages
in 2 minutes and 28 seconds
...@@ -54,14 +54,14 @@ mypy: ...@@ -54,14 +54,14 @@ mypy:
stage: tests stage: tests
script: tox -e mypy script: tox -e mypy
trigger-other-pipelines: trigger-cubicweb-pipeline:
only: stage: after-tests
refs:
- branch/default
except: except:
variables: variables:
- $TRIGGERED_FROM_OTHER_PROJECT - $TRIGGERED_FROM_OTHER_PROJECT && $TRIGGERED_FROM_OTHER_PROJECT != "logilab-constraint"
stage: after-tests variables:
script: TRIGGERED_FROM_OTHER_PROJECT: "logilab-constraint"
# regarding the " everywhere when there is a '%': yaml is extremly weird when % are involved trigger:
- 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 -w "\nhttp code:"\ "%{http_code}\n" -f project: cubicweb/cubicweb
branch: branch/default
strategy: depend
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