diff options
author | Laurent Peuch <cortex@worlddomination.be> | 2020-05-13 02:20:52 +0200 |
---|---|---|
committer | Laurent Peuch <cortex@worlddomination.be> | 2020-05-13 02:20:52 +0200 |
commit | 28b9c729e43af9115d1043dc37ffb4ca22555f5a (patch) | |
tree | d435be8a785aac3300dc87fd40682257b3b45f17 | |
parent | 6528cabe3576bd4002199561da046324f3f44d38 (diff) | |
download | logilab-common-28b9c729e43af9115d1043dc37ffb4ca22555f5a.tar.gz |
[tests] trigger all core projects builds from logilab-common if all other tests passed
-rw-r--r-- | .gitlab-ci.yml | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1e1b6ff..6670190 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,38 @@ image: python +stages: + - tests + - after-tests + before_script: - pip install tox -flake8: - script: tox -e flake8 - py3: + stage: tests script: tox -e py3 +flake8: + stage: tests + script: tox -e flake8 + check-manifest: + stage: tests script: tox -e check-manifest black: + stage: tests script: tox -e black mypy: + stage: tests script: tox -e 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" |