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

     1  {
     2      "pipelines": {
     3          "default": [
     4              {
     5                  "stage": {
     6                      "name": "Build and test",
     7                      "deployment": "staging",
     8                      "steps": [
     9                          {
    10                              "step": {
    11                                  "name": "Build app",
    12                                  "script": [
    13                                      "sh ./build-app.sh"
    14                                  ]
    15                              }
    16                          },
    17                          {
    18                              "step": {
    19                                  "name": "Run unit tests",
    20                                  "script": [
    21                                      "sh ./run-tests.sh"
    22                                  ]
    23                              }
    24                          }
    25                      ]
    26                  }
    27              },
    28              {
    29                  "stage": {
    30                      "name": "Deploy to Production",
    31                      "deployment": "prod",
    32                      "trigger": "manual",
    33                      "steps": [
    34                          {
    35                              "step": {
    36                                  "name": "Build app",
    37                                  "script": [
    38                                      "sh ./build-app.sh"
    39                                  ]
    40                              }
    41                          },
    42                          {
    43                              "step": {
    44                                  "name": "Run unit tests",
    45                                  "script": [
    46                                      "sh ./run-tests.sh"
    47                                  ]
    48                              }
    49                          }
    50                      ]
    51                  }
    52              }
    53          ]
    54      }
    55  }