storj/scripts/deploy/deploy-nightly.sh
Márton Elek 603bc019e1 build: use specific tag for nightly deployments
This patch is required to fix the nightly deployment:

 * We need to use the exact docker image tag what we built earlier
 * Migration should be full instead of snapshot (snapshot couldn't update existing, but older dbs)

Change-Id: Id2a2070638072a7b0021326326b0d53533817168
2022-11-02 17:57:20 +00:00

8 lines
287 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
storj-up init nomad --name=core --ip=$IP minimal,gc
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=full,testdata
nomad run storj.hcl