Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update(fdi-dotstatsuite): deploy yaml files bash to sh #448

Merged
merged 2 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/fdi-dotstatsuite/templates/deploy/authz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion stable/fdi-dotstatsuite/templates/deploy/nsidesign.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion stable/fdi-dotstatsuite/templates/deploy/nsireset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion stable/fdi-dotstatsuite/templates/deploy/nsistable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion stable/fdi-dotstatsuite/templates/deploy/nsistaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
8 changes: 4 additions & 4 deletions stable/fdi-dotstatsuite/templates/deploy/transfer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down