mirror of https://github.com/containers/podman.git
Adjust get_ci_vm.sh for substitution
Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
5f99703594
commit
b843804d51
|
@ -28,7 +28,7 @@ env:
|
|||
TIMESTAMP: "awk --file ${CIRRUS_WORKING_DIR}/${SCRIPT_BASE}/timestamp.awk"
|
||||
|
||||
####
|
||||
#### Cache-image names to test with
|
||||
#### Cache-image names to test with (double-quotes around names are critical)
|
||||
###
|
||||
_BUILT_IMAGE_SUFFIX: "libpod-5751722641719296"
|
||||
FEDORA_CACHE_IMAGE_NAME: "fedora-30-${_BUILT_IMAGE_SUFFIX}"
|
||||
|
|
|
@ -68,9 +68,10 @@ delvm() {
|
|||
}
|
||||
|
||||
image_hints() {
|
||||
_BIS=$(egrep -m 1 '_BUILT_IMAGE_SUFFIX:[[:space:]+"[[:print:]]+"' "$LIBPODROOT/.cirrus.yml" | cut -d: -f 2 | tr -d '"[:blank:]')
|
||||
egrep '[[:space:]]+[[:alnum:]].+_CACHE_IMAGE_NAME:[[:space:]+"[[:print:]]+"' \
|
||||
"$LIBPODROOT/.cirrus.yml" | cut -d: -f 2 | tr -d '"[:blank:]' | \
|
||||
grep -v 'notready' | sort -u
|
||||
sed -r -e "s/\\\$[{]_BUILT_IMAGE_SUFFIX[}]/$_BIS/" | sort -u
|
||||
}
|
||||
|
||||
show_usage() {
|
||||
|
|
Loading…
Reference in New Issue