From 65ce3996ac7d0afb380dd0ce0e0323fd36967e27 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Mon, 14 Dec 2020 15:18:10 -0500 Subject: [PATCH] build: Do not let agent install fail the build We don't have an agent for FreeBSD right now. --- ci/build/build-code-server.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/build/build-code-server.sh b/ci/build/build-code-server.sh index 0aff035af..1ede7a88a 100755 --- a/ci/build/build-code-server.sh +++ b/ci/build/build-code-server.sh @@ -20,8 +20,10 @@ main() { if ! [ -f ./lib/coder-cloud-agent ]; then OS="$(uname | tr '[:upper:]' '[:lower:]')" + set +e curl -fsSL "https://storage.googleapis.com/coder-cloud-releases/agent/latest/$OS/cloud-agent" -o ./lib/coder-cloud-agent chmod +x ./lib/coder-cloud-agent + set -e fi parcel build \