github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/cloudbuild/testdata/allow-failure.yaml.golden (about) 1 kind: pipeline 2 spec: 3 options: 4 envs: 5 BRANCH_NAME: <+trigger.branch> 6 BUILD_ID: <+pipeline.sequenceId> 7 COMMIT_SHA: <+trigger.commitSha> 8 PROJECT_ID: <+project.name> 9 PROJECT_NUMBER: <+pipeline.sequenceId> 10 REPO_NAME: <+trigger.payload.repository.name> 11 REVISION_ID: <+trigger.commitSha> 12 SHORT_SHA: <+codebase.shortCommitSha> 13 TAG_NAME: <+trigger.commitSha> 14 stages: 15 - desc: converted from google cloud build 16 name: pipeline 17 spec: 18 platform: 19 arch: amd64 20 os: linux 21 runtime: 22 spec: {} 23 type: cloud 24 steps: 25 - failure: 26 action: 27 spec: {} 28 type: ignore 29 errors: 30 - all 31 name: ubuntu 32 spec: 33 args: 34 - -c 35 - exit 1 36 image: ubuntu 37 mount: 38 - name: dockersock 39 path: /var/run/docker.sock 40 type: script 41 - name: ubuntu1 42 spec: 43 args: 44 - echo 45 - Hello World 46 image: ubuntu 47 mount: 48 - name: dockersock 49 path: /var/run/docker.sock 50 type: script 51 volumes: 52 - name: dockersock 53 spec: 54 path: /var/run/docker.sock 55 type: host 56 type: ci 57 version: 1