Skip to content

Commit

Permalink
Fix nginx tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fjammes committed Oct 28, 2024
1 parent 514b700 commit 4610317
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
cni: [calico, cilium]
name: Install k8s and run tests
name: Check CNI install
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-go@v3
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
run: |
ktbx install argowf
check_audit_logs:
name: Enable audit log on k8s api server WIP
name: Enable api server audit log
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-go@v3
Expand Down
5 changes: 4 additions & 1 deletion e2e/run-nginx.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/bin/sh

set -e
set -euxo pipefail

echo "Launch nginx application"
kubectl create deployment my-nginx --image=nginx
kubectl expose deployment my-nginx --port=80
kubectl wait --for=condition=available --timeout=600s deployment/my-nginx

echo "Connect to nginx application"
kubectl run -it --image=nginx client --restart=Never -- curl http://my-nginx:80
6 changes: 0 additions & 6 deletions e2e/test-nginx.sh

This file was deleted.

0 comments on commit 4610317

Please sign in to comment.