Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
yams
Commits
e8e287762ce0
Commit
f919017f
authored
May 12, 2020
by
Laurent Peuch
Browse files
[tests] trigger cubicweb builds from yams if all other tests passed
parent
bc67eb1eb12f
Pipeline
#7435
passed with stages
in 4 minutes and 19 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e8e28776
image
:
python
stages
:
-
tests
-
after-tests
before_script
:
-
pip install tox
flake8
:
stage
:
tests
script
:
tox -e flake8
py3
:
stage
:
tests
script
:
tox -e py3
py3-from-forge
:
stage
:
tests
script
:
tox -e py3-from-forge
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
:
-
"
if
[
-z
\"
${TRIGGERED_FROM_OTHER_PROJECT}
\"
];
then
curl
-X
POST
-F
token=$CUBICWEB_PIPELINE_TRIGGER_TOKEN
-F
ref=branch/default
https://forge.extranet.logilab.fr/api/v4/projects/385/trigger/pipeline;
fi"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment