From 2970736105be84c0acda5f3c454b5c591858b462 Mon Sep 17 00:00:00 2001 From: Max Erenberg <> Date: Mon, 25 Oct 2021 08:18:25 -0400 Subject: [PATCH] place CI fix into common.sh --- .drone.yml | 2 -- .drone/common.sh | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1b118c2..0dee1cc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,8 +9,6 @@ steps: # unfortunately we have to do everything in one step because there's no # way to share system packages between steps commands: - # TODO: fix Drone - - chmod 1777 /tmp # install dependencies - apt update && apt install -y libkrb5-dev libpq-dev python3-dev - python3 -m venv venv diff --git a/.drone/common.sh b/.drone/common.sh index 0f7c287..de52459 100644 --- a/.drone/common.sh +++ b/.drone/common.sh @@ -1,3 +1,6 @@ +# TODO: fix Drone +chmod 1777 /tmp + # don't resolve container names to *real* CSC machines sed -E '/^(domain|search)[[:space:]]+csclub.uwaterloo.ca/d' /etc/resolv.conf > /tmp/resolv.conf cp /tmp/resolv.conf /etc/resolv.conf