From 8107566acf6ae5cd36c59bd0888892e234bc28df Mon Sep 17 00:00:00 2001 From: chesedo Date: Wed, 14 Dec 2022 14:13:52 +0200 Subject: [PATCH] refactor: remove prefetch --- deployer/prepare.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/deployer/prepare.sh b/deployer/prepare.sh index b7f835ac5..70eac8a23 100755 --- a/deployer/prepare.sh +++ b/deployer/prepare.sh @@ -15,13 +15,14 @@ shuttle-shared-db = { path = "/usr/src/shuttle/resources/shared-db" } shuttle-secrets = { path = "/usr/src/shuttle/resources/secrets" } shuttle-static-folder = { path = "/usr/src/shuttle/resources/static-folder" }' > $CARGO_HOME/config.toml -# Prefetch crates.io index -cd /usr/src/shuttle/service -cargo fetch - # Make future crates requests to our own mirror echo ' [source.shuttle-crates-io-mirror] registry = "http://panamax:8080/git/crates.io-index" [source.crates-io] replace-with = "shuttle-crates-io-mirror"' >> $CARGO_HOME/config.toml + +# Prefetch crates.io index from our mirror +# TODO: restore when we know how to prefetch from our mirror +# cd /usr/src/shuttle/service +# cargo fetch