diff --git a/libexec/push-prod-container.sh b/libexec/push-prod-container.sh new file mode 100644 index 0000000..480892b --- /dev/null +++ b/libexec/push-prod-container.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +docker build -t vcs.otl-hga.net/nicole/seagull-game --target app . +docker push vcs.otl-hga.net/nicole/seagull-game +echo "settling dust ..." +sleep 2 + +aws ecs update-service \ + --cluster "arn:aws:ecs:us-west-2:850912941082:cluster/SeagullProd" \ + --service seagull-fargate-svc --force-new-deployment \ No newline at end of file diff --git a/libexec/start-test-container.sh b/libexec/start-test-container.sh new file mode 100644 index 0000000..3a733bd --- /dev/null +++ b/libexec/start-test-container.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +docker build -t localhost/nicole/seagull-game --target dev . +echo "build complete. starting container ..." +docker run --rm -p 80:80 localhost/nicole/seagull-game \ No newline at end of file