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

Export Environmental Variables and create pr_template.sh file

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Model Serving
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Testable
    • No
    • No
    • Pending
    • None

      # Update this part
      export GH_USER_NAME=Jooho
      export SYNC_HOME=/home/jooho/temp/20230605_v0.11.0-rc0_sync
      export UPSTREAM_TARGET_TAG=v0.11.0-rc0
      export PRIOR_TARGET_TAG=v0.11.0-alpha
      export NEW_ODH_VERSION=1.6.0
      export RELEASE_ISSUE=https://github.com/kserve/modelmesh-serving/pull/390
      
      # Do not change this part
      export TODAY_DATE=$(date '+%Y%m%d')
      export PRIOR_RELEASE_BRANCH_NAME=release-${PRIOR_TARGET_TAG}
      export NEW_RELEASE_BRANCH_NAME=release-${UPSTREAM_TARGET_TAG}
      export PRIOR_ODH_VERSION=$(cat version|grep "opendatahub version"|cut -d':' -f2) 
      
      cat <<EOF> ${SYNC_HOME}/pr-template.sh
      echo "
      # Title: [Sync] kserve/${TARGET_REPO_NAME}-${UPSTREAM_TARGET_TAG} to $TARGET_BRANCH branch
      #### Motivation
      This is Release Sync. Detail information is here:
      - Sync Date: ${TODAY_DATE}
      - \\\`kserve/modelmesh\\\` release issue: \${RELEASE_ISSUE}
      - \\\`kserve/\${TARGET_REPO_NAME}\\\` release version : \${UPSTREAM_TARGET_TAG}
      - \\\`odh/\${TARGET_REPO_NAME}\\\` branch: \${TARGET_BRANCH}
      "
      EOF
      
      chmod 777 ${SYNC_HOME}/pr-template.sh

       

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

                Created:
                Updated: