E2E test for parent and child pipeline without "strategy: depend" relationship
E2E test for parent and child pipeline without strategy: depend
relationship
Dev issue: gitlab-org/gitlab#207234 (closed)
This test is to make sure pipelines of the same project with parent/child relationship are getting executed respectively.
Steps
- Create new project
- Define/spin up runner container
- Login to GitLab
- Visit project and push
.child.yml
file and.gitlab-ci.yml
files.- Within
.gitlab-ci.yml
file define jobs and trigger child pipeline
- Within
Test case 1:
When child pipeline succeeds, parent pipeline succeeds
- Within
.child.yml
file define a simple job that guaranties success.
Test case 2:
When child pipeline fails, parent pipeline does not fail (pipeline result is passed)
- Within
.child.yml
file define a simple job that guaranties failure. (exit 1
perhaps?)
Edited by Tiffany Rea