github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/harness/downgrader/testdata/example-9.yaml.golden (about)

     1  pipeline:
     2    identifier: default
     3    name: default
     4    orgIdentifier: default
     5    projectIdentifier: default
     6    properties:
     7      ci:
     8        codebase:
     9          build: <+input>
    10    stages:
    11    - stage:
    12        identifier: default
    13        name: default
    14        spec:
    15          cloneCodebase: true
    16          execution:
    17            steps:
    18            - step:
    19                identifier: build
    20                name: build
    21                spec:
    22                  command: |-
    23                    go build
    24                    go test
    25                  image: golang:1.16
    26                timeout: ""
    27                type: Run
    28            - step:
    29                identifier: publish
    30                name: publish
    31                spec:
    32                  image: plugins/docker
    33                  settings:
    34                    password: <+ secrets.getValue("docker_password") >
    35                    repo: octocat/hello-world
    36                    tags:
    37                    - latest
    38                    - "1"
    39                    - "1.1"
    40                    - 1.1.1
    41                    username: <+ secrets.getValue("docker_username") >
    42                timeout: ""
    43                type: Plugin
    44                when:
    45                  condition: (<+trigger.event> != "PR")
    46                  stageStatus: Success
    47          platform:
    48            arch: Amd64
    49            os: Linux
    50          runtime:
    51            spec: {}
    52            type: Cloud
    53        type: CI