{
  "phases": {
    "package": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/kube-prometheus"
        }
      },
      "actions": [
        {
          "action_id": "helm-package"
        },
        {
          "action_id": "helm-lint"
        }
      ]
    },
    "verify": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/kube-prometheus"
        },
        "runtime_parameters": "b3BlcmF0b3I6CiAgZW5hYmxlZDogdHJ1ZQogIHNlcnZpY2VBY2NvdW50OgogICAgY3JlYXRlOiB0cnVlCiAgICBhdXRvbW91bnRTZXJ2aWNlQWNjb3VudFRva2VuOiB0cnVlCiAgcG9kU2VjdXJpdHlDb250ZXh0OgogICAgZW5hYmxlZDogdHJ1ZQogICAgcnVuQXNVc2VyOiAxMDAyCiAgICBmc0dyb3VwOiAxMDAyCiAgY29udGFpbmVyU2VjdXJpdHlDb250ZXh0OgogICAgZW5hYmxlZDogdHJ1ZQogICAgY2FwYWJpbGl0aWVzOgogICAgICBkcm9wOgogICAgICAtIEFMTAogICAgcnVuQXNOb25Sb290OiB0cnVlCiAgICByZWFkT25seVJvb3RGaWxlc3lzdGVtOiBmYWxzZQogIHNlcnZpY2VNb25pdG9yOgogICAgZW5hYmxlZDogdHJ1ZQogIGt1YmVsZXRTZXJ2aWNlOgogICAgZW5hYmxlZDogdHJ1ZQogIHNlcnZpY2U6CiAgICBwb3J0czoKICAgICAgaHR0cDogODA4MQpwcm9tZXRoZXVzOgogIGVuYWJsZWQ6IHRydWUKICByZXBsaWNhQ291bnQ6IDIKICBzZXJ2aWNlTW9uaXRvcjoKICAgIGVuYWJsZWQ6IHRydWUKICBzZXJ2aWNlOgogICAgdHlwZTogTG9hZEJhbGFuY2VyCiAgICBwb3J0czogCiAgICAgIGh0dHA6IDgwCmFsZXJ0bWFuYWdlcjoKICBlbmFibGVkOiB0cnVlCiAgcmVwbGljYUNvdW50OiAyCiAgc2VydmljZU1vbml0b3I6CiAgICBlbmFibGVkOiB0cnVlCiAgc2VydmljZToKICAgIHBvcnRzOgogICAgICBodHRwOiA5MDk0Cm5vZGUtZXhwb3J0ZXI6CiAgc2VydmljZU1vbml0b3I6CiAgICBlbmFibGVkOiB0cnVlCmt1YmUtc3RhdGUtbWV0cmljczoKICByZXBsaWNhQ291bnQ6IDEKICBzZXJ2aWNlTW9uaXRvcjoKICAgIGVuYWJsZWQ6IHRydWUKZXhwb3J0ZXJzOgogIG5vZGUtZXhwb3J0ZXI6CiAgICBlbmFibGVkOiB0cnVlCiAga3ViZS1zdGF0ZS1tZXRyaWNzOgogICAgZW5hYmxlZDogdHJ1ZQprdWJlbGV0OgogIGVuYWJsZWQ6IHRydWUKa3ViZUFwaVNlcnZlcjoKICBlbmFibGVkOiB0cnVlCmt1YmVDb250cm9sbGVyTWFuYWdlcjoKICBlbmFibGVkOiB0cnVlCmt1YmVTY2hlZHVsZXI6CiAgZW5hYmxlZDogdHJ1ZQpjb3JlRG5zOgogIGVuYWJsZWQ6IHRydWUKa3ViZVByb3h5OgogIGVuYWJsZWQ6IHRydWUKcmJhYzoKICBjcmVhdGU6IHRydWUKICBwc3BFbmFibGVkOiB0cnVl",
        "target_platform": {
          "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
          "size": {
            "name": "S4"
          }
        }
      },
      "actions": [
        {
          "action_id": "health-check",
          "params": {
            "endpoint": "lb-kube-prometheus-prometheus-http",
            "app_protocol": "HTTP"
          }
        },
        {
          "action_id": "cypress",
          "params": {
            "resources": {
              "path": "/.vib/kube-prometheus/cypress"
            },
            "endpoint": "lb-kube-prometheus-prometheus-http",
            "app_protocol": "HTTP"
          }
        },
        {
          "action_id": "goss",
          "params": {
            "resources": {
              "path": "/.vib/kube-prometheus/goss"
            },
            "remote": {
              "workload": "deploy-kube-prometheus-operator"
            },
            "vars_file": "vars.yaml"
          }
        }
      ]
    },
    "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}"
            }
          }
        }
      ]
    }
  }
}
