Skip to content

Commit ef68f47

Browse files
Merge pull request #190 from jainishshah17/upgrade-k8s
upgrade k8s versions in tests
2 parents c8db1bd + b7ff3c4 commit ef68f47

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

.github/workflows/pr.yaml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
k8sVersion:
29-
- v1.20.7
30-
- v1.21.2
31-
- v1.22.5
32-
- v1.23.3
29+
- v1.28.0
30+
- v1.27.3
31+
- v1.26.6
32+
- v1.25.11
33+
- v1.24.15
3334
timeout-minutes: 10
3435
steps:
3536
- name: Checkout
@@ -70,3 +71,18 @@ jobs:
7071
test_jsonpath "jainishshah17/nginx" '{.items[0].spec.containers[0].image}'
7172
test_jsonpath "original-secret" '{.items[0].spec.imagePullSecrets[0].name}'
7273
test_jsonpath "regsecret" '{.items[0].spec.imagePullSecrets[1].name}'
74+
75+
- name: Print debug
76+
if: ${{ always() }}
77+
run: |
78+
set +x
79+
while read cmd
80+
do
81+
echo "::group::$cmd"
82+
$cmd
83+
echo "::endgroup::"
84+
done <<< 'git diff
85+
helm list
86+
kubectl get po,rs,svc,ep,secrets,configmap
87+
kubectl describe po
88+
kubectl logs -l app=tugger'

0 commit comments

Comments
 (0)