-
Notifications
You must be signed in to change notification settings - Fork 885
37 lines (31 loc) · 1.03 KB
/
profiles_test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Build & Apply Profiles manifests in KinD
on:
pull_request:
paths:
- .github/workflows/profiles_test.yaml
- apps/profiles/upstream/**
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- tests/gh-actions/install_istio.sh
- common/istio*/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
- name: Create KinD Cluster
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml
- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
- name: Install Istio
run: ./tests/gh-actions/install_istio.sh
- name: Build & Apply manifests
run: |
cd apps/profiles/upstream
kubectl create ns kubeflow
kustomize build overlays/kubeflow | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s