Archived
1
0

build: Do not let agent install fail the build

We don't have an agent for FreeBSD right now.
This commit is contained in:
Anmol Sethi 2020-12-14 15:18:10 -05:00
parent 386af14a77
commit 65ce3996ac
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB

View File

@ -20,8 +20,10 @@ main() {
if ! [ -f ./lib/coder-cloud-agent ]; then if ! [ -f ./lib/coder-cloud-agent ]; then
OS="$(uname | tr '[:upper:]' '[:lower:]')" 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 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 chmod +x ./lib/coder-cloud-agent
set -e
fi fi
parcel build \ parcel build \