Skip to content

Commit

Permalink
automated commit
Browse files Browse the repository at this point in the history
Signed-off-by: Public copy <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Oct 10, 2024
1 parent b282d61 commit 71af01c
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 158 deletions.
21 changes: 0 additions & 21 deletions images/cert-exporter/tests/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,24 +66,3 @@ resource "imagetest_feature" "basic" {
}
}

resource "imagetest_harness_docker" "docker" {
name = "docker"
inventory = data.imagetest_inventory.this
}

resource "imagetest_feature" "image" {
name = "image"
description = "Basic image test"
harness = imagetest_harness_docker.docker

steps = [
{
name = "Image starts"
cmd = "docker run --rm ${var.digest} --help"
},
]

labels = {
type = "container"
}
}
21 changes: 0 additions & 21 deletions images/consul/tests/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,24 +54,3 @@ resource "imagetest_feature" "basic" {
}
}

resource "imagetest_harness_docker" "docker" {
name = "docker"
inventory = data.imagetest_inventory.this
}

resource "imagetest_feature" "image" {
name = "image"
description = "Basic image test"
harness = imagetest_harness_docker.docker

steps = [
{
name = "--version"
cmd = "docker run --rm ${var.digest} --version"
},
]

labels = {
type = "container"
}
}
25 changes: 0 additions & 25 deletions images/grafana-agent-operator/tests/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,28 +58,3 @@ resource "imagetest_feature" "basic" {
}
}

resource "imagetest_harness_docker" "docker" {
name = "docker"
inventory = data.imagetest_inventory.this
}

resource "imagetest_feature" "image" {
name = "image"
description = "Basic image test"
harness = imagetest_harness_docker.docker

steps = [
{
name = "-help"
cmd = "docker run --rm ${var.digest} -help"
},
{
name = "-version"
cmd = "docker run --rm ${var.digest} -version"
},
]

labels = {
type = "container"
}
}
22 changes: 0 additions & 22 deletions images/metrics-server/tests/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,3 @@ resource "imagetest_feature" "basic" {
type = "k8s"
}
}

resource "imagetest_harness_docker" "docker" {
name = "docker"
inventory = data.imagetest_inventory.this
}

resource "imagetest_feature" "image" {
name = "image"
description = "Basic image test"
harness = imagetest_harness_docker.docker

steps = [
{
name = "--version"
cmd = "docker run --rm ${var.digest} --version"
},
]

labels = {
type = "container"
}
}
21 changes: 0 additions & 21 deletions images/prometheus-elasticsearch-exporter/tests/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,3 @@ resource "imagetest_feature" "basic" {
}
}

resource "imagetest_harness_docker" "docker" {
name = "docker"
inventory = data.imagetest_inventory.this
}

resource "imagetest_feature" "image" {
name = "image"
description = "Basic image test"
harness = imagetest_harness_docker.docker

steps = [
{
name = "--version"
cmd = "docker run --rm ${var.digest} --version"
},
]

labels = {
type = "container"
}
}
22 changes: 0 additions & 22 deletions images/prometheus-statsd-exporter/tests/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,25 +54,3 @@ resource "imagetest_feature" "basic" {
type = "k8s"
}
}

resource "imagetest_harness_docker" "docker" {
name = "docker"
inventory = data.imagetest_inventory.this
}

resource "imagetest_feature" "image" {
name = "image"
description = "Basic image test"
harness = imagetest_harness_docker.docker

steps = [
{
name = "--version"
cmd = "docker run --rm ${var.digest} --version"
},
]

labels = {
type = "container"
}
}
26 changes: 0 additions & 26 deletions images/promtail/tests/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,29 +60,3 @@ resource "imagetest_feature" "basic" {
type = "k8s"
}
}

resource "imagetest_harness_docker" "docker" {
name = "docker"
inventory = data.imagetest_inventory.this

envs = {
IMAGE_NAME : var.digest
}
}

resource "imagetest_feature" "image" {
name = "image"
description = "Basic image test for promtail"
harness = imagetest_harness_docker.docker

steps = [
{
name = "--version"
cmd = "docker run --rm $IMAGE_NAME --version"
},
]

labels = {
type = "container"
}
}

0 comments on commit 71af01c

Please sign in to comment.