Skip to content

Commit

Permalink
remove personal stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
asg0451 committed Jun 2, 2023
1 parent af53728 commit 9510d16
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ docker: $(srcs) Dockerfile
docker-run: docker
docker run -it --rm -e RUST_BACKTRACE=full -e RUST_LOG=spotify-remote-receiver=trace,info --env-file receiver/.env 413471642455.dkr.ecr.us-east-1.amazonaws.com/spotify-remote-receiver:latest

refresh-ecr:
ssh hex2 bash --login -c "~/kube/k3s/apps/ecr.sh"
restart:
ssh hex2 "~/bin/kubectl -n apps rollout restart deployment/sproter"

deploy: docker-push
$(MAKE) refresh-ecr
$(MAKE) restart
Expand Down Expand Up @@ -49,11 +44,6 @@ docker-arm-builder-up:
docker-arm-builder-down:
aws ec2 stop-instances --instance-ids i-00ab99709da8e22aa

stop:
ssh hex2 'PATH=$$PATH:~/bin kubectl -n apps scale --replicas 0 deployment/sproter'
start:
ssh hex2 'export PATH=$$PATH:~/bin && ./kube/k3s/apps/ecr.sh && kubectl -n apps scale --replicas 1 deployment/sproter'

# setup only
docker-create-builder:
docker buildx create --bootstrap --name multiarch --node local --platform linux/amd64
Expand Down

0 comments on commit 9510d16

Please sign in to comment.