mirror of
https://github.com/servo/servo.git
synced 2025-07-06 06:53:38 +01:00
Trace shell scripts
This commit is contained in:
parent
22ae3c7a42
commit
b6342b5b76
5 changed files with 16 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
|
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
python2 -m pip install -r requirements.txt --target vendored
|
python2 -m pip install -r requirements.txt --target vendored
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
image="$1"
|
image="$1"
|
||||||
|
|
||||||
apt-get update -q
|
apt-get update -q
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
image="$1"
|
image="$1"
|
||||||
cd $(dirname $0)
|
cd $(dirname $0)
|
||||||
docker build . -f "$image/Dockerfile" -t "$image"
|
docker build . -f "$image/Dockerfile" -t "$image"
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
./curl-artifact.sh $BUILD_TASK_ID public/executable.gz -o executable.gz
|
./curl-artifact.sh $BUILD_TASK_ID public/executable.gz -o executable.gz
|
||||||
gunzip executable.gz
|
gunzip executable.gz
|
||||||
chmod +x executable
|
chmod +x executable
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue