From 6633f9c2cec1dd8d93f969ca1c0dd6ee76296451 Mon Sep 17 00:00:00 2001 From: Harsh Tamakuwala Date: Sun, 22 Jun 2025 12:17:19 +0530 Subject: [PATCH 1/2] [patch] Add manage upgrade type support --- src/mas/devops/templates/pipelinerun-install.yml.j2 | 4 ++++ src/mas/devops/templates/pipelinerun-upgrade.yml.j2 | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/mas/devops/templates/pipelinerun-install.yml.j2 b/src/mas/devops/templates/pipelinerun-install.yml.j2 index 242270cd..e64d984e 100644 --- a/src/mas/devops/templates/pipelinerun-install.yml.j2 +++ b/src/mas/devops/templates/pipelinerun-install.yml.j2 @@ -676,6 +676,10 @@ spec: - name: mas_app_settings_default_jms value: "{{ mas_app_settings_default_jms }}" {%- endif %} + {%- if mas_appws_upgrade_type is defined and mas_appws_upgrade_type != "" %} + - name: mas_appws_upgrade_type + value: "{{ mas_appws_upgrade_type }}" + {%- endif %} {%- endif %} {%- if mas_app_channel_monitor is defined and mas_app_channel_monitor != "" %} diff --git a/src/mas/devops/templates/pipelinerun-upgrade.yml.j2 b/src/mas/devops/templates/pipelinerun-upgrade.yml.j2 index fae1dc7c..4f64f2b0 100644 --- a/src/mas/devops/templates/pipelinerun-upgrade.yml.j2 +++ b/src/mas/devops/templates/pipelinerun-upgrade.yml.j2 @@ -237,6 +237,10 @@ spec: - name: mas_app_settings_default_jms value: "{{ mas_app_settings_default_jms }}" {%- endif %} + {%- if mas_appws_upgrade_type is defined and mas_appws_upgrade_type != "" %} + - name: mas_appws_upgrade_type + value: "{{ mas_appws_upgrade_type }}" + {%- endif %} {%- endif %} From 0d10c69dbca413baabc5acf23f0c1ff5837948bd Mon Sep 17 00:00:00 2001 From: Harsh Tamakuwala Date: Fri, 11 Jul 2025 22:42:58 +0530 Subject: [PATCH 2/2] [patch] remove upgrade var --- src/mas/devops/templates/pipelinerun-upgrade.yml.j2 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mas/devops/templates/pipelinerun-upgrade.yml.j2 b/src/mas/devops/templates/pipelinerun-upgrade.yml.j2 index 4f64f2b0..fae1dc7c 100644 --- a/src/mas/devops/templates/pipelinerun-upgrade.yml.j2 +++ b/src/mas/devops/templates/pipelinerun-upgrade.yml.j2 @@ -237,10 +237,6 @@ spec: - name: mas_app_settings_default_jms value: "{{ mas_app_settings_default_jms }}" {%- endif %} - {%- if mas_appws_upgrade_type is defined and mas_appws_upgrade_type != "" %} - - name: mas_appws_upgrade_type - value: "{{ mas_appws_upgrade_type }}" - {%- endif %} {%- endif %}