49
|
1 #
|
|
2 # Pulls updates from upstream repository for images matching filter. The
|
|
3 # default filter pulls all ssdt application images.
|
|
4 #
|
|
5 # Usage:
|
|
6 # pull-updates.sh [application] [filter]
|
|
7 #
|
|
8 # defaults:
|
|
9 # application=all applications
|
|
10 # filter=label=io.ssdt.app[=application]
|
|
11 #
|
|
12 # Note: if filter is provided, the first argument is ignored. A complete filter must be supplied.
|
|
13 #
|
|
14 APP=${1:+=$1}
|
|
15 FILTER=${2:-label=io.ssdt.app$APP}
|
|
16 while read -a line
|
|
17 do
|
|
18 repo=${line[0]}
|
|