-
Sub-task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
False
-
None
-
False
-
Testable
-
No
-
No
-
Pending
-
None
-
-
This work must be done after all openshift-ci job are passed for the modelmesh-serving PR.
It will copy Dockerfile.develop.ci from modelmesh-serving repo to all the other repos for openshift-ci
for TARGET_REPO_NAME in modelmesh modelmesh-runtime-adapter rest-proxy odh-model-controller do cd ${SYNC_HOME}/${TARGET_REPO_NAME} # Copy go.mod/go.sum/Dockerfile.develop file from modelmesh-serving for openshift-ci if [[ ! -d ${SYNC_HOME}/modelmesh-serving ]]; then git clone --branch kserve_${UPSTREAM_TARGET_TAG} https://github.com/Jooho/modelmesh-serving fi cp ${SYNC_HOME}/modelmesh-serving/Dockerfile.develop.ci ${SYNC_HOME}/${TARGET_REPO_NAME}/Dockerfile.develop.ci cp ${SYNC_HOME}/modelmesh-serving/go.sum ${SYNC_HOME}/${TARGET_REPO_NAME}/go.sum.develop cp ${SYNC_HOME}/modelmesh-serving/go.mod ${SYNC_HOME}/${TARGET_REPO_NAME}/go.mod.develop ## Update version sed "s/${PRIOR_TARGET_TAG}/${UPSTREAM_TARGET_TAG}/g" -i version git add . git commit -S -s -m "Update go.mod/go.sum/Dockerfile.develop files from modelmesh-serving for openshift-ci and update version" git push --set-upstream origin ${TODAY_DATE}_sync_main done