Skip to content

Commit

Permalink
validate the CI environment + kubeconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
cadenmarchese committed Jul 17, 2023
1 parent 2730404 commit 7be53dc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .pipelines/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,21 @@ jobs:
export CI=true
. ./hack/e2e/run-rp-and-e2e.sh
# check the CI environment
validate_podman_running
validate_portal_running
validate_selenium_running
validate_rp_running
hack/get-admin-kubeconfig.sh /subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$CLUSTER/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER >admin.kubeconfig
export KUBECONFIG=admin.kubeconfig
# test the kubeconfig
cat admin.kubeconfig
oc get pods
oc get nodes
oc get cluster cluster -o yaml
wget -nv https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/$(OpenShiftVersion)/openshift-client-linux-$(OpenShiftVersion).tar.gz
tar xf openshift-client-linux-$(OpenShiftVersion).tar.gz
./oc adm must-gather
Expand Down

0 comments on commit 7be53dc

Please sign in to comment.