pages:deploy failing and sending emails even when pages has "allow_failure: true"
Summary
"pages" job spawns a publishing job called "pages:deploy". If that child fails, even when pages has "allow_failure: true", it fails the build.
Steps to reproduce
- have a .gitlab-ci.yml with 'pages' job that has "allow_failure: true" e.g. https://gitlab.freedesktop.org/ivyl/igt/commit/46dc5385252f0e046725c1dea06b0dc9b7de4ae7
pages:
allow_failure: true
dependencies:
- build:tests-fedora
stage: deploy
script:
- ninja -C build igt-gpu-tools-doc
- cp -r build/docs/reference/igt-gpu-tools/html public
artifacts:
paths:
- public
only:
- master
- wait for pages:deploy to fail
What is the current bug behavior?
Fails the pipeline, sends the email.
What is the expected correct behavior?
Sets warn both on parent (pages) and child (pages:deploy) jobs, doesn't send email.
Relevant logs and/or screenshots
https://gitlab.freedesktop.org/ivyl/igt/pipelines/33988/builds