github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/cloudbuild/testdata/sub.yaml.golden (about)

     1  kind: pipeline
     2  spec:
     3    inputs:
     4      _SUB_VALUE:
     5        default: world
     6        type: string
     7    options:
     8      envs:
     9        BRANCH_NAME: <+trigger.branch>
    10        BUILD_ID: <+pipeline.sequenceId>
    11        COMMIT_SHA: <+trigger.commitSha>
    12        PROJECT_ID: <+project.name>
    13        PROJECT_NUMBER: <+pipeline.sequenceId>
    14        REPO_NAME: <+trigger.payload.repository.name>
    15        REVISION_ID: <+trigger.commitSha>
    16        SHORT_SHA: <+codebase.shortCommitSha>
    17        TAG_NAME: <+trigger.commitSha>
    18    stages:
    19    - desc: converted from google cloud build
    20      name: pipeline
    21      spec:
    22        platform:
    23          arch: amd64
    24          os: linux
    25        runtime:
    26          spec: {}
    27          type: cloud
    28        steps:
    29        - name: ubuntu
    30          spec:
    31            args:
    32            - echo
    33            - hello <+inputs._SUB_VALUE>
    34            image: ubuntu
    35            mount:
    36            - name: dockersock
    37              path: /var/run/docker.sock
    38          type: script
    39        volumes:
    40        - name: dockersock
    41          spec:
    42            path: /var/run/docker.sock
    43          type: host
    44      type: ci
    45  version: 1