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