Skip to content

Commit

Permalink
add extra steps
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Wolf <josh@wolfs.io>
  • Loading branch information
joshrwolf committed Apr 17, 2024
1 parent 981c653 commit 04cd489
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions images/k8ssandra-operator/tests/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ variable "digest" {
description = "The image digest to run tests over."
}

variable "extra_feature_steps" {
default = []
}

data "oci_string" "ref" {
input = var.digest
}
Expand Down Expand Up @@ -51,7 +55,7 @@ resource "imagetest_feature" "basic" {
name = "Basic"
description = "Basic functionality of the image."

steps = [
steps = concat([
{
name = "Helm install cert-manager"
cmd = module.helm_cert_manager.install_cmd
Expand All @@ -60,7 +64,7 @@ resource "imagetest_feature" "basic" {
name = "Helm install k8ssandra"
cmd = module.helm_k8ssandra.install_cmd
},
]
], var.extra_feature_steps)

labels = {
type = "k8s"
Expand Down

0 comments on commit 04cd489

Please sign in to comment.