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

     1  pipeline:
     2    name: asdf
     3    identifier: asdf
     4    projectIdentifier: playground
     5    orgIdentifier: default
     6    tags: {}
     7    stages:
     8      - stage:
     9          name: test1
    10          identifier: test1
    11          type: CI
    12          spec:
    13            cloneCodebase: false
    14            infrastructure:
    15              type: KubernetesDirect
    16              spec:
    17                connectorRef: account.test123
    18                namespace: default
    19            execution:
    20              steps:
    21                - step:
    22                    type: BuildAndPushDockerRegistry
    23                    name: test
    24                    identifier: test
    25                    spec:
    26                      connectorRef: account.nofar_dockerhub
    27                      repo: foo/bar
    28                      tags:
    29                        - latest
    30                    failureStrategies: []
    31                - step:
    32                    type: S3Upload
    33                    name: asdf
    34                    identifier: asdf
    35                    spec:
    36                      connectorRef: ertet
    37                      region: us-east-1
    38                      bucket: foo
    39                      sourcePath: bar
    40                - step:
    41                    type: BuildAndPushECR
    42                    name: ecr
    43                    identifier: ecr
    44                    spec:
    45                      connectorRef: ertet
    46                      region: us-east-1
    47                      account: "123"
    48                      imageName: foo/bar
    49                      tags:
    50                        - latest