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

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