Skip to content

Commit

Permalink
Fix ci to function with params of ODH-NBC RHOAI
Browse files Browse the repository at this point in the history
Signed-off-by: Harshad Reddy Nalla <[email protected]>
  • Loading branch information
harshad16 committed Jun 14, 2024
1 parent 1c6ff9f commit f1b1ae0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/odh_notebook_controller_integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ jobs:
run: |
set -x
cd components/odh-notebook-controller/config/default
cd components/odh-notebook-controller/config/base
kubectl create ns opendatahub
export CURRENT_NOTEBOOK_IMG=quay.io/opendatahub/odh-notebook-controller:latest
export PR_NOTEBOOK_IMG=localhost/${{env.IMG}}:${{env.TAG}}
kustomize edit set image ${CURRENT_NOTEBOOK_IMG}=${PR_NOTEBOOK_IMG}
# export CURRENT_NOTEBOOK_IMG=quay.io/opendatahub/odh-notebook-controller:latest
# export PR_NOTEBOOK_IMG=localhost/${{env.IMG}}:${{env.TAG}}
# kustomize edit set image ${CURRENT_NOTEBOOK_IMG}=${PR_NOTEBOOK_IMG}
sed -i "s/quay.io\/opendatahub\/odh-notebook-controller:stable/localhost\/${{env.IMG}}:${{env.TAG}}/g" params.env
cat <<EOF | oc apply -f -
---
apiVersion: v1
Expand Down

0 comments on commit f1b1ae0

Please sign in to comment.