-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathupdate-charts-dep.sh
More file actions
executable file
·85 lines (77 loc) · 2.1 KB
/
update-charts-dep.sh
File metadata and controls
executable file
·85 lines (77 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/usr/bin/env bash
#
# Script to update all Helm Chart Dependencies
#
set -eux
trap 'echo "Dep update failed...exiting. Please fix me!"' ERR
echo "Removing old charts..."
find ./ -name "charts"| xargs rm -Rf
find ./ -name "tmpcharts"| xargs rm -Rf
declare -a charts=(
example-mojaloop-backend
ml-operator
simulator
ml-testing-toolkit
ml-testing-toolkit-cli
sdk-scheme-adapter/chart-service
sdk-scheme-adapter
mojaloop-ttk-simulators/chart-sim1
mojaloop-ttk-simulators/chart-sim2
mojaloop-ttk-simulators/chart-sim3
mojaloop-ttk-simulators/e2e-sim1
mojaloop-ttk-simulators/e2e-sim2
mojaloop-ttk-simulators/e2e-sim3
mojaloop-ttk-simulators/e2e-sim-fxp1
mojaloop-ttk-simulators/e2e-sim-ttk-backend
mojaloop-ttk-simulators
eventstreamprocessor
monitoring/promfana
monitoring/efk
account-lookup-service
als-oracle-pathfinder
als-msisdn-oracle
als-static-oracle
centralledger/chart-handler-admin-transfer
centralledger/chart-handler-timeout
centralledger/chart-handler-transfer-fulfil
centralledger/chart-handler-transfer-get
centralledger/chart-handler-transfer-position
centralledger/chart-handler-transfer-position-batch
centralledger/chart-handler-transfer-prepare
centralledger/chart-service
centralledger
centralsettlement
ml-api-adapter
quoting-service
transaction-requests-service
emailnotifier
centraleventprocessor
bulk-centralledger
bulk-api-adapter
mojaloop-bulk
mojaloop-simulator
thirdparty/chart-auth-svc
thirdparty/chart-consent-oracle
thirdparty/chart-tp-api-svc
thirdparty
merchant-registry-svc
inter-scheme-proxy-adapter
merchant-registry-svc
connection-manager
mojaloop-iam
mojaloop
)
echo "Updating all Charts..."
for chart in "${charts[@]}"
do
echo "---=== Updating $chart ===---"
helm dep up "$chart" --skip-refresh
done
set +x
echo "\
Chart updates completed.\n \
Ensure you check the output for any errors. \n \
Ignore any http errors when connecting to \"local\" chart repository.\n \
\n \
Happy Helming!
"