From f7801d994bff4128a570f5e2a0e60fe955fcddd5 Mon Sep 17 00:00:00 2001 From: "yuhang.wong1" Date: Thu, 5 Oct 2023 13:24:57 -0400 Subject: [PATCH 1/2] update deploy bash to sh --- stable/fdi-dotstatsuite/templates/deploy/authz.yaml | 2 +- stable/fdi-dotstatsuite/templates/deploy/nsidesign.yaml | 2 +- stable/fdi-dotstatsuite/templates/deploy/nsireset.yaml | 2 +- stable/fdi-dotstatsuite/templates/deploy/nsistable.yaml | 2 +- stable/fdi-dotstatsuite/templates/deploy/nsistaging.yaml | 2 +- stable/fdi-dotstatsuite/templates/deploy/transfer.yaml | 8 ++++---- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/stable/fdi-dotstatsuite/templates/deploy/authz.yaml b/stable/fdi-dotstatsuite/templates/deploy/authz.yaml index b2671e93..78209176 100644 --- a/stable/fdi-dotstatsuite/templates/deploy/authz.yaml +++ b/stable/fdi-dotstatsuite/templates/deploy/authz.yaml @@ -105,7 +105,7 @@ spec: secretKeyRef: name: {{ .Values.fullnameOverride }}-mssql-common key: password - command: ['bash', '-c'] + command: ['sh', '-c'] args: - dotnet DotStat.DbUp.dll upgrade --connectionString "Server={{ template "dotstatsuite.databaseHost" . }};Database=$(COMMON_DB);User=$(SA_USER);Password=$(SA_PASSWORD);" --commonDb --loginName $(COMMON_USER) --loginPwd $(COMMON_PASSWORD) --force $(NO_DBA_SCRIPTS) {{- end }} diff --git a/stable/fdi-dotstatsuite/templates/deploy/nsidesign.yaml b/stable/fdi-dotstatsuite/templates/deploy/nsidesign.yaml index a1af226b..c96826e4 100644 --- a/stable/fdi-dotstatsuite/templates/deploy/nsidesign.yaml +++ b/stable/fdi-dotstatsuite/templates/deploy/nsidesign.yaml @@ -147,7 +147,7 @@ spec: secretKeyRef: name: {{ .Values.fullnameOverride }}-mssql-read-only key: password - command: ['bash', '-c'] + command: ['sh', '-c'] args: - dotnet DotStat.DbUp.dll upgrade --connectionString "Server={{ template "dotstatsuite.databaseHost" . }};Database=$(DESIGN_STRUCTURE_DB);User=$(SA_USER);Password=$(SA_PASSWORD);" --mappingStoreDb --loginName $(DESIGN_STRUCTURE_USER) --loginPwd $(DESIGN_STRUCTURE_PASSWORD) --force --alterPassword --ROloginName ${READ_ONLY_USER} --ROloginPwd ${READ_ONLY_PASSWORD} $(NO_DBA_SCRIPTS) {{- end }} diff --git a/stable/fdi-dotstatsuite/templates/deploy/nsireset.yaml b/stable/fdi-dotstatsuite/templates/deploy/nsireset.yaml index c0e256f9..870770aa 100644 --- a/stable/fdi-dotstatsuite/templates/deploy/nsireset.yaml +++ b/stable/fdi-dotstatsuite/templates/deploy/nsireset.yaml @@ -148,7 +148,7 @@ spec: secretKeyRef: name: {{ .Values.fullnameOverride }}-mssql-read-only key: password - command: ['bash', '-c'] + command: ['sh', '-c'] args: - dotnet DotStat.DbUp.dll upgrade --connectionString "Server={{ template "dotstatsuite.databaseHost" . }};Database=$(RESET_STRUCTURE_DB);User=$(SA_USER);Password=$(SA_PASSWORD);" --mappingStoreDb --loginName $(RESET_STRUCTURE_USER) --loginPwd $(RESET_STRUCTURE_PASSWORD) --force --dropDb --alterPassword --ROloginName ${READ_ONLY_USER} --ROloginPwd ${READ_ONLY_PASSWORD} $(NO_DBA_SCRIPTS) {{- end }} diff --git a/stable/fdi-dotstatsuite/templates/deploy/nsistable.yaml b/stable/fdi-dotstatsuite/templates/deploy/nsistable.yaml index a905a081..309f0096 100644 --- a/stable/fdi-dotstatsuite/templates/deploy/nsistable.yaml +++ b/stable/fdi-dotstatsuite/templates/deploy/nsistable.yaml @@ -147,7 +147,7 @@ spec: secretKeyRef: name: {{ .Values.fullnameOverride }}-mssql-read-only key: password - command: ['bash', '-c'] + command: ['sh', '-c'] args: - dotnet DotStat.DbUp.dll upgrade --connectionString "Server={{ template "dotstatsuite.databaseHost" . }};Database=$(STABLE_STRUCTURE_DB);User=$(SA_USER);Password=$(SA_PASSWORD);" --mappingStoreDb --loginName $(STABLE_STRUCTURE_USER) --loginPwd $(STABLE_STRUCTURE_PASSWORD) --force --alterPassword --ROloginName ${READ_ONLY_USER} --ROloginPwd ${READ_ONLY_PASSWORD} $(NO_DBA_SCRIPTS) {{- end }} diff --git a/stable/fdi-dotstatsuite/templates/deploy/nsistaging.yaml b/stable/fdi-dotstatsuite/templates/deploy/nsistaging.yaml index 90ae0f79..3cedd443 100644 --- a/stable/fdi-dotstatsuite/templates/deploy/nsistaging.yaml +++ b/stable/fdi-dotstatsuite/templates/deploy/nsistaging.yaml @@ -147,7 +147,7 @@ spec: secretKeyRef: name: {{ .Values.fullnameOverride }}-mssql-read-only key: password - command: ['bash', '-c'] + command: ['sh', '-c'] args: - dotnet DotStat.DbUp.dll upgrade --connectionString "Server={{ template "dotstatsuite.databaseHost" . }};Database=$(STAGING_STRUCTURE_DB);User=$(SA_USER);Password=$(SA_PASSWORD);" --mappingStoreDb --loginName $(STAGING_STRUCTURE_USER) --loginPwd $(STAGING_STRUCTURE_PASSWORD) --force --alterPassword --ROloginName ${READ_ONLY_USER} --ROloginPwd ${READ_ONLY_PASSWORD} $(NO_DBA_SCRIPTS) {{- end }} diff --git a/stable/fdi-dotstatsuite/templates/deploy/transfer.yaml b/stable/fdi-dotstatsuite/templates/deploy/transfer.yaml index 3eb714fc..52419eb6 100644 --- a/stable/fdi-dotstatsuite/templates/deploy/transfer.yaml +++ b/stable/fdi-dotstatsuite/templates/deploy/transfer.yaml @@ -252,7 +252,7 @@ spec: secretKeyRef: name: {{ .Values.fullnameOverride }}-mssql-read-only key: password - command: ['bash', '-c'] + command: ['sh', '-c'] args: - dotnet DotStat.DbUp.dll upgrade --connectionString "Server={{ template "dotstatsuite.databaseHost" . }};Database=$(STABLE_DATA_DB);User=$(SA_USER);Password=$(SA_PASSWORD);" --executionTimeout 1440 --dataDb --loginName $(STABLE_DATA_USER) --loginPwd $(PASSWORD) --force --alterPassword --ROloginName ${READ_ONLY_USER} --ROloginPwd ${READ_ONLY_PASSWORD} $(NO_DBA_SCRIPTS) {{- end }} @@ -283,7 +283,7 @@ spec: secretKeyRef: name: {{ .Values.fullnameOverride }}-mssql-read-only key: password - command: ['bash', '-c'] + command: ['sh', '-c'] args: - dotnet DotStat.DbUp.dll upgrade --connectionString "Server={{ template "dotstatsuite.databaseHost" . }};Database=$(RESET_DATA_DB);User=$(SA_USER);Password=$(SA_PASSWORD);" --executionTimeout 1440 --dataDb --loginName $(RESET_DATA_USER) --loginPwd $(PASSWORD) --force --dropDb --alterPassword --ROloginName ${READ_ONLY_USER} --ROloginPwd ${READ_ONLY_PASSWORD} $(NO_DBA_SCRIPTS) {{- end }} @@ -314,7 +314,7 @@ spec: secretKeyRef: name: {{ .Values.fullnameOverride }}-mssql-read-only key: password - command: ['bash', '-c'] + command: ['sh', '-c'] args: - dotnet DotStat.DbUp.dll upgrade --connectionString "Server={{ template "dotstatsuite.databaseHost" . }};Database=$(DESIGN_DATA_DB);User=$(SA_USER);Password=$(SA_PASSWORD);" --executionTimeout 1440 --dataDb --loginName $(DESIGN_DATA_USER) --loginPwd $(PASSWORD) --force --alterPassword --ROloginName ${READ_ONLY_USER} --ROloginPwd ${READ_ONLY_PASSWORD} $(NO_DBA_SCRIPTS) {{- end }} @@ -345,7 +345,7 @@ spec: secretKeyRef: name: {{ .Values.fullnameOverride }}-mssql-read-only key: password - command: ['bash', '-c'] + command: ['sh', '-c'] args: - dotnet DotStat.DbUp.dll upgrade --connectionString "Server={{ template "dotstatsuite.databaseHost" . }};Database=$(STAGING_DATA_DB);User=$(SA_USER);Password=$(SA_PASSWORD);" --executionTimeout 1440 --dataDb --loginName $(STAGING_DATA_USER) --loginPwd $(PASSWORD) --force --alterPassword --ROloginName ${READ_ONLY_USER} --ROloginPwd ${READ_ONLY_PASSWORD} $(NO_DBA_SCRIPTS) {{- end }} From 2a490a251cf8b07cab59c1e179a80e08c6d5d6cd Mon Sep 17 00:00:00 2001 From: "yuhang.wong1" Date: Mon, 27 Nov 2023 08:21:10 -0500 Subject: [PATCH 2/2] increment version in Chart.yaml --- stable/fdi-dotstatsuite/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stable/fdi-dotstatsuite/Chart.yaml b/stable/fdi-dotstatsuite/Chart.yaml index 68111774..07245992 100644 --- a/stable/fdi-dotstatsuite/Chart.yaml +++ b/stable/fdi-dotstatsuite/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.20 +version: 0.2.21 # This is the version number of the application being deployed. This version number should be