dev/prodpush scripts
This commit is contained in:
parent
55525a5235
commit
e209bdda01
10
libexec/push-prod-container.sh
Normal file
10
libexec/push-prod-container.sh
Normal file
@ -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
|
5
libexec/start-test-container.sh
Normal file
5
libexec/start-test-container.sh
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user