Skip to content

Commit

Permalink
adjusted bash script to hopefully stop bad substitution error
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveW-STFC committed Sep 19, 2024
1 parent 12ea93a commit 3846349
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/staging/argocd/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies:
# https://github.com/argoproj/argo-helm/releases
# https://github.com/argoproj/argo-helm/releases -----
- name: argo-cd
version: 7.0.0
repository: https://argoproj.github.io/argo-helm
Expand Down
2 changes: 1 addition & 1 deletion charts/staging/argocd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ argo-cd:
tls: true

certificate:
# -- Deploy a Certificate resource (requires cert-manager)
# -- Deploy a Certificate resource (requires cert-manager) -----
enabled: true
issuer:
kind: "ClusterIssuer"
Expand Down
4 changes: 2 additions & 2 deletions scripts/pr_check_copy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ compare_files() {
# If the file is related to dev env then we are not interested.
# Will look to filter these out in the yaml file of the GitHub action.
if [[ $1 == *"staging/"* ]] ; then
compare_files "$1" "${!$1/staging/"$devEnv"}"
compare_files "$1" "${!$1/staging/"!$devEnv"}"
else
compare_files "$1" "${!$1/prod/"$stagingEnv"}" "${!$1/prod/"$devEnv"}"
compare_files "$1" "${!$1/prod/"!$stagingEnv"}" "${!$1/prod/"!$devEnv"}"
fi

0 comments on commit 3846349

Please sign in to comment.