We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c0f0eb commit fa461ffCopy full SHA for fa461ff
ci/build/build-code-server.sh
@@ -19,9 +19,15 @@ main() {
19
fi
20
21
if ! [ -f ./lib/coder-cloud-agent ]; then
22
+ echo "Downloading the cloud agent..."
23
+
24
+ # for arch; we do not use OS from lib.sh and get our own.
25
+ # lib.sh normalizes macos to darwin - but cloud-agent's binaries do not
26
+ source ./ci/lib.sh
27
OS="$(uname | tr '[:upper:]' '[:lower:]')"
28
29
set +e
- curl -fsSL "https://storage.googleapis.com/coder-cloud-releases/agent/latest/$OS/cloud-agent" -o ./lib/coder-cloud-agent
30
+ curl -fsSL "https://github.com/cdr/cloud-agent/releases/latest/download/cloud-agent-$OS-$ARCH" -o ./lib/coder-cloud-agent
31
chmod +x ./lib/coder-cloud-agent
32
set -e
33
0 commit comments