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