Skip to content

Commit 8046583

Browse files
automated commit
Signed-off-by: Public copy <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 41754b3 commit 8046583

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

images/python/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module "test-latest" {
2727
source = "./tests"
2828
digest = module.latest.image_ref
2929
target_repository = var.target_repository
30-
image_type = "python-latest-prod"
30+
name = "python-latest-prod"
3131
}
3232

3333
module "test-latest-dev" {
@@ -36,7 +36,7 @@ module "test-latest-dev" {
3636
digest = module.latest.dev_ref
3737
prod_digest = module.latest.image_ref
3838
target_repository = var.target_repository
39-
image_type = "python-latest-dev"
39+
name = "python-latest-dev"
4040
}
4141

4242
resource "oci_tag" "latest" {

images/python/tests/main.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ variable "target_repository" {
2727
description = "The target repository for the test harness"
2828
}
2929

30-
variable "image_type" {
31-
description = "The type of the Python image being tested (dev vs non-dev)"
30+
variable "name" {
31+
description = "The name to use for the test harness"
32+
default = "python-test"
3233
}
3334

3435
module "bash_sandbox" {
@@ -38,7 +39,7 @@ module "bash_sandbox" {
3839

3940
module "dind_test" {
4041
source = "../../../tflib/imagetest/tests/docker-in-docker"
41-
name = var.image_type
42+
name = var.name
4243

4344
images = {
4445
python = var.digest

0 commit comments

Comments
 (0)