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

Sync text-generation-inference repository (main branch)

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=text-generation-inference
      
      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 git@github.com:opendatahub-io/${TARGET_REPO_NAME}.git
      git fetch odh
      git merge odh/main 
      git push 
       
      # Sync ibm release tag to a new release branch
      git remote add ibm https://github.com/IBM/${TARGET_REPO_NAME}
      git fetch ibm 
      git fetch ibm ${UPSTREAM_TARGET_TAG}
      git checkout -b ibm_${UPSTREAM_TARGET_TAG} ibm/${UPSTREAM_TARGET_TAG}
      git checkout -b ${TODAY_DATE}_sync_main origin/main
      git merge ibm_${UPSTREAM_TARGET_TAG}  
      
      # Fix conflict (Manual)
      
      if [[ $TARGET_REPO_NAME != "modelmesh" ]]; then
         go mod tidy
      fi 
      git add .
      git commit -S -s -m "Sync upstream ${UPSTREAM_TARGET_TAG}"
       

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

              Created:
              Updated: