Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e8b19a

Browse files
committed
chore: add helm repo update before deployment in deploy.sh and deploy_job.sh
1 parent 32bba7b commit 6e8b19a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

scripts/deploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ latestTag=$(curl -s "https://registry.hub.docker.com/v2/repositories/mucsi96/pos
2626

2727
echo "Deploying mucsi96/postgres-azure-backup:$latestTag to https://backup.$host"
2828

29+
helm repo update
30+
2931
helm upgrade postgres-azure-backup mucsi96/spring-app \
3032
--install \
3133
--force \

scripts/deploy_job.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ latestTag=$(curl -s "https://registry.hub.docker.com/v2/repositories/mucsi96/pos
99

1010
echo "Deploying mucsi96/postgres-azure-backup-job:$latestTag to backup.$host"
1111

12+
helm repo update
13+
1214
helm upgrade postgres-azure-backup-cron-job backup-job/chart \
1315
--install \
1416
--force \

0 commit comments

Comments
 (0)