Commit 70b03b1d authored by Fabio Pitino's avatar Fabio Pitino

Merge branch 'when-manual-needs-example' into 'master'

Add an example for pipeline processing

See merge request gitlab-org/gitlab!59631
parents 2d195d7e 9113c3ab
config:
stages: [build, test, post_test, deploy]
build:
stage: build
script: exit 0
test:
stage: test
script: exit 0
when: manual
post_test:
stage: post_test
script: exit 0
needs: [test]
deploy:
stage: deploy
script: exit 0
init:
expect:
pipeline: pending
stages:
build: pending
test: created
post_test: created
deploy: created
jobs:
build: pending
test: created
post_test: created
deploy: created
transitions:
- event: success
jobs: [build]
expect:
pipeline: running
stages:
build: success
test: skipped
post_test: skipped
deploy: pending
jobs:
build: success
test: manual
post_test: skipped
deploy: pending
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