Last attempt for today to change gitlab CI behaviour

This commit is contained in:
Olivier DOSSMANN 2018-08-04 22:42:12 +02:00
parent 93f5f76573
commit 63ca496de5
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
image: debian:stretch image: debian:stretch-slim
stages: stages:
- build - build

View File

@ -23,6 +23,7 @@ fi
if ! test -d "$DIR"; then if ! test -d "$DIR"; then
sudo bash ./$SCRIPT -d $DIR -m http://ftp.halifax.rwth-aachen.de/alpine \ sudo bash ./$SCRIPT -d $DIR -m http://ftp.halifax.rwth-aachen.de/alpine \
-p abuild \ -p abuild \
-p bash \
-p build-base \ -p build-base \
-p git \ -p git \
-p lua-argparse \ -p lua-argparse \
@ -37,7 +38,7 @@ fi
sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$DIR/etc/rc.conf" sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$DIR/etc/rc.conf"
# Launch chroot # Launch chroot
bash $DIR/enter-chroot ./build || exit 1 sh $DIR/enter-chroot ./build || exit 1
# Insert pkg++ configuration in chroot # Insert pkg++ configuration in chroot
sudo mkdir -p "$DIR/opt/pkgxx/dev" && \ sudo mkdir -p "$DIR/opt/pkgxx/dev" && \