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

     1  {
     2      "pipelines": {
     3          "default": [
     4              {
     5                  "step": {
     6                      "name": "Build",
     7                      "script": [
     8                          "./build.sh"
     9                      ]
    10                  }
    11              },
    12              {
    13                  "parallel": {
    14                      "fail-fast": true,
    15                      "steps": [
    16                          {
    17                              "step": {
    18                                  "name": "Integration 1",
    19                                  "script": [
    20                                      "./integration-tests.sh --batch 1"
    21                                  ]
    22                              }
    23                          },
    24                          {
    25                              "step": {
    26                                  "name": "Integration 2",
    27                                  "script": [
    28                                      "./integration-tests.sh --batch 2"
    29                                  ]
    30                              }
    31                          },
    32                          {
    33                              "step": {
    34                                  "name": "Upload metadata",
    35                                  "script": [
    36                                      "./upload-metadata.sh"
    37                                  ]
    38                              }
    39                          }
    40                      ]
    41                  }
    42              }
    43          ]
    44      }
    45  }