-
-
Save wehappyfew/5076e1c2519798bb82a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker_env = os.environ.get('DOCKER_ENV') # grab the docker env that the tests will run in docker [local] | |
stg_env = os.environ.get('STG_ENV') | |
root_vagrant_local = "http://localhost:9180/" | |
# Notice: Docker | |
# Whatever LIVE is, if the env is docker + local run to vagrant URL | |
if environment == "docker" and docker_env == "local" : | |
root = root_vagrant_local | |
# Run Docker Grid on deadpool | |
if environment == "docker" and docker_env != "local" and stg_env == "deadpool": | |
root = "https://deadpool.ftw.com/" | |
# Run Docker Grid on ironman | |
if environment == "docker" and docker_env != "local" and stg_env == live == "ironman": | |
root = "https://ironman.flieshigh.com/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment