File tree Expand file tree Collapse file tree 1 file changed +2
-26
lines changed
Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Original file line number Diff line number Diff 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
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
You can’t perform that action at this time.
0 commit comments