github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/cloudbuild/testdata/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      timeout: 11m0s
    15    stages:
    16    - desc: converted from google cloud build
    17      name: pipeline
    18      spec:
    19        platform:
    20          arch: amd64
    21          os: linux
    22        runtime:
    23          spec: {}
    24          type: cloud
    25        steps:
    26        - name: ubuntu
    27          spec:
    28            args:
    29            - sleep
    30            - "600"
    31            image: ubuntu
    32            mount:
    33            - name: dockersock
    34              path: /var/run/docker.sock
    35          type: script
    36        volumes:
    37        - name: dockersock
    38          spec:
    39            path: /var/run/docker.sock
    40          type: host
    41      type: ci
    42  version: 1