rigger icon indicating copy to clipboard operation
rigger copied to clipboard

DEIS_ROOT not respected by rigger; autogenerates root

Open bacongobbler opened this issue 8 years ago • 4 comments

using master, I can't seem to override rigger from automatically setting DEIS_ROOT.

$ env | grep DEIS_ROOT
DEIS_ROOT=/Users/bacongobbler/go/src/github.com/deis/deis
$ ./rigger configure --provider "digitalocean" --version "master"
DEIS_SOURCE already set to 1. Skipping prompt.
VERSION already set to master. Skipping prompt.
DEIS_GIT_REPO already set to https://github.com/deis/deis.git. Skipping prompt.
DEIS_GIT_VERSION already set to master. Skipping prompt.
GOPATH already set to /Users/bacongobbler/.rigger/d99570a9e4/go. Skipping prompt.
DEIS_ROOT already set to /Users/bacongobbler/.rigger/d99570a9e4/go/src/github.com/deis/deis. Skipping prompt.
Cloning Deis at /Users/bacongobbler/.rigger/d99570a9e4/go/src/github.com/deis/deis to master
Cloning into '/Users/bacongobbler/.rigger/d99570a9e4/go/src/github.com/deis/deis'...
^C

bacongobbler avatar Nov 03 '15 19:11 bacongobbler

You should use the "path" style of rigger configure initiated with the --advanced flag:

./rigger configure --provider ... --version ... --advanced

sgoings avatar Nov 03 '15 19:11 sgoings

Ah okay. I was looking at the rigger design doc so I expected that workflow to still work and I didn't see any docs on the --advanced flag. I will try that and see how it goes. Thanks!

bacongobbler avatar Nov 03 '15 19:11 bacongobbler

--advanced was my quick way to make the DigitalOcean meetup hopefully run smoother... so it's a feature that just landed last week. :smile:

sgoings avatar Nov 03 '15 19:11 sgoings

If you want to do release testing, this is how I'm doing it the fastest way:

./rigger configure --version "1.12.0-rc3" [--provider <provider>]
./rigger provision

sgoings avatar Nov 03 '15 19:11 sgoings