Skip to content

Commit

Permalink
NO-JIRA: fix(gha): replace oc with kubectl in notebook_controller_int…
Browse files Browse the repository at this point in the history
…egration_test.yaml

We don't have oc preinstalled on the new GitHub Actions runners that we were autoupdated to. Best to stick to kubectl.
  • Loading branch information
jiridanek committed Oct 15, 2024
1 parent d24d840 commit 741dcfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
export PR_NOTEBOOK_IMG=localhost/${{env.IMG}}:${{env.TAG}}
kustomize edit set image ${CURRENT_NOTEBOOK_IMG}=${PR_NOTEBOOK_IMG}
cat <<EOF | oc apply -f -
cat <<EOF | kubectl apply -f -
---
apiVersion: v1
kind: ConfigMap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
kustomize edit set image ${CURRENT_NOTEBOOK_IMG}=${PR_NOTEBOOK_IMG}
# configure culler
cat <<EOF | oc apply -f -
cat <<EOF | kubectl apply -f -
---
apiVersion: v1
kind: ConfigMap
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
echo "odh-notebook-controller-image=localhost/${{env.IMG}}:${{env.TAG}}" > params.env
cat <<EOF | oc apply -f -
cat <<EOF | kubectl apply -f -
---
apiVersion: v1
kind: ConfigMap
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
- name: Create notebook and check it, this is from kubeflow readme
run: |
notebook_namespace=default
cat <<EOF | oc apply -f -
cat <<EOF | kubectl apply -f -
---
apiVersion: kubeflow.org/v1
kind: Notebook
Expand Down

0 comments on commit 741dcfe

Please sign in to comment.