github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/cloudbuild/testdata/steps-timeout.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 - name: ubuntu 26 spec: 27 args: 28 - sleep 29 - "600" 30 image: ubuntu 31 mount: 32 - name: dockersock 33 path: /var/run/docker.sock 34 timeout: 8m20s 35 type: script 36 - name: ubuntu1 37 spec: 38 args: 39 - echo 40 - hello world, after 600s 41 image: ubuntu 42 mount: 43 - name: dockersock 44 path: /var/run/docker.sock 45 type: script 46 volumes: 47 - name: dockersock 48 spec: 49 path: /var/run/docker.sock 50 type: host 51 type: ci 52 version: 1