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

     1  kind: pipeline
     2  spec:
     3    stages:
     4    - name: test
     5      spec:
     6        steps:
     7        - name: build1
     8          spec:
     9            image: busybox:latest
    10            run: |-
    11              echo "Before script section"
    12              echo "For example you might run an update here or install a build dependency"
    13              echo "Or perhaps you might print out some debugging details"
    14              echo "Do your build here"
    15          type: script
    16        - spec:
    17            steps:
    18            - name: test1
    19              spec:
    20                image: busybox:latest
    21                run: |-
    22                  echo "Before script section"
    23                  echo "For example you might run an update here or install a build dependency"
    24                  echo "Or perhaps you might print out some debugging details"
    25                  echo "Do a test here"
    26                  echo "For example run a test suite"
    27              type: script
    28            - name: test2
    29              spec:
    30                image: busybox:latest
    31                run: |-
    32                  echo "Before script section"
    33                  echo "For example you might run an update here or install a build dependency"
    34                  echo "Or perhaps you might print out some debugging details"
    35                  echo "Do another parallel test here"
    36                  echo "For example run a lint test"
    37              type: script
    38          type: parallel
    39        - name: deploy1
    40          spec:
    41            image: busybox:latest
    42            run: |-
    43              echo "Before script section"
    44              echo "For example you might run an update here or install a build dependency"
    45              echo "Or perhaps you might print out some debugging details"
    46              echo "Do your deploy here"
    47          type: script
    48      type: ci
    49  version: 1