Skip to content

Commit

Permalink
Hardcode Codeflare-sdk version to the respective release version
Browse files Browse the repository at this point in the history
  • Loading branch information
Srihari1192 authored and sutaakar committed Oct 10, 2024
1 parent fe36b6e commit d14bf05
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Library Process

*** Variables ***
${VIRTUAL_ENV_NAME} venv3.9
${CODEFLARE-SDK-API_URL} %{CODEFLARE-SDK-API_URL=https://api.github.com/repos/project-codeflare/codeflare-sdk/releases/170509674}
${CODEFLARE-SDK-RELEASE-TAG} v0.19.1
${CODEFLARE-SDK_DIR} codeflare-sdk
${CODEFLARE-SDK_REPO_URL} %{CODEFLARE-SDK_REPO_URL=https://github.com/project-codeflare/codeflare-sdk.git}
${DISTRIBUTED_WORKLOADS_RELEASE_ASSETS} https://github.com/opendatahub-io/distributed-workloads/releases/download/v2.13.1
Expand All @@ -32,14 +32,7 @@ Prepare Codeflare-SDK Test Setup
Log To Console "Restarting kueue"
Restart Kueue

${latest_tag} = Run Process curl -s "${CODEFLARE-SDK-API_URL}" | grep '"tag_name":' | cut -d '"' -f 4
... shell=True stderr=STDOUT
Log To Console codeflare-sdk latest tag is : ${latest_tag.stdout}
IF ${latest_tag.rc} != 0
FAIL Unable to fetch codeflare-sdk latest tag
END

Clone Git Repository ${CODEFLARE-SDK_REPO_URL} ${latest_tag.stdout} ${CODEFLARE-SDK_DIR}
Clone Git Repository ${CODEFLARE-SDK_REPO_URL} ${CODEFLARE-SDK-RELEASE-TAG} ${CODEFLARE-SDK_DIR}

${result} = Run Process virtualenv -p python3.9 ${VIRTUAL_ENV_NAME}
... shell=true stderr=STDOUT
Expand Down

0 comments on commit d14bf05

Please sign in to comment.