{
  "phases": {
    "package": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/grafana-operator"
        }
      },
      "actions": [
        {
          "action_id": "helm-package"
        },
        {
          "action_id": "helm-lint"
        }
      ]
    },
    "verify": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/grafana-operator"
        },
        "runtime_parameters": "b3BlcmF0b3I6CiAgZW5hYmxlZDogdHJ1ZQogIGNvbnRhaW5lclNlY3VyaXR5Q29udGV4dDoKICAgIGVuYWJsZWQ6IHRydWUKICAgIHJ1bkFzVXNlcjogMTAwMgogICAgcnVuQXNHcm91cDogMTAwMgogIGNvbnRhaW5lclBvcnRzOgogICAgbWV0cmljczogODA4MAogIHBvZExhYmVsczoKICAgIGluc3RhbmNlOiBvcGVyYXRvcgogIHJiYWM6CiAgICBjcmVhdGU6IHRydWUKICBzZXJ2aWNlQWNjb3VudDoKICAgIGNyZWF0ZTogdHJ1ZQogICAgYXV0b21vdW50U2VydmljZUFjY291bnRUb2tlbjogdHJ1ZQpncmFmYW5hOgogIGVuYWJsZWQ6IHRydWUKICBjb25maWc6CiAgICBzZWN1cml0eToKICAgICAgYWRtaW5fdXNlcjogdGVzdF9hZG1pbgogICAgICBhZG1pbl9wYXNzd29yZDogQ29tcGxpY2F0ZWRQYXNzd29yZDEyMyE0CiAgY29udGFpbmVyU2VjdXJpdHlDb250ZXh0OgogICAgZW5hYmxlZDogdHJ1ZQogICAgcnVuQXNVc2VyOiAxMDAyCiAgICBydW5Bc0dyb3VwOiAwCiAgc2VydmljZToKICAgIHR5cGU6IExvYWRCYWxhbmNlcgogICAgZXh0cmFQb3J0czoKICAgICAgLSBuYW1lOiBncmFmYW5hLXZlCiAgICAgICAgcG9ydDogODAKICAgICAgICBwcm90b2NvbDogVENQCiAgICAgICAgdGFyZ2V0UG9ydDogZ3JhZmFuYS1odHRw",
        "target_platform": {
          "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
          "size": {
            "name": "S4"
          }
        }
      },
      "actions": [
        {
          "action_id": "health-check",
          "params": {
            "endpoint": "lb-grafana-service-grafana-ve",
            "app_protocol": "HTTP"
          }
        },
        {
          "action_id": "goss",
          "params": {
            "resources": {
              "path": "/.vib/grafana-operator/goss"
            },
            "remote": {
              "workload": "deploy-grafana-operator"
            },
            "vars_file": "vars.yaml"
          }
        },
        {
          "action_id": "cypress",
          "params": {
            "resources": {
              "path": "/.vib/grafana-operator/cypress"
            },
            "endpoint": "lb-grafana-service-grafana-ve",
            "app_protocol": "HTTP",
            "env": {
              "username": "test_admin",
              "password": "ComplicatedPassword123!4"
            }
          }
        }
      ]
    },
    "publish": {
      "actions": [
        {
          "action_id": "helm-publish",
          "params": {
            "repository": {
              "kind": "S3",
              "url": "{VIB_ENV_S3_URL}",
              "username": "{VIB_ENV_S3_USERNAME}",
              "password": "{VIB_ENV_S3_PASSWORD}"
            }
          }
        }
      ]
    }
  }
}
