You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/usr/bin/env bash
# Should be suitable to be `curl | bash`'d
set -euo pipefail
echo Installing ozy pointing at the ozy sample team configuration on GitHub...
OZY_CONFIG_URL=https://raw.githubusercontent.com/aquanauts/ozy/main/conf/sample-team-conf.yaml
OZY_OS=$(uname)
OZY_ARCH=$(uname -p)
#OZY_VERSION=$(curl -sL ${OZY_CONFIG_URL} | grep 'ozy_version:' | awk '{print $2}')
OZY_VERSION=0.1.8
echo Installing ozy v${OZY_VERSION} for ${OZY_OS}-${OZY_ARCH}
TMP_INSTALL_FILE="$(mktemp)"
curl -sL -o "${TMP_INSTALL_FILE}" https://github.com/aquanauts/ozy/releases/download/v${OZY_VERSION}/ozy-${OZY_OS}-${OZY_ARCH}
chmod +x "${TMP_INSTALL_FILE}"
${TMP_INSTALL_FILE} init ${OZY_CONFIG_URL}
rm -f "${TMP_INSTALL_FILE}"
echo
echo '********************************'
echo 'Installed ok. Make sure you follow any instructions above to ensure ozy is on your path.'
echo '********************************'
added the OS and ARCH properly, hacking it to 0.1.8 but still:
Installing ozy pointing at the ozy sample team configuration on GitHub...
Installing ozy v0.1.8 for Linux-x86_64
Error: While loading ozy config
Caused by:
0: Reading config YAML
1: No such file or directory (os error 2)
In fact, any attemp to execute the ozy cases this:
bollo:~/d/c/ce-ci (main|✚1) $ /tmp/tmp.CYWrZW95Nt --help
Error: While loading ozy config
Caused by:
0: Reading config YAML
1: No such file or directory (os error 2)
The text was updated successfully, but these errors were encountered:
#!/usr/bin/env bash# Should be suitable to be `curl | bash`'dset -euo pipefail
echo Installing ozy pointing at the ozy sample team configuration on GitHub...
OZY_CONFIG_URL=https://raw.githubusercontent.com/aquanauts/ozy/main/conf/sample-team-conf.yaml
OZY_OS=$(uname)
OZY_ARCH=$(uname -p)if [ -n"${OZY_VERSION:-}" ];thenecho"Using ${OZY_VERSION} as it was set in the environment"elseecho"Reading config information from ${OZY_CONFIG_URL}"
OZY_VERSION=$(curl --fail -sSL ${OZY_CONFIG_URL}| grep 'ozy_version:'| awk '{print $2}')echo"Found ozy version ${OZY_VERSION}"fiecho Installing ozy v${OZY_VERSION}for${OZY_OS}-${OZY_ARCH}
TMP_INSTALL_DIR=/tmp/install-ozy-$$
mkdir ${TMP_INSTALL_DIR}
TMP_INSTALL_FILE=${TMP_INSTALL_DIR}/ozy # ozy needs to be called "ozy" to work
curl -sL -o "${TMP_INSTALL_FILE}" https://github.com/aquanauts/ozy/releases/download/v${OZY_VERSION}/ozy-${OZY_OS}-${OZY_ARCH}
chmod +x "${TMP_INSTALL_FILE}"${TMP_INSTALL_FILE} init ${OZY_CONFIG_URL}
rm -rf "${TMP_INSTALL_DIR}"echoecho'********************************'echo'Installed ok. Make sure you follow any instructions above to ensure ozy is on your path.'echo'********************************'
I tried fixing but got as far as:
added the OS and ARCH properly, hacking it to 0.1.8 but still:
In fact, any attemp to execute the
ozy
cases this:The text was updated successfully, but these errors were encountered: