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