Skip to content

Commit b68a217

Browse files
adamanciniclaude
andcommitted
refactor: simplify test matrix to 1-node k3s clusters only
- Reduce matrix to 3 k3s single-node configurations (v1.30.8, v1.31.10, v1.32.6) - Remove EKS, kind, and multi-node configurations to focus on core testing - Update max-parallel to 3 for simplified matrix - Simplify distribution-specific storage tests to k3s only - Reduce complexity while maintaining coverage of recent Kubernetes versions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 8ca5504 commit b68a217

File tree

1 file changed

+12
-70
lines changed

1 file changed

+12
-70
lines changed

.github/workflows/wg-easy-pr-validation.yaml

Lines changed: 12 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -253,48 +253,25 @@ jobs:
253253
strategy:
254254
matrix:
255255
include:
256-
# k3s single-node configurations (latest patch versions)
257-
- k8s-version: "v1.31.10"
256+
# k3s single-node configurations (three most recent minor versions)
257+
- k8s-version: "v1.30.8"
258258
distribution: "k3s"
259259
nodes: 1
260260
instance-type: "r1.small"
261261
timeout-minutes: 15
262-
- k8s-version: "v1.32.6"
262+
- k8s-version: "v1.31.10"
263263
distribution: "k3s"
264264
nodes: 1
265265
instance-type: "r1.small"
266266
timeout-minutes: 15
267-
# k3s multi-node configurations
268267
- k8s-version: "v1.32.6"
269268
distribution: "k3s"
270-
nodes: 3
271-
instance-type: "r1.medium"
272-
timeout-minutes: 20
273-
# kind configurations (maximum 1 node supported, distribution-specific patch versions)
274-
- k8s-version: "v1.31.9"
275-
distribution: "kind"
276-
nodes: 1
277-
instance-type: "r1.small"
278-
timeout-minutes: 20
279-
- k8s-version: "v1.32.5"
280-
distribution: "kind"
281269
nodes: 1
282270
instance-type: "r1.small"
283-
timeout-minutes: 20
284-
# EKS configurations (major.minor versions only)
285-
- k8s-version: "v1.31"
286-
distribution: "eks"
287-
nodes: 2
288-
instance-type: "c5.large"
289-
timeout-minutes: 30
290-
- k8s-version: "v1.32"
291-
distribution: "eks"
292-
nodes: 2
293-
instance-type: "c5.large"
294-
timeout-minutes: 30
271+
timeout-minutes: 15
295272
exclude: []
296273
fail-fast: false
297-
max-parallel: 7 # Allow all clusters to be created in parallel
274+
max-parallel: 3 # Allow all clusters to be created in parallel
298275
outputs:
299276
cluster-matrix: ${{ steps.set-cluster-matrix.outputs.cluster-matrix }}
300277
steps:
@@ -648,48 +625,25 @@ jobs:
648625
strategy:
649626
matrix:
650627
include:
651-
# k3s single-node configurations (latest patch versions)
652-
- k8s-version: "v1.31.10"
628+
# k3s single-node configurations (three most recent minor versions)
629+
- k8s-version: "v1.30.8"
653630
distribution: "k3s"
654631
nodes: 1
655632
instance-type: "r1.small"
656633
timeout-minutes: 15
657-
- k8s-version: "v1.32.6"
634+
- k8s-version: "v1.31.10"
658635
distribution: "k3s"
659636
nodes: 1
660637
instance-type: "r1.small"
661638
timeout-minutes: 15
662-
# k3s multi-node configurations
663639
- k8s-version: "v1.32.6"
664640
distribution: "k3s"
665-
nodes: 3
666-
instance-type: "r1.medium"
667-
timeout-minutes: 20
668-
# kind configurations (maximum 1 node supported, distribution-specific patch versions)
669-
- k8s-version: "v1.31.9"
670-
distribution: "kind"
671-
nodes: 1
672-
instance-type: "r1.small"
673-
timeout-minutes: 20
674-
- k8s-version: "v1.32.5"
675-
distribution: "kind"
676641
nodes: 1
677642
instance-type: "r1.small"
678-
timeout-minutes: 20
679-
# EKS configurations (major.minor versions only)
680-
- k8s-version: "v1.31"
681-
distribution: "eks"
682-
nodes: 2
683-
instance-type: "c5.large"
684-
timeout-minutes: 30
685-
- k8s-version: "v1.32"
686-
distribution: "eks"
687-
nodes: 2
688-
instance-type: "c5.large"
689-
timeout-minutes: 30
643+
timeout-minutes: 15
690644
exclude: []
691645
fail-fast: false
692-
max-parallel: 7 # Allow all tests to run in parallel
646+
max-parallel: 3 # Allow all tests to run in parallel
693647
steps:
694648
- name: Set concurrency group
695649
run: |
@@ -761,20 +715,8 @@ jobs:
761715
fi
762716
763717
# Distribution-specific storage tests
764-
case "${{ matrix.distribution }}" in
765-
"k3s")
766-
echo "Testing k3s local-path storage..."
767-
kubectl get storageclass local-path -o yaml | grep provisioner | grep rancher.io/local-path
768-
;;
769-
"kind")
770-
echo "Testing kind standard storage..."
771-
kubectl get storageclass standard -o yaml | grep provisioner | grep rancher.io/local-path
772-
;;
773-
"eks")
774-
echo "Testing EKS GP2 storage..."
775-
kubectl get storageclass gp2 -o yaml | grep provisioner | grep ebs.csi.aws.com || echo "EKS storage validation skipped"
776-
;;
777-
esac
718+
echo "Testing k3s local-path storage..."
719+
kubectl get storageclass local-path -o yaml | grep provisioner | grep rancher.io/local-path
778720
779721
# Test cluster resources
780722
echo "Cluster resource utilization:"

0 commit comments

Comments
 (0)