-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(e2e): update kind and k8s image
Signed-off-by: nwaiyatharee <[email protected]>
- Loading branch information
1 parent
7fc890b
commit 8f47d95
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,6 +93,9 @@ jobs: | |
restore-keys: ${{ runner.os }}-pkg- | ||
- name: Create k8s Kind Cluster | ||
uses: helm/[email protected] | ||
with: | ||
version: v0.24.0 | ||
node_image: kindest/node:v1.29.8 | ||
- name: Build Image | ||
run: | | ||
make image | ||
|
@@ -135,6 +138,9 @@ jobs: | |
run: curl -L https://raw.githubusercontent.com/open-cluster-management-io/clusteradm/main/install.sh | bash | ||
- name: Create k8s Kind Cluster | ||
uses: helm/[email protected] | ||
with: | ||
version: v0.24.0 | ||
node_image: kindest/node:v1.29.8 | ||
- name: Prepare OCM testing environment | ||
run: | | ||
clusteradm init --output-join-command-file join.sh --wait | ||
|
@@ -152,6 +158,11 @@ jobs: | |
cluster-gateway ./charts/addon-manager \ | ||
--set tag=latest | ||
go run ./e2e/env/prepare | kubectl apply -f - | ||
kubectl get managedclusteraddons.addon.open-cluster-management.io -A | ||
kubectl get managedclusters.cluster.open-cluster-management.io | ||
kubectl get virtualclusters.cluster.core.oam.dev | ||
kubectl get clustergateway | ||
kubectl get --raw '/apis/cluster.core.oam.dev/v1alpha1/clustergateways/loopback/proxy/healthz' -v=9 | ||
- name: Run e2e test | ||
run: | | ||
make test-e2e-ocm |