github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/gitlab/testdata/templates/exit_codes.yaml.golden (about) 1 kind: pipeline 2 spec: 3 stages: 4 - name: test 5 spec: 6 steps: 7 - spec: 8 steps: 9 - failure: 10 action: 11 type: ignore 12 errors: 13 - all 14 name: test_job_1 15 spec: 16 run: |- 17 echo "Run a script that results in exit code 1. This job fails." 18 exit 1 19 type: script 20 - failure: 21 action: 22 type: ignore 23 errors: 24 - all 25 name: test_job_2 26 spec: 27 run: |- 28 echo "Run a script that results in exit code 137. This job is allowed to fail." 29 exit 137 30 type: script 31 type: parallel 32 type: ci 33 version: 1