Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-8928 [Sprint Template] Sync upstream
  3. RHODS-9317

Update Dockerfile.develop.ci/go.sum.develop/go.mod.develop repository for openshift-ci

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Model Serving
    • 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 

            Unassigned Unassigned
            rhn-support-jlee JOOHO LEE
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: