Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1d3faf0
)
hs-test: exit immediately if docker build fails
01/41201/2
author
Adrian Villin
<
[email protected]
>
Wed, 17 Jul 2024 13:03:42 +0000
(15:03 +0200)
committer
Dave Wallace
<
[email protected]
>
Wed, 17 Jul 2024 16:07:32 +0000
(16:07 +0000)
Type: test
Change-Id: I299d023ce59b931697352c54e4796ba0af2ab1af
Signed-off-by: Adrian Villin <
[email protected]
>
extras/hs-test/script/build_hst.sh
patch
|
blob
|
history
diff --git
a/extras/hs-test/script/build_hst.sh
b/extras/hs-test/script/build_hst.sh
index
0f5c0a4
..
e7e8a0f
100755
(executable)
--- a/
extras/hs-test/script/build_hst.sh
+++ b/
extras/hs-test/script/build_hst.sh
@@
-69,7
+69,7
@@
fi
docker_build () {
tag=$1
dockername=$2
- set -x
+ set -
e
x
# shellcheck disable=2086
docker buildx build ${DOCKER_CACHE_ARGS} \
--build-arg UBUNTU_VERSION \
@@
-78,7
+78,7
@@
docker_build () {
--build-arg HTTP_PROXY="$HTTP_PROXY" \
--build-arg HTTPS_PROXY="$HTTP_PROXY" \
-t "$tag" -f docker/Dockerfile."$dockername" .
- set +x
+ set +
e
x
}
docker_build hs-test/vpp vpp