From a39bb24c7de0fde7d2ea874bc04444ccf655a9ce Mon Sep 17 00:00:00 2001 From: Pablo Acevedo Montserrat Date: Fri, 18 Oct 2024 14:19:23 +0200 Subject: [PATCH] USHIFT-4129: Fix package sources templates --- test/package-sources/rhocp-y.toml | 3 +-- test/package-sources/rhocp-y1.toml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/test/package-sources/rhocp-y.toml b/test/package-sources/rhocp-y.toml index 97e397e6956..8fb8a5ac260 100644 --- a/test/package-sources/rhocp-y.toml +++ b/test/package-sources/rhocp-y.toml @@ -7,8 +7,7 @@ check_gpg = true check_ssl = true system = false rhsm = true -{{- end -}} -{{- if env.Getenv "RHOCP_MINOR_Y_BETA" "" -}} +{{- else if env.Getenv "RHOCP_MINOR_Y_BETA" "" -}} id = "rhocp-y" name = "rhocp BETA" type = "yum-baseurl" diff --git a/test/package-sources/rhocp-y1.toml b/test/package-sources/rhocp-y1.toml index 75decc64d4a..542c2cebcaa 100644 --- a/test/package-sources/rhocp-y1.toml +++ b/test/package-sources/rhocp-y1.toml @@ -7,8 +7,7 @@ check_gpg = true check_ssl = true system = false rhsm = true -{{- end -}} -{{- if env.Getenv "RHOCP_MINOR_Y1_BETA" "" -}} +{{- else if env.Getenv "RHOCP_MINOR_Y1_BETA" "" -}} id = "rhocp-y1" name = "rhocp Y-1 BETA" type = "yum-baseurl"