Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: short term release fix #10197

Merged
merged 2 commits into from
Nov 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions aztec-up/bin/aztec-install
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,19 @@ if [ -z "${SKIP_PULL:-}" ]; then
fi

# Download the Docker Compose file. Used by aztec.
curl -fsSL http://$INSTALL_HOST/docker-compose.sandbox.yml -o $AZTEC_PATH/docker-compose.sandbox.yml
curl -fsSL http://$INSTALL_HOST/docker-compose.test.yml -o $AZTEC_PATH/docker-compose.test.yml
function download_docker_compose {
local install_url
if [ "$VERSION" != "latest" ]; then
install_url="http://$INSTALL_HOST/$VERSION/docker-compose.${1}.yml"
else
install_url="http://$INSTALL_HOST/master/docker-compose.${1}.yml"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually this should just be install_url="http://$INSTALL_HOST/docker-compose.${1}.yml

fi
curl -fsSL "$install_url" -o $AZTEC_PATH/docker-compose.${1}.yml
echo "Installed docker-compose.${1}.yml"
}

download_docker_compose "sandbox"
download_docker_compose "test"

function install_bin {
local install_url
Expand Down
Loading