build(deps): bump google.golang.org/grpc from 1.42.0 to 1.79.3 in /components/profile-controller #281
This file contains hidden or 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
| name: CentralDashboard-Angular Integration Test | |
| on: | |
| pull_request: | |
| paths: | |
| - components/centraldashboard-angular/** | |
| - components/access-management/** | |
| - components/profile-controller/** | |
| - releasing/version/VERSION | |
| branches: | |
| - main | |
| - v*-branch | |
| push: | |
| branches: | |
| - main | |
| - v*-branch | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| integration-test: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install KinD | |
| run: ./testing/gh-actions/install_kind.sh | |
| - name: Create KinD Cluster | |
| run: kind create cluster --config testing/gh-actions/kind-1-33.yaml | |
| - name: Install kustomize | |
| run: ./testing/gh-actions/install_kustomize.sh | |
| - name: Install Istio | |
| run: ./testing/gh-actions/install_istio.sh | |
| - name: Create Kubeflow Namespace | |
| run: kubectl create namespace kubeflow | |
| - name: Deploy Profile Controller with KFAM | |
| run: ./testing/shared/install_profile_controller.sh | |
| - name: Deploy CentralDashboard Component | |
| run: ./testing/shared/install_centraldashboard_angular.sh | |
| - name: Create Test Profile for Dashboard Testing | |
| run: | | |
| kubectl apply -f components/profile-controller/integration/resources/profile-dashboard-test.yaml | |
| for i in {1..60}; do | |
| if kubectl get namespace test-dashboard-profile >/dev/null 2>&1; then | |
| break | |
| fi | |
| echo "Waiting for namespace... (attempt $i/60)" | |
| sleep 5 | |
| done | |
| if ! kubectl get namespace test-dashboard-profile >/dev/null 2>&1; then | |
| exit 1 | |
| fi | |
| kubectl get profile test-dashboard-profile | |
| kubectl get namespace test-dashboard-profile | |
| - name: Validate Service | |
| run: | | |
| ./testing/shared/test_service.sh validate-service dashboard-angular kubeflow | |
| - name: Start Port Forward for Dashboard Testing | |
| run: | | |
| ./testing/shared/test_service.sh port-forward dashboard-angular kubeflow 8080 80 | |
| - name: Test Dashboard Health | |
| run: | | |
| ./testing/shared/test_service.sh test-health dashboard-angular kubeflow 8080 | |
| - name: Test Dashboard Web Interface | |
| run: | | |
| curl -f "http://localhost:8080/" >/dev/null 2>&1 | |
| curl -f "http://localhost:8080/healthz" >/dev/null 2>&1 | |
| RESPONSE=$(curl -s "http://localhost:8080/" | head -c 100) | |
| if [[ -n "$RESPONSE" ]]; then | |
| echo "Dashboard is serving content: ${RESPONSE:0:50}..." | |
| else | |
| exit 1 | |
| fi | |
| kubectl get service dashboard-angular -n kubeflow | |
| kubectl get pods -n kubeflow -l app=kubeflow-dashboard-angular | |
| - name: Test Dashboard Performance | |
| run: | | |
| ./testing/shared/test_service.sh performance-test dashboard-angular kubeflow 8080 80 8 | |
| - name: Test Dashboard Metrics | |
| run: | | |
| ./testing/shared/test_service.sh test-metrics dashboard-angular kubeflow 8080 | |
| - name: Check for Errors in Logs | |
| run: | | |
| kubectl logs --tail=100 --prefix -n kubeflow -l app=kubeflow-dashboard-angular | |
| ./testing/shared/test_service.sh check-errors dashboard-angular kubeflow | |
| - name: Stop Port Forward | |
| run: | | |
| ./testing/shared/test_service.sh stop-port-forward dashboard-angular kubeflow 8080 | |
| - name: Cleanup Test Resources | |
| run: | | |
| kubectl delete profile test-dashboard-profile --ignore-not-found=true | |
| for i in {1..30}; do | |
| if ! kubectl get namespace test-dashboard-profile >/dev/null 2>&1; then | |
| break | |
| fi | |
| echo "Waiting for namespace deletion... (attempt $i/30)" | |
| sleep 5 | |
| done |