projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jjb: Use image type to different vm and container distrobuild images
[lttng-ci.git]
/
pipelines
/
images
/
imagebuild.sh
diff --git
a/pipelines/images/imagebuild.sh
b/pipelines/images/imagebuild.sh
index 340f71c744dbc3323fe75e9ce0a39f470f4523f0..ecc192dae06bd0d3c166b2d20c2b8a91c51cabaf 100644
(file)
--- a/
pipelines/images/imagebuild.sh
+++ b/
pipelines/images/imagebuild.sh
@@
-91,7
+91,7
@@
set +e
TRIES_MAX=3
TRIES=0
while [[ "${TRIES}" -lt "${TRIES_MAX}" ]] ; do
TRIES_MAX=3
TRIES=0
while [[ "${TRIES}" -lt "${TRIES_MAX}" ]] ; do
- if ! INSTANCE_NAME=$(lxc -q launch -e "${VM_ARG[@]}" -p default -p "${LXD_INSTANCE_PROFILE}" "${SOURCE_IMAGE_NAME}") ; then
+ if ! INSTANCE_NAME=$(lxc -q launch -e "${VM_ARG[@]}" -p default -p "${LXD_INSTANCE_PROFILE}" "${SOURCE_IMAGE_NAME}
/${IMAGE_TYPE}
") ; then
# Try from images
if ! INSTANCE_NAME=$(lxc -q launch -e "${VM_ARG[@]}" -p default -p "${LXD_INSTANCE_PROFILE}" images:"${SOURCE_IMAGE_NAME}") ; then
TRIES=$((TRIES + 1))
# Try from images
if ! INSTANCE_NAME=$(lxc -q launch -e "${VM_ARG[@]}" -p default -p "${LXD_INSTANCE_PROFILE}" images:"${SOURCE_IMAGE_NAME}") ; then
TRIES=$((TRIES + 1))
This page took
0.022364 seconds
and
4
git commands to generate.