From c6eca7c4b3f5debe27daae15024ca9192bf03767 Mon Sep 17 00:00:00 2001 From: Daniel Sanche Date: Mon, 27 Jan 2020 17:14:40 -0800 Subject: [PATCH] removed test-release --- .github/workflows/smoke-tests.yml | 40 ------------------------------- 1 file changed, 40 deletions(-) diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index f9f75c1..5256626 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -63,43 +63,3 @@ jobs: if [[ "$RESULT" != " HTTP/1.1 200 OK" ]]; then exit 1 fi - test-release: - runs-on: self-hosted - needs: [setup, test-source] - steps: - - uses: actions/checkout@v2 - - name: Clean Cluster - run: | - kubectl delete all --all --wait=true --force --grace-period=0 - sleep 5 - - name: Deploy Release Manifests - run: | - kubectl apply -f ./release/kubernetes-manifests.yaml - - name: Wait For Pods - run: | - sleep 60 - kubectl get pods - echo waiting for ready state... - kubectl wait --for=condition=ready pod -l app=adservice --timeout=500s - kubectl wait --for=condition=ready pod -l app=cartservice --timeout=500s - kubectl wait --for=condition=ready pod -l app=checkoutservice --timeout=500s - kubectl wait --for=condition=ready pod -l app=currencyservice --timeout=500s - kubectl wait --for=condition=ready pod -l app=emailservice --timeout=500s - kubectl wait --for=condition=ready pod -l app=frontend --timeout=500s - kubectl wait --for=condition=ready pod -l app=loadgenerator --timeout=500s - kubectl wait --for=condition=ready pod -l app=paymentservice --timeout=500s - kubectl wait --for=condition=ready pod -l app=productcatalogservice --timeout=500s - kubectl wait --for=condition=ready pod -l app=recommendationservice --timeout=500s - kubectl wait --for=condition=ready pod -l app=shippingservice --timeout=500s - - name: Test HTTP - timeout-minutes: 5 - run: | - RESULT=" " - while [[ "$RESULT" != " HTTP/1.1 200 OK" ]]; do - sleep 1 - RESULT=$(kubectl exec deployments/frontend -- sh -c "wget --spider -S "http://frontend" 2>&1 | grep 'HTTP/'") - echo "front end response: $RESULT" - done - if [[ "$RESULT" != " HTTP/1.1 200 OK" ]]; then - exit 1 - fi