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

     1  {
     2      "pipelines": {
     3          "default": [
     4              {
     5                  "step": {
     6                      "name": "Alert Opsgenie",
     7                      "script": [
     8                          "echo \"Sending an alert through Opsgenie\"",
     9                          {
    10                              "pipe": "atlassian/opsgenie-send-alert:latest",
    11                              "variables": {
    12                                  "GENIE_KEY": "$GENIE_KEY",
    13                                  "MESSAGE": "Danger, Will Robinson!",
    14                                  "DESCRIPTION": "An Opsgenie alert sent from Bitbucket Pipelines",
    15                                  "SOURCE": "Bitbucket Pipelines",
    16                                  "PRIORITY": "P1"
    17                              }
    18                          }
    19                      ]
    20                  }
    21              }
    22          ]
    23      }
    24  }