Skip to content

Commit 9cff21c

Browse files
committed
chore: simplify the integration tests action
Signed-off-by: Kimonas Sotirchos <[email protected]>
1 parent 0093e54 commit 9cff21c

File tree

1 file changed

+4
-35
lines changed

1 file changed

+4
-35
lines changed

.github/workflows/central_dashboard_integration_test.yaml

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.number }}
1616
cancel-in-progress: true
1717

18-
env:
19-
DASHBOARD_IMG: ghcr.io/kubeflow/dashboard/dashboard
20-
ACCESS_MANAGEMENT_IMG: ghcr.io/kubeflow/dashboard/access-management
21-
PROFILE_CONTROLLER_IMG: ghcr.io/kubeflow/dashboard/profile-controller
22-
TAG: integration-test
23-
2418
jobs:
2519
integration-test:
2620
runs-on: ubuntu-22.04
@@ -48,36 +42,11 @@ jobs:
4842
- name: Create Kubeflow Namespace
4943
run: kubectl create namespace kubeflow
5044

51-
- name: Build KFAM Image
52-
run: |
53-
cd components/access-management
54-
make docker-build-multi-arch IMG="${ACCESS_MANAGEMENT_IMG}" TAG="${TAG}"
55-
kind load docker-image "${ACCESS_MANAGEMENT_IMG}:${TAG}"
56-
cd ../..
45+
- name: Deploy Profile Controller with KFAM
46+
run: ./testing/shared/install_profile_controller.sh
5747

58-
- name: Build and Deploy Profile Controller with KFAM
59-
run: |
60-
cd components/profile-controller
61-
make docker-build-multi-arch IMG="${PROFILE_CONTROLLER_IMG}" TAG="${TAG}"
62-
kind load docker-image "${PROFILE_CONTROLLER_IMG}:${TAG}"
63-
cd config
64-
kustomize build overlays/kubeflow \
65-
| sed "s|ghcr.io/kubeflow/dashboard/profile-controller:[a-zA-Z0-9_.-]*|${PROFILE_CONTROLLER_IMG}:${TAG}|g" \
66-
| sed "s|ghcr.io/kubeflow/dashboard/access-management:[a-zA-Z0-9_.-]*|${ACCESS_MANAGEMENT_IMG}:${TAG}|g" \
67-
| kubectl apply -f -
68-
kubectl wait --for=condition=Available deployment -n kubeflow profiles-deployment --timeout=300s
69-
kubectl wait --for=condition=Ready pods -n kubeflow -l kustomize.component=profiles --timeout=300s
70-
71-
- name: Build and Deploy Central Dashboard
72-
run: |
73-
./testing/shared/deploy_component.sh \
74-
"components/centraldashboard" \
75-
"${DASHBOARD_IMG}" \
76-
"${TAG}" \
77-
"manifests" \
78-
"overlays/kserve"
79-
kubectl wait --for=condition=Ready pods -n kubeflow -l app=dashboard --timeout=300s
80-
kubectl wait --for=condition=Available deployment -n kubeflow dashboard --timeout=300s
48+
- name: Deploy CentralDashboard Component
49+
run: ./testing/shared/install_centraldashboard.sh
8150

8251
- name: Create Test Profile for Dashboard Testing
8352
run: |

0 commit comments

Comments
 (0)