place CI fix into common.sh
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a0cc29738b
commit
2970736105
|
@ -9,8 +9,6 @@ steps:
|
||||||
# unfortunately we have to do everything in one step because there's no
|
# unfortunately we have to do everything in one step because there's no
|
||||||
# way to share system packages between steps
|
# way to share system packages between steps
|
||||||
commands:
|
commands:
|
||||||
# TODO: fix Drone
|
|
||||||
- chmod 1777 /tmp
|
|
||||||
# install dependencies
|
# install dependencies
|
||||||
- apt update && apt install -y libkrb5-dev libpq-dev python3-dev
|
- apt update && apt install -y libkrb5-dev libpq-dev python3-dev
|
||||||
- python3 -m venv venv
|
- python3 -m venv venv
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# TODO: fix Drone
|
||||||
|
chmod 1777 /tmp
|
||||||
|
|
||||||
# don't resolve container names to *real* CSC machines
|
# don't resolve container names to *real* CSC machines
|
||||||
sed -E '/^(domain|search)[[:space:]]+csclub.uwaterloo.ca/d' /etc/resolv.conf > /tmp/resolv.conf
|
sed -E '/^(domain|search)[[:space:]]+csclub.uwaterloo.ca/d' /etc/resolv.conf > /tmp/resolv.conf
|
||||||
cp /tmp/resolv.conf /etc/resolv.conf
|
cp /tmp/resolv.conf /etc/resolv.conf
|
||||||
|
|
Loading…
Reference in New Issue