diff --git a/Earthfile b/Earthfile index 8055a06c8..880b2f40d 100644 --- a/Earthfile +++ b/Earthfile @@ -86,6 +86,7 @@ deploy-remote: ENV NOMAD_ADDR=$nomad ENV IP=$ip ENV IMAGE=$IMAGE + ENV TAG=$TAG RUN --push ./deploy-nightly.sh deploy-local: diff --git a/scripts/deploy/deploy-nightly.sh b/scripts/deploy/deploy-nightly.sh index f9b42c5b9..c293648e0 100755 --- a/scripts/deploy/deploy-nightly.sh +++ b/scripts/deploy/deploy-nightly.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -ex storj-up init nomad --name=core --ip=$IP minimal,gc -storj-up image satellite-api,storagenode,gc $IMAGE +storj-up image satellite-api,storagenode,gc $IMAGE:$TAG storj-up persist storagenode,satellite-api,gc -storj-up env set satellite-api STORJ_DATABASE_OPTIONS_MIGRATION_UNSAFE=snapshot,testdata +storj-up env set satellite-api STORJ_DATABASE_OPTIONS_MIGRATION_UNSAFE=full,testdata nomad run storj.hcl