{
  "phases": {
    "package": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/parse"
        }
      },
      "actions": [
        {
          "action_id": "helm-package"
        },
        {
          "action_id": "helm-lint"
        }
      ]
    },
    "verify": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/parse"
        },
        "runtime_parameters": "c2VydmVyOgogIGhvc3Q6IHBhcnNlLmxvY2FsCiAgYXBwSWQ6IHRlc3RBcHAKICBtYXN0ZXJLZXk6ICJNNHN0ZXIjSzN5IgogIHNlcnZpY2U6CiAgICB0eXBlOiBMb2FkQmFsYW5jZXIKICAgIHBvcnRzOgogICAgICBodHRwOiA4MAogIGNvbnRhaW5lclBvcnRzOgogICAgaHR0cDogMTMzOAogIHBvZFNlY3VyaXR5Q29udGV4dDoKICAgIGVuYWJsZWQ6IHRydWUKICAgIGZzR3JvdXA6IDEwMDIKICBjb250YWluZXJTZWN1cml0eUNvbnRleHQ6CiAgICBlbmFibGVkOiB0cnVlCiAgICBydW5Bc1VzZXI6IDEwMDIKZGFzaGJvYXJkOgogIGVuYWJsZWQ6IHRydWUKICBjb250YWluZXJQb3J0czoKICAgIGh0dHA6IDQwNDAKICBwb2RTZWN1cml0eUNvbnRleHQ6CiAgICBlbmFibGVkOiB0cnVlCiAgICBmc0dyb3VwOiAxMDAyCiAgY29udGFpbmVyU2VjdXJpdHlDb250ZXh0OgogICAgZW5hYmxlZDogdHJ1ZQogICAgcnVuQXNVc2VyOiAxMDAyCiAgdXNlcm5hbWU6IHBhcnNlVXNlcgogIHBhc3N3b3JkOiAiQ29tcGxpY2F0ZWRQYXNzd29yZDEyMyE0IgogIGFwcE5hbWU6IENoaWNrZW5HYW1lCiAgc2VydmljZToKICAgIHR5cGU6IExvYWRCYWxhbmNlcgogICAgcG9ydHM6CiAgICAgIGh0dHA6IDgwCnNlcnZpY2VBY2NvdW50OgogIGNyZWF0ZTogdHJ1ZQogIGF1dG9tb3VudFNlcnZpY2VBY2NvdW50VG9rZW46IHRydWUKbW9uZ29kYjoKICBlbmFibGVkOiB0cnVlCiAgYXV0aDogCiAgICBlbmFibGVkOiB0cnVlCiAgICB1c2VybmFtZTogYm5fdGVzdF9wYXJzZQogICAgcGFzc3dvcmQ6ICJNMG5nb1A0c3MiCiAgICBkYXRhYmFzZTogYml0bmFtaV9wYXJzZQo=",
        "target_platform": {
          "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
          "size": {
            "name": "S4"
          }
        }
      },
      "actions": [
        {
          "action_id": "health-check",
          "params": {
            "endpoint": "lb-parse-dashboard-http-dashboard"
          }
        },
        {
          "action_id": "goss",
          "params": {
            "resources": {
              "path": "/.vib/parse/goss/server"
            },
            "remote": {
              "workload": "deploy-parse-server"
            },
            "vars_file": "vars.yaml"
          }
        },
        {
          "action_id": "goss",
          "params": {
            "resources": {
              "path": "/.vib/parse/goss/dashboard"
            },
            "remote": {
              "workload": "deploy-parse-dashboard"
            },
            "vars_file": "vars.yaml"
          }
        },
        {
          "action_id": "cypress",
          "params": {
            "resources": {
              "path": "/.vib/parse/cypress"
            },
            "endpoint": "lb-parse-http-server",
            "app_protocol": "HTTP",
            "env": {
              "appId": "testApp",
              "masterKey": "M4ster#K3y"
            }
          }
        }
      ]
    },
    "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}"
            }
          }
        }
      ]
    }
  }
}
