Skip to content

Commit

Permalink
Add all required componentes which have to be installed to test dex l…
Browse files Browse the repository at this point in the history
…ogin

Signed-off-by: $full_name <$email>
  • Loading branch information
$full_name committed Aug 6, 2024
1 parent 4d88e64 commit a310fba
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/dex_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,18 @@ jobs:

- name: Build & Apply manifests
run: |
cd common/dex
kustomize build overlays/istio | kubectl apply -f -
kustomize build common/dex/overlays/istio | kubectl apply -f -
kustomize build common/istio-1-22/istio-crds/base | kubectl apply -f -
kustomize build common/istio-1-22/istio-namespace/base | kubectl apply -f -
kustomize build common/istio-1-22/istio-install/overlays/oauth2-proxy | kubectl apply -f -
kustomize build common/oauth2-proxy/overlays/m2m-self-signed | kubectl apply -f -
kustomize build common/dex/overlays/oauth2-proxy | kubectl apply -f -
kustomize build common/istio-1-22/cluster-local-gateway/base | kubectl apply -f -
kustomize build common/kubeflow-namespace/base | kubectl apply -f -
kustomize build common/networkpolicies/base | kubectl apply -f -
kustomize build common/kubeflow-roles/base | kubectl apply -f -
kustomize build common/istio-1-22/kubeflow-istio-resources/base | kubectl apply -f -
kustomize build apps/profiles/upstream/overlays/kubeflow | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s
- name: port forward
Expand All @@ -42,6 +52,5 @@ jobs:
- name: test dex login
run: |
curl localhost:8080
pip3 install requests
./tests/gh-actions/test_dex_login.py
1 change: 1 addition & 0 deletions tests/gh-actions/install_istio.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
set -e
echo "Installing Istio ..."
cd ../..
cd common/istio-1-22
kustomize build istio-crds/base | kubectl apply -f -
kustomize build istio-namespace/base | kubectl apply -f -
Expand Down
1 change: 1 addition & 0 deletions tests/gh-actions/install_istio_with_ext_auth.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
set -e
echo "Installing Istio configured with external authorization..."
cd ../..
cd common/istio-1-22
kustomize build istio-crds/base | kubectl apply -f -
kustomize build istio-namespace/base | kubectl apply -f -
Expand Down

0 comments on commit a310fba

Please sign in to comment.