XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Model Serving
    • False
    • None
    • False
    • Testable
    • No
    • No
    • Pending
    • None

      cd ${SYNC_HOME}
      
      export TARGET_REPO_NAME=modelmesh 
      
      # Main Branch
      ## Update your main repository to the latest
      git clone git@github.com:${GH_USER_NAME}/${TARGET_REPO_NAME}.git
      cd ${TARGET_REPO_NAME}/
      
      ## Sync odh main to personal main branch
      git remote add odh https://github.com/opendatahub-io/${TARGET_REPO_NAME}
      git fetch odh
      git merge odh/main 
      
      ## Sync kserve release tag to a new release branch
      git remote add kserve https://github.com/kserve/${TARGET_REPO_NAME}
      git fetch kserve 
      git fetch kserve ${UPSTREAM_TARGET_TAG}
      git checkout -b kserve_${UPSTREAM_TARGET_TAG} ${UPSTREAM_TARGET_TAG}  
      git checkout -b ${TODAY_DATE}_sync_main origin/main
      git merge kserve_${UPSTREAM_TARGET_TAG} 
      
      ## Fix conclict(Manual)
      
      ## Commit Sync source
      go mod tidy
       
      ## Formating Linter and Unit/FVT test(Upstream)
      make run fmt
      make run test
      NAMESPACE=modelmesh-serving make run e2e-test
      
      ## Push it to your repository
      git add .
      git commit -S -s -m "Sync upstream ${UPSTREAM_TARGET_TAG}"  
      git push --set-upstream origin ${TODAY_DATE}_sync_main 
      
      # Build/Push fast image 
      IMAGE_TAG_VERSION=fast
      make build.develop   
      make build   
      docker tag  kserve/modelmesh-controller:latest quay.io/opendatahub/modelmesh-controller:${IMAGE_TAG_VERSION}
      docker push quay.io/opendatahub/modelmesh-controller:${IMAGE_TAG_VERSION}      

       

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

                Created:
                Updated: