{
  "phases": {
    "package": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/grafana"
        }
      },
      "actions": [
        {
          "action_id": "helm-package"
        },
        {
          "action_id": "helm-lint"
        }
      ]
    },
    "verify": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/grafana"
        },
        "runtime_parameters": "YWRtaW46CiAgdXNlcjogdGVzdF9hZG1pbgogIHBhc3N3b3JkOiBDb21wbGljYXRlZFBhc3N3b3JkMTIzITQKcGx1Z2luczogZ3JhZmFuYS1rdWJlcm5ldGVzLWFwcApncmFmYW5hOgogIGNvbnRhaW5lclBvcnRzOgogICAgZ3JhZmFuYTogMzAwMAogIHBvZFNlY3VyaXR5Q29udGV4dDoKICAgIGVuYWJsZWQ6IHRydWUKICAgIGZzR3JvdXA6IDEwMDIKICBjb250YWluZXJTZWN1cml0eUNvbnRleHQ6CiAgICBlbmFibGVkOiB0cnVlCiAgICBydW5Bc1VzZXI6IDEwMDIKc2VydmljZToKICB0eXBlOiBMb2FkQmFsYW5jZXIKICBwb3J0czoKICAgIGdyYWZhbmE6IDgwCnBlcnNpc3RlbmNlOgogIGVuYWJsZWQ6IHRydWU=",
        "target_platform": {
          "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
          "size": {
            "name": "S4"
          }
        }
      },
      "actions": [
        {
          "action_id": "health-check",
          "params": {
            "endpoint": "lb-grafana-http",
            "app_protocol": "HTTP"
          }
        },
        {
          "action_id": "goss",
          "params": {
            "resources": {
              "path": "/.vib/grafana/goss"
            },
            "remote": {
              "workload": "deploy-grafana"
            },
            "vars_file": "vars.yaml"
          }
        },
        {
          "action_id": "cypress",
          "params": {
            "resources": {
              "path": "/.vib/grafana/cypress"
            },
            "endpoint": "lb-grafana-http",
            "app_protocol": "HTTP",
            "env": {
              "username": "test_admin",
              "password": "ComplicatedPassword123!4"
            }
          }
        }
      ]
    }
  }
}
