fix emailservice dockerfile, rm ports helper script

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-07-16 17:02:31 -07:00
parent e4664c22ea
commit c602594c37

View file

@ -1,14 +0,0 @@
#!/bin/bash
set -ex
kubectl port-forward $(kubectl get pods -l app=currencyservice -o=name | head -n 1) 7000:7000 &
kubectl port-forward $(kubectl get pods -l app=recommendationservice -o=name | head -n 1) 8021:8080 &
kubectl port-forward $(kubectl get pods -l app=cartservice -o=name | head -n 1) 7070:7070 &
kubectl port-forward $(kubectl get pods -l app=productcatalogservice -o=name | head -n 1) 3550:3550 &
kubectl port-forward $(kubectl get pods -l app=checkoutservice -o=name | head -n 1) 5050:5050 &
kubectl port-forward $(kubectl get pods -l app=shippingservice -o=name | head -n 1) 50051:50051 &
set +x
trap "exit" INT TERM ERR
trap "kill 0" EXIT
wait