This is an experimental version to run variant on docker.
Difference from mumoshu/variant. https://github.com/cw-ozaki/variant/tree/0f2c812942c99ec3f32e44848d8bd3f91e8300ed
runner.dind
options- If
true
, execute task with docker in docker
- If
runner.variant
options- If
true
, mount variant command and current directory, and working dir will be/variant
.
- If
runner.env
optionsrunner.workdir
options- fix version embedding
$ curl -L https://gist.githubusercontent.com/k-kinzal/2d3d26190428af789d0169bd92a33fd9/raw/09ab7ee7814471ab4bc3873246769e86041ff8a4/setup.sh | sh
$ echo 'export VAR_HOME=$HOME/.variant' > ~/.zshrc
$ echo 'export VAR_VERSION=0f2c812942c99ec3f32e44848d8bd3f91e8300ed' > ~/.zshrc
$ echo 'export PATH=$HOME/.variant/bin:$PATH' > ~/.zshrc
$ variant help
time="2018-10-13T17:08:58Z" level=error msg="open .variantenv: no such file or directory"
time="2018-10-13T17:08:58Z" level=info msg="variant.definition.yaml does not exist"
Usage:
variant [command]
Available Commands:
env Print currently selected environment
help Help about any command
version Print the version number of this command
Flags:
-c, --config-file string Path to config file
-h, --help help for variant
--logtostderr write log messages to stderr
-o, --output string Output format. One of: json|text|bunyan (default "text")
-v, --verbose verbose output
Use "variant [command] --help" for more information about a command.