github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/bitbucket/testdata/steps/example2.yaml (about)

     1  # Example pipeline with sequential and parallel steps
     2  
     3  pipelines:
     4    default:
     5      - step: # sequential step
     6          name: Build
     7          script:
     8            - ./build.sh
     9      - step: # sequential step
    10          name: Build
    11          script:
    12            - ./build.sh
    13      - parallel: # these 2 steps will run in parallel
    14          steps:
    15            - step:
    16                name: Integration 1
    17                script:
    18                  - ./integration-tests.sh --batch 1
    19            - step:
    20                name: Integration 2
    21                script:
    22                  - ./integration-tests.sh --batch 2
    23      - step: # non-parallel step
    24          script:
    25            - ./deploy.sh