From b5c1b8ebb73a0e21e0892551be510e29cfb6b538 Mon Sep 17 00:00:00 2001 From: Deezzir Date: Tue, 3 Dec 2024 15:54:13 -0500 Subject: [PATCH] Add latest track to dcgm promote --- terraform-plans/configs/dcgm-snap_main.tfvars | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/terraform-plans/configs/dcgm-snap_main.tfvars b/terraform-plans/configs/dcgm-snap_main.tfvars index fea94fb..f4e2b5f 100644 --- a/terraform-plans/configs/dcgm-snap_main.tfvars +++ b/terraform-plans/configs/dcgm-snap_main.tfvars @@ -23,7 +23,12 @@ templates = { source = "./templates/github/snap_promote.yaml.tftpl" destination = ".github/workflows/promote.yaml" vars = { - promote_options = "['core24/edge -> core24/candidate', 'core24/candidate -> core24/stable']" + promote_options = join("\n - ", [ + "'latest/edge -> latest/candidate'", + "'latest/candidate -> latest/stable'", + "'core24/edge -> core24/candidate'", + "'core24/candidate -> core24/stable'", + ]) } } tics = {