Skip to content

Commit 7e639f4

Browse files
committed
use a stable version
Signed-off-by: JaredforReal <[email protected]>
1 parent bd8d4d3 commit 7e639f4

File tree

1 file changed

+36
-21
lines changed

1 file changed

+36
-21
lines changed

.github/workflows/k8s-integration-test.yml

Lines changed: 36 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ on:
3737
env:
3838
KIND_VERSION: v0.20.0
3939
KUBECTL_VERSION: v1.28.0
40-
KUSTOMIZE_VERSION: v5.2.1
40+
KUSTOMIZE_VERSION: v5.7.1
4141

4242
jobs:
4343
validate-manifests:
@@ -48,10 +48,13 @@ jobs:
4848
- name: Checkout code
4949
uses: actions/checkout@v4
5050

51-
- name: Setup Kustomize
52-
uses: imranismail/setup-kustomize@v2
53-
with:
54-
kustomize-version: ${{ env.KUSTOMIZE_VERSION }}
51+
- name: Install Kustomize
52+
run: |
53+
echo "Installing Kustomize ${{ env.KUSTOMIZE_VERSION }}..."
54+
# Use the official installation script for better reliability
55+
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
56+
sudo mv kustomize /usr/local/bin/
57+
kustomize version
5558
5659
- name: Validate Kustomize build
5760
run: |
@@ -216,10 +219,13 @@ jobs:
216219
echo "=== Node resources ==="
217220
kubectl describe nodes
218221
219-
- name: Setup Kustomize
220-
uses: imranismail/setup-kustomize@v2
221-
with:
222-
kustomize-version: ${{ env.KUSTOMIZE_VERSION }}
222+
- name: Install Kustomize
223+
run: |
224+
echo "Installing Kustomize ${{ env.KUSTOMIZE_VERSION }}..."
225+
# Use the official installation script for better reliability
226+
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
227+
sudo mv kustomize /usr/local/bin/
228+
kustomize version
223229
224230
- name: Create CI test overlay
225231
run: |
@@ -635,10 +641,13 @@ jobs:
635641
# Load into kind
636642
kind load docker-image ghcr.io/vllm-project/semantic-router/extproc:api-test --name api-test-cluster
637643
638-
- name: Setup Kustomize
639-
uses: imranismail/setup-kustomize@v2
640-
with:
641-
kustomize-version: ${{ env.KUSTOMIZE_VERSION }}
644+
- name: Install Kustomize
645+
run: |
646+
echo "Installing Kustomize ${{ env.KUSTOMIZE_VERSION }}..."
647+
# Use the official installation script for better reliability
648+
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
649+
sudo mv kustomize /usr/local/bin/
650+
kustomize version
642651
643652
- name: Create API test overlay
644653
run: |
@@ -880,10 +889,13 @@ jobs:
880889
- name: Checkout code
881890
uses: actions/checkout@v4
882891

883-
- name: Setup Kustomize
884-
uses: imranismail/setup-kustomize@v2
885-
with:
886-
kustomize-version: ${{ env.KUSTOMIZE_VERSION }}
892+
- name: Install Kustomize
893+
run: |
894+
echo "Installing Kustomize ${{ env.KUSTOMIZE_VERSION }}..."
895+
# Use the official installation script for better reliability
896+
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
897+
sudo mv kustomize /usr/local/bin/
898+
kustomize version
887899
888900
- name: Test kustomize with different overlays
889901
run: |
@@ -984,10 +996,13 @@ jobs:
984996
- name: Checkout code
985997
uses: actions/checkout@v4
986998

987-
- name: Setup Kustomize
988-
uses: imranismail/setup-kustomize@v2
989-
with:
990-
kustomize-version: ${{ env.KUSTOMIZE_VERSION }}
999+
- name: Install Kustomize
1000+
run: |
1001+
echo "Installing Kustomize ${{ env.KUSTOMIZE_VERSION }}..."
1002+
# Use the official installation script for better reliability
1003+
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
1004+
sudo mv kustomize /usr/local/bin/
1005+
kustomize version
9911006
9921007
- name: Run Trivy security scan
9931008
uses: aquasecurity/trivy-action@master

0 commit comments

Comments
 (0)