{
  "phases": {
    "package": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/grafana-tempo"
        }
      },
      "actions": [
        {
          "action_id": "helm-package"
        },
        {
          "action_id": "helm-lint"
        }
      ]
    },
    "verify": {
      "context": {
        "resources": {
          "url": "{SHA_ARCHIVE}",
          "path": "/bitnami/grafana-tempo"
        },
        "runtime_parameters": "dGVtcG86CiAgZGF0YURpcjogL2JpdG5hbWkvZ3JhZmFuYS10ZW1wby9kYXRhCiAgdHJhY2VzOgogICAgamFlZ2VyOgogICAgICB0aHJpZnRIdHRwOiB0cnVlCiAgc2VhcmNoOgogICAgZW5hYmxlZDogdHJ1ZQogIGNvbnRhaW5lclBvcnRzOgogICAgd2ViOiAzMTAxCiAgICBnb3NzaXBSaW5nOiA3OTQ2CmNvbXBhY3RvcjoKICBlbmFibGVkOiB0cnVlCiAgcmVwbGljYUNvdW50OiAyCiAgcG9kU2VjdXJpdHlDb250ZXh0OgogICAgZW5hYmxlZDogdHJ1ZQogICAgZnNHcm91cDogMTAwMgogIGNvbnRhaW5lclNlY3VyaXR5Q29udGV4dDoKICAgIGVuYWJsZWQ6IHRydWUKICAgIHJ1bkFzVXNlcjogMTAwMgogIHNlcnZpY2U6CiAgICB0eXBlOiBMb2FkQmFsYW5jZXIKICAgIHBvcnRzOgogICAgICBodHRwOiA4MApkaXN0cmlidXRvcjoKICByZXBsaWNhQ291bnQ6IDEKICBzZXJ2aWNlOgogICAgcG9ydHM6CiAgICAgIGh0dHA6IDMxMDEKaW5nZXN0ZXI6CiAgcmVwbGljYUNvdW50OiAxCiAgc2VydmljZToKICAgIHBvcnRzOgogICAgICBodHRwOiAzMTAxCnF1ZXJpZXI6CiAgcmVwbGljYUNvdW50OiAxCiAgc2VydmljZToKICAgIHBvcnRzOgogICAgICBodHRwOiAzMTAxCnF1ZXJ5RnJvbnRlbmQ6CiAgc2VydmljZToKICAgIHR5cGU6IExvYWRCYWxhbmNlcgogICAgcG9ydHM6CiAgICAgIGh0dHA6IDgwCnZ1bHR1cmU6CiAgZW5hYmxlZDogdHJ1ZQpleHRyYURlcGxveToKLSBhcGlWZXJzaW9uOiBhcHBzL3YxCiAga2luZDogRGVwbG95bWVudAogIG1ldGFkYXRhOgogICAgbGFiZWxzOgogICAgICBhcHA6IHZpYi1zeW50aGV0aWMtbG9hZC1nZW5lcmF0b3IKICAgIG5hbWU6IHZpYi1zeW50aGV0aWMtbG9hZC1nZW5lcmF0b3IKICBzcGVjOgogICAgcmVwbGljYXM6IDEKICAgIHNlbGVjdG9yOgogICAgICBtYXRjaExhYmVsczoKICAgICAgICBhcHA6IHZpYi1zeW50aGV0aWMtbG9hZC1nZW5lcmF0b3IKICAgIHRlbXBsYXRlOgogICAgICBtZXRhZGF0YToKICAgICAgICBsYWJlbHM6CiAgICAgICAgICBhcHA6IHZpYi1zeW50aGV0aWMtbG9hZC1nZW5lcmF0b3IKICAgICAgc3BlYzoKICAgICAgICBjb250YWluZXJzOgogICAgICAgIC0gaW1hZ2U6IG9tbml0aW9uL3N5bnRoZXRpYy1sb2FkLWdlbmVyYXRvcjoxLjAuMjkKICAgICAgICAgIG5hbWU6IHN5bnRoZXRpYy1sb2FkLWdlbmVyYXRvcgogICAgICAgICAgZW52OgogICAgICAgICAgLSBuYW1lOiBKQUVHRVJfQ09MTEVDVE9SX1VSTAogICAgICAgICAgICB2YWx1ZTogaHR0cDovL2dyYWZhbmEtdGVtcG8tZGlzdHJpYnV0b3I6MTQyNjgK",
        "target_platform": {
          "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
          "size": {
            "name": "M4"
          }
        }
      },
      "actions": [
        {
          "action_id": "health-check",
          "params": {
            "endpoint": "lb-grafana-tempo-query-frontend-http",
            "app_protocol": "HTTP"
          }
        },
        {
          "action_id": "goss",
          "params": {
            "resources": {
              "path": "/.vib/grafana-tempo/goss"
            },
            "remote": {
              "workload": "deploy-grafana-tempo-compactor"
            },
            "vars_file": "vars.yaml"
          }
        },
        {
          "action_id": "cypress",
          "params": {
            "resources": {
              "path": "/.vib/grafana-tempo/cypress"
            },
            "endpoint": "lb-grafana-tempo-compactor-http",
            "app_protocol": "HTTP",
            "env": {
              "compactorReplicaCount": "2",
              "distributorReplicaCount": "1",
              "ingesterReplicaCount": "1",
              "querierReplicaCount": "1",
              "gossipRingPort": "7946"
            }
          }
        },
        {
          "action_id": "ginkgo",
          "params": {
            "resources": {
              "path": "/.vib/grafana-tempo/ginkgo"

            },
            "params": {
              "kubeconfig": "{{kubeconfig}}",
              "namespace": "{{namespace}}",
              "api-port": "80"
            }
          }
        }
      ]
    }
  }
}
