github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/harness/downgrader/testdata/example-17.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                type: BuildAndPushDockerRegistry
    30                name: publish
    31                identifier: publish
    32                spec:
    33                  repo: octocat/hello-world
    34                  caching: true
    35                  connectorRef: <+input>
    36                  tags:
    37                    - latest
    38                    - "1"
    39                    - "1.1"
    40                    - "1.1.1"
    41                  dockerfile: DockerFile
    42                  context: context
    43                  labels:
    44                    latest: asd
    45                  buildArgs:
    46                    GITHUB_ACCESS_TOKEN: token
    47                    GITHUB_ACCESS_TOKEN2: token2
    48                    GITHUB_ACCESS_TOKEN3: token3
    49                    GITHUB_ACCESS_TOKEN4: token4
    50                  target: target
    51                timeout: ""
    52                when:
    53                  condition: (<+trigger.event> == "PUSH" || <+trigger.payload.ref> =^
    54                    "refs/tags/")
    55                  stageStatus: Success
    56          platform:
    57            arch: Amd64
    58            os: Linux
    59          runtime:
    60            spec: {}
    61            type: Cloud
    62        type: CI
    63