Skip to content

Commit

Permalink
More overlooks
Browse files Browse the repository at this point in the history
  • Loading branch information
prppedro committed Jul 5, 2022
1 parent eab2025 commit ce302ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commit-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ jobs:
helm install --namespace microservices --set microservices.enabled=true,mongodb.auth.username=rocketchat,mongodb.auth.password=testpass,mongodb.auth.database=rocketchat,mongodb.auth.rootPassword=root-testpass test-install-rocketchat-microservices rocketchat-*.tgz
echo waiting for pod to be created
export POD=$(kubectl get pods --namespace microservices -l "app.kubernetes.io/name=rocketchat,app.kubernetes.io/instance=test-install-rocketchat-microservices" -o jsonpath='{ .items[0].metadata.name }')
kubectl wait --for=condition=Ready --timeout 600s pod/${POD}
kubectl --namespace microservices wait --for=condition=Ready --timeout 600s pod/${POD}
echo forwarding the port
kubectl port-forward --pod-running-timeout=1m0s --namespace default ${POD} 8888:3000 &
kubectl port-forward --pod-running-timeout=1m0s --namespace microservices ${POD} 8888:3000 &
echo waiting a bit
sleep 5
./test_scripts/wait_http.sh http://127.0.0.1:8889
Expand Down

0 comments on commit ce302ff

Please sign in to comment.