Commit 28603fb7 authored by Konstantin Pavlov's avatar Konstantin Pavlov

rebuild.sh: rebuild changed images.

parent 60da5f88
#!/bin/sh #!/bin/sh
# this is a helper script to rebuild all base images and then all dependant images BASE=""
# rebuilding dind image is too dangerous LATE=""
BASE="jessie sid" CHANGED=$(for i in `git log --name-only --pretty=oneline --full-index $GIT_PREVIOUS_COMMIT..$GIT_COMMIT | grep -vE '^[0-9a-f]{40} '`; do echo `dirname $i`; done | sort | uniq)
DEPS="vlc-debian-unstable vlc-debian-android vlc-debian-win32 vlc-debian-win64" for dir in $CHANGED; do
case $dir in
videolan-base*)
BASE="$BASE $dir"
;;
*)
LATE="$LATE $dir"
;;
.)
;;
esac
done
for type in $BASE; do for b in $BASE; do
make -C videolan-base/$type push make -C $b push
done done
for dep in $DEPS; do for l in $LATE; do
make -C $dep push make -C $l push
done done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment