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

     1  kind: pipeline
     2  spec:
     3    stages:
     4    - name: container-job
     5      spec:
     6        clone: {}
     7        platform:
     8          arch: amd64
     9          os: linux
    10        runtime:
    11          spec: {}
    12          type: cloud
    13        steps:
    14        - name: postgres
    15          spec:
    16            image: postgres
    17          type: background
    18        - name: Install dependencies
    19          spec:
    20            image: node:10.18-jessie
    21            run: npm ci
    22          type: script
    23        - name: Connect to PostgreSQL
    24          spec:
    25            envs:
    26              POSTGRES_HOST: postgres
    27              POSTGRES_PORT: "5432"
    28            image: node:10.18-jessie
    29            run: node client.js
    30          type: script
    31      type: ci
    32  version: 1