Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Furkan Türkal <[email protected]>
  • Loading branch information
Dentrax committed May 7, 2024
1 parent 751cb0b commit fb7e8b3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
14 changes: 7 additions & 7 deletions images/jitsucom-bulker/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module "latest" {
name = basename(path.module)
target_repository = local.repositories[each.key]
config = module.config[each.key].config
build-dev = true
# build-dev = true
}

module "test" {
Expand All @@ -46,10 +46,10 @@ resource "oci_tag" "latest" {
depends_on = [module.test]
}

resource "oci_tag" "latest-dev" {
for_each = local.components
# resource "oci_tag" "latest-dev" {
# for_each = local.components

digest_ref = module.latest[each.key].dev_ref
tag = "latest-dev"
depends_on = [module.test]
}
# digest_ref = module.latest[each.key].dev_ref
# tag = "latest-dev"
# depends_on = [module.test]
# }
5 changes: 5 additions & 0 deletions images/jitsucom-bulker/tests/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ module "helm" {
tag = data.oci_string.ref["syncctl"].pseudo_tag
}
}
tokenGenerator = {
image = {
tag = "1.30.0" # Latest is not exist.
}
}
}
}

Expand Down

0 comments on commit fb7e8b3

Please sign in to comment.