{
  "phases": {
    "package": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/wordpress"
        }
      },
      "actions": [
        {
          "action_id": "helm-package"
        },
        {
          "action_id": "helm-lint"
        }
      ]
    },
    "verify": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/wordpress"
        },
        "runtime_parameters": "d29yZHByZXNzVXNlcm5hbWU6IHRlc3RfdXNlcgp3b3JkcHJlc3NQYXNzd29yZDogQ29tcGxpY2F0ZWRQYXNzd29yZDEyMyE0CndvcmRwcmVzc0VtYWlsOiB0ZXN0X3VzZXJfZW1haWxAZW1haWwuY29tCndvcmRwcmVzc0ZpcnN0TmFtZTogVGVzdE5hbWUKd29yZHByZXNzTGFzdE5hbWU6IFRlc3RMYXN0TmFtZQpzbXRwSG9zdDogbWFpbC5zZXJ2ZXIuY29tCnNtdHBQb3J0OiAxMjAKc210cFVzZXI6IHRlc3RfbWFpbF91c2VyCnNtdHBQYXNzd29yZDogdGVzdF9tYWlsX3Bhc3N3b3JkCm1hcmlhZGI6CiAgYXV0aDoKICAgIGRhdGFiYXNlOiB0ZXN0X3dvcmRwcmVzc19kYXRhYmFzZQogICAgdXNlcm5hbWU6IHRlc3Rfd29yZHByZXNzX3VzZXJuYW1lCiAgICBwYXNzd29yZDogdGVzdF93b3JkcHJlc3NfcGFzc3dvcmQKY29udGFpbmVyU2VjdXJpdHlDb250ZXh0OgogIGVuYWJsZWQ6IHRydWUKICBydW5Bc1VzZXI6IDEwMDIKICBydW5Bc05vblJvb3Q6IHRydWUKd29yZHByZXNzVGFibGVQcmVmaXg6IHdvcmRwcmVzc18K",
        "target_platform": {
          "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
          "size": {
            "name": "S4"
          }
        }
      },
      "actions": [
        {
          "action_id": "trivy",
          "params": {
            "threshold": "CRITICAL",
            "vuln_type": ["OS"]
          }
        },
        {
          "action_id": "health-check",
          "params": {
            "endpoint": "lb-wordpress-http",
            "app_protocol": "HTTP"
          }
        },
        {
          "action_id": "goss",
          "params": {
            "resources": {
              "path": "/.vib/wordpress/goss"
            },
            "remote": {
              "workload": "deploy-wordpress"
            },
            "wait": {
              "file": "goss-wait.yaml"
            }
          }
        },
        {
          "action_id": "cypress",
          "params": {
            "resources": {
              "path": "/.vib/wordpress/cypress"
            },
            "endpoint": "lb-wordpress-https",
            "app_protocol": "HTTPS",
            "env": {
              "username": "test_user",
              "password": "ComplicatedPassword123!4"
            }
          }
        },
        {
          "action_id": "jmeter",
          "params": {
            "resources": {
              "path": "/.vib/wordpress/jmeter"
            },
            "test_plan_file": "wordpress.jmx",
            "endpoint": "lb-wordpress-https",
            "app_protocol": "HTTPS",
            "env": {
              "wordpress.username": "test_user",
              "wordpress.password": "ComplicatedPassword123!4"
            }
          }
        }
      ]
    }
  }
}
