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

     1  {
     2      "definitions": {
     3          "services": {
     4              "my-postgresql-db": {
     5                  "image": "postgres:latest",
     6                  "memory": 512,
     7                  "variables": {
     8                      "POSTGRES_PASSWORD": "$MY_POSTGRES_PASSWORD"
     9                  }
    10              }
    11          }
    12      },
    13      "pipelines": {
    14          "default": [
    15              {
    16                  "step": {
    17                      "name": "Hello world example",
    18                      "services": [
    19                          "my-postgresql-db"
    20                      ],
    21                      "script": [
    22                          "echo \"Hello, World\""
    23                      ]
    24                  }
    25              }
    26          ]
    27      }
    28  }