Skip to content

Commit 8ae6d80

Browse files
committed
modified image to nginx
1 parent b7c8d5c commit 8ae6d80

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

.github/workflows/run-integration-tests-namespace-optional.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -59,34 +59,10 @@ jobs:
5959
run: |
6060
python test/integration/k8s-deploy-delete.py 'Deployment' 'all' ${{ env.NAMESPACE1 }}
6161
python test/integration/k8s-deploy-delete.py 'Deployment' 'all' ${{ env.NAMESPACE2 }}
62-
- name: Create test manifests
63-
run: |
64-
echo "Creating test manifests..."
65-
cat <<EOF > test_with_ns.yaml
66-
apiVersion: apps/v1
67-
kind: Deployment
68-
metadata:
69-
name: test-deployment
70-
namespace: ${{ env.NAMESPACE1 }}
71-
spec:
72-
replicas: 1
73-
selector:
74-
matchLabels:
75-
app: test-app
76-
template:
77-
metadata:
78-
labels:
79-
app: test-app
80-
spec:
81-
containers:
82-
- name: test-container
83-
image: nginx:latest
84-
ports:
85-
- containerPort: 80
8662
- name: Test - Handles namespace correctly based on manifest
8763
uses: ./
8864
with:
89-
images: nginx:1.14.2
65+
images: nginx
9066
manifests: |
9167
test/integration/manifests/test_with_ns.yaml
9268
test/integration/manifests/test_no_ns.yaml
@@ -104,7 +80,7 @@ jobs:
10480
uses: ./
10581
with:
10682
namespace: ${{ env.NAMESPACE1 }},${{ env.NAMESPACE2 }}
107-
images: nginx:1.14.2
83+
images: nginx
10884
manifests: |
10985
test/integration/manifests/test_no_ns.yaml
11086
action: deploy

0 commit comments

Comments
 (0)