mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
export errors
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
3c3461d926
commit
d132db8e96
|
@ -6,6 +6,8 @@ SCRIPT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[
|
||||||
REPO_URL="${REPO_URL:-r.j3ss.co}"
|
REPO_URL="${REPO_URL:-r.j3ss.co}"
|
||||||
JOBS=${JOBS:-2}
|
JOBS=${JOBS:-2}
|
||||||
|
|
||||||
|
ERRORS="$(pwd)/errors"
|
||||||
|
|
||||||
build_and_push(){
|
build_and_push(){
|
||||||
base=$1
|
base=$1
|
||||||
suite=$2
|
suite=$2
|
||||||
|
@ -63,8 +65,6 @@ main(){
|
||||||
files=( $(find . -iname '*Dockerfile' | sed 's|./||' | sort) )
|
files=( $(find . -iname '*Dockerfile' | sed 's|./||' | sort) )
|
||||||
unset IFS
|
unset IFS
|
||||||
|
|
||||||
ERRORS="$(pwd)/errors"
|
|
||||||
|
|
||||||
# build all dockerfiles
|
# build all dockerfiles
|
||||||
echo "Running in parallel with ${JOBS} jobs."
|
echo "Running in parallel with ${JOBS} jobs."
|
||||||
parallel --tag --verbose --ungroup -j"${JOBS}" $SCRIPT dofile "{1}" ::: "${files[@]}"
|
parallel --tag --verbose --ungroup -j"${JOBS}" $SCRIPT dofile "{1}" ::: "${files[@]}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user