Created
May 1, 2018 02:33
-
-
Save tristansokol/59d8fa65a3e1b85324b43b9c44614805 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
export TAG_NAME=$1 | |
export DOCKER_REGISTRY="retrocontestxxx.azurecr.io" | |
git add jerk_agent.py | |
git commit -m "running $TAG_NAME locally" | |
mkdir results/${TAG_NAME//:} | |
cp jerk_agent.py results/${TAG_NAME//:}/jerk_agent.py | |
docker login $DOCKER_REGISTRY \ | |
--username "retrocontestxxx" \ | |
--password "xxx"&& | |
docker build -f jerk-agent.docker -t $DOCKER_REGISTRY/$TAG_NAME . && | |
retro-contest run --agent $DOCKER_REGISTRY/$TAG_NAME \ | |
--results-dir results/${TAG_NAME//:} --no-nv --use-host-data --timestep-limit 1000000\ | |
SonicTheHedgehog-Genesis GreenHillZone.Act1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment