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

     1  kind: pipeline
     2  spec:
     3    stages:
     4      - name: container-test-job
     5        spec:
     6          platform:
     7            arch: amd64
     8            os: linux
     9          runtime:
    10            spec: {}
    11            type: cloud
    12          steps:
    13            - name: Node version
    14              spec:
    15                image: node:14.16
    16                run: node --version
    17              type: script
    18        type: ci
    19        when:
    20          - ref:
    21              in:
    22              - refs/heads/master
    23              - refs/tags/v*
    24  version: 1