You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moshe Zada edited this page Feb 25, 2019
·
1 revision
Tomato CLI getting the context of the build from environment variables exposed by the CI platform.
In docker environment, you need to explicitly pass environment variables to applications running inside the docker.
In order to do this, you need to pass the CI related environment variables to the build docker.
best way to do this is to send all CI vars to the docker: docker run --env-file=<(env|grep '^TRAVIS_') mocha Change TRAVIS_ to the appropriate CI prefix