Skip to content

Commit ac948bd

Browse files
Merge branch 'staging' into feat/produce-oci-distribution-metadata
2 parents 28243db + c42bbbb commit ac948bd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scripts/circleci-jobs/prepare_to_deploy.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LATEST_TAG=${LATEST_TAG_WITH_V:1}
77

88
# Config git
99
git config --global user.email "[email protected]"
10-
git config --global user.name "K-M Deploy Boy"
10+
git config --global user.name "K-M Deploy Bot"
1111

1212
# Clone repo
1313
git clone https://$GH_TOKEN@github.com/snyk/$KUBERNETES_MONITOR_DEPLOYER_REPO.git
@@ -16,7 +16,7 @@ git clone https://[email protected]/snyk/$KUBERNETES_MONITOR_DEPLOYER_REPO.gi
1616
cp -r snyk-monitor/* $KUBERNETES_MONITOR_DEPLOYER_REPO/helm
1717

1818
# Replace Chart.yaml with the Chart.yaml from the deployer repo
19-
echo $KUBERNETES_MONITOR_DEPLOYER_REPO/Chart.yaml >> $KUBERNETES_MONITOR_DEPLOYER_REPO/helm/Chart.yaml
19+
cat $KUBERNETES_MONITOR_DEPLOYER_REPO/Chart.yaml > $KUBERNETES_MONITOR_DEPLOYER_REPO/helm/Chart.yaml
2020

2121
# Create environment values file(s)
2222
cat >$KUBERNETES_MONITOR_DEPLOYER_REPO/helm/values/$PRODUCTION_YAML_FILE_NAME.yaml <<EOF
@@ -53,8 +53,7 @@ metadata:
5353
EOF
5454

5555
# Add extra values
56-
echo $KUBERNETES_MONITOR_DEPLOYER_REPO/extra-production-values.yaml > $KUBERNETES_MONITOR_DEPLOYER_REPO/helm/values/$PRODUCTION_YAML_FILE_NAME.yaml
57-
56+
cat $KUBERNETES_MONITOR_DEPLOYER_REPO/extra-production-values.yaml >> $KUBERNETES_MONITOR_DEPLOYER_REPO/helm/values/$PRODUCTION_YAML_FILE_NAME.yaml
5857

5958
cd $KUBERNETES_MONITOR_DEPLOYER_REPO
6059
git commit --allow-empty -am "feat: deploy k-m $LATEST_TAG_WITH_V"

0 commit comments

Comments
 (0)