{
  "phases": {
    "package": {
      "context": {
        "credentials": [
          {
            "url": "{VIB_ENV_CHARTS_REGISTRY}",
            "authn": {
              "username": "{VIB_ENV_CHARTS_REGISTRY_USERNAME}",
              "password": "{VIB_ENV_CHARTS_REGISTRY_PASSWORD}"
            }
          }
        ],
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/scylladb"
        }
      },
      "actions": [
        {
          "action_id": "helm-package"
        },
        {
          "action_id": "helm-lint"
        }
      ]
    },
    "verify": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/scylladb"
        },
        "target_platform": {
          "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
          "size": {
            "name": "S4"
          }
        }
      },
      "actions": [
        {
          "action_id": "goss",
          "params": {
            "resources": {
              "path": "/.vib"
            },
            "tests_file": "scylladb/goss/goss.yaml",
            "vars_file": "scylladb/runtime-parameters.yaml",
            "remote": {
              "pod": {
                "workload": "sts-scylladb"
              }
            }
          }
        },
        {
          "action_id": "ginkgo",
          "params": {
            "resources": {
              "path": "/.vib/scylladb/ginkgo"
            },
            "params": {
              "kubeconfig": "{{kubeconfig}}",
              "namespace": "{{namespace}}",
              "name": "scylladb",
              "username": "test_scylladb",
              "password": "ComplicatedPassword123!4"
            }
          }
        },
        {
          "action_id": "kubescape",
          "params": {
            "threshold": {VIB_ENV_KUBESCAPE_SCORE_THRESHOLD}
          }
        }
      ]
    }
  }
}
