{
  "phases": {
    "package": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/dataplatform-bp2"
        }
      },
      "actions": [
        {
          "action_id": "helm-package"
        },
        {
          "action_id": "helm-lint"
        }
      ]
    },
    "verify": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/dataplatform-bp2"
        },
        "runtime_parameters": "ImRhdGFwbGF0Zm9ybSI6CiAgImVtaXR0ZXIiOgogICAgInNlcnZpY2UiOgogICAgICAicG9ydHMiOgogICAgICAgICJodHRwIjogODAKICAgICAgInR5cGUiOiAiTG9hZEJhbGFuY2VyIgoiZWxhc3RpY3NlYXJjaCI6CiAgImNvb3JkaW5hdGluZyI6CiAgICAicmVwbGljYUNvdW50IjogIjEiCiAgICAicmVzb3VyY2VzIjoKICAgICAgInJlcXVlc3RzIjoKICAgICAgICAibWVtb3J5IjogIjEyOE1pIgogICJkYXRhIjoKICAgICJyZXBsaWNhQ291bnQiOiAiMSIKICAgICJyZXNvdXJjZXMiOgogICAgICAicmVxdWVzdHMiOgogICAgICAgICJtZW1vcnkiOiAiMTI4TWkiCiAgImtpYmFuYSI6CiAgICAiZW5hYmxlZCI6IGZhbHNlCiAgIm1hc3RlciI6CiAgICAicmVwbGljYUNvdW50IjogIjEiCiAgICAicmVzb3VyY2VzIjoKICAgICAgInJlcXVlc3RzIjoKICAgICAgICAibWVtb3J5IjogIjEyOE1pIgoiZ2xvYmFsIjoKICAia2liYW5hRW5hYmxlZCI6IGZhbHNlCiJrYWZrYSI6CiAgInJlcGxpY2FDb3VudCI6IDEKICAicmVzb3VyY2VzIjoKICAgICJyZXF1ZXN0cyI6CiAgICAgICJtZW1vcnkiOiAiMTI4TWkiCiAgInpvb2tlZXBlciI6CiAgICAicmVwbGljYUNvdW50IjogMQogICAgInJlc291cmNlcyI6CiAgICAgICJyZXF1ZXN0cyI6CiAgICAgICAgIm1lbW9yeSI6ICIxMjhNaSIKImxvZ3N0YXNoIjoKICAicmVwbGljYUNvdW50IjogMQogICJyZXNvdXJjZXMiOgogICAgInJlcXVlc3RzIjoKICAgICAgIm1lbW9yeSI6ICIxMjhNaSIKInNwYXJrIjoKICAibWFzdGVyIjoKICAgICJyZXNvdXJjZXMiOgogICAgICAicmVxdWVzdHMiOgogICAgICAgICJtZW1vcnkiOiAiMTI4TWkiCiAgIndvcmtlciI6CiAgICAicmVwbGljYUNvdW50IjogMQogICAgInJlc291cmNlcyI6CiAgICAgICJyZXF1ZXN0cyI6CiAgICAgICAgIm1lbW9yeSI6ICIxMjhNaSIK",
        "target_platform": {
          "target_platform_id": "{VIB_ENV_ALTERNATIVE_TARGET_PLATFORM}",
          "size": {
            "name": "S4"
          }
        }
      },
      "actions": [
        {
          "action_id": "trivy",
          "params": {
            "threshold": "CRITICAL",
            "vuln_type": [
              "OS"
            ]
          }
        },
        {
          "action_id": "health-check",
          "params": {
            "endpoint": "lb-dataplatform-bp2-emitter-tcp-client",
            "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}"
            }
          }
        }
      ]
    }
  }
}
