Trace shell scripts

This commit is contained in:
Simon Sapin 2018-09-10 17:19:03 +02:00
parent 22ae3c7a42
commit b6342b5b76
5 changed files with 16 additions and 0 deletions

View file

@ -1,5 +1,8 @@
#!/bin/sh
set -e
set -x
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
export PATH="$HOME/.cargo/bin:$PATH"

View file

@ -1,3 +1,7 @@
#!/bin/sh
set -e
set -x
cd $(dirname $0)
python2 -m pip install -r requirements.txt --target vendored

View file

@ -1,5 +1,8 @@
#!/bin/sh
set -e
set -x
image="$1"
apt-get update -q

View file

@ -1,5 +1,8 @@
#!/bin/sh
set -e
set -x
image="$1"
cd $(dirname $0)
docker build . -f "$image/Dockerfile" -t "$image"

View file

@ -1,5 +1,8 @@
#!/bin/sh
set -e
set -x
./curl-artifact.sh $BUILD_TASK_ID public/executable.gz -o executable.gz
gunzip executable.gz
chmod +x executable