Skip to content

Commit

Permalink
updated workflow for kiwigrid#334
Browse files Browse the repository at this point in the history
Signed-off-by: wasim-nihal <sswasim64@gmail.com>
  • Loading branch information
wasim-nihal committed Sep 30, 2024
1 parent db9210c commit 7cda4c7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ jobs:
kubectl logs sidecar-pythonscript-logfile > /tmp/logs/sidecar-pythonscript-logfile.log
kubectl logs dummy-server-pod > /tmp/logs/dummy-server.log
kubectl logs sidecar-tls > /tmp/logs/sidecar-tls.log
#For Debug
cat /tmp/logs/sidecar-tls.log
- name: Upload artifacts (pod logs)
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -189,8 +187,6 @@ jobs:
echo "Downloading resource files from sidecar-tls pod"
kubectl cp sidecar-tls:/tmp/200-tls.txt /tmp/sidecar-tls/200-tls.txt
# For Debug
cat /tmp/sidecar-tls/200-tls.txt
- name: Upload artifacts (expected files from cluster)
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -230,7 +226,7 @@ jobs:
echo -n "I'm very similar" | diff - /tmp/sidecar/similar-configmap.txt &&
echo -n "I'm very similar" | diff - /tmp/sidecar/similar-secret.txt &&
echo -n "allowed" | diff - /tmp/sidecar/secured.txt &&
[ ! -f /tmp/sidecar-tls/200-tls.txt ] && echo "No 200-tls.txt file created" &&
[ -f /tmp/sidecar-tls/200-tls.txt ] && echo "200-tls.txt file created" &&
echo -n "200" | diff - /tmp/sidecar-tls/200-tls.txt &&
[ ! -f /tmp/sidecar/500.txt ] && echo "No 5xx file created" &&
ls /tmp/sidecar/script_result
Expand Down

0 comments on commit 7cda4c7

Please sign in to comment.