File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 5151 echo "MCAD Version: ${{ github.event.inputs.mcad-version }}"
5252 echo "CodeFlare SDK Version: ${{ github.event.inputs.codeflare-sdk-version }}"
5353 echo "InstaScale Version: ${{ github.event.inputs.instascale-version }}"
54+ echo "Tested KubeRay Version: ${{ github.event.inputs.kuberay-version }}"
5455 echo "Is Stable: ${{ github.event.inputs.is-stable }}"
5556 echo "CodeFlare Repository Organization: ${{ github.event.inputs.codeflare-repository-organization }}"
5657 echo "Quay Organization: ${{ github.event.inputs.quay-organization }}"
@@ -186,3 +187,17 @@ jobs:
186187 env :
187188 GITHUB_TOKEN : ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
188189 shell : bash
190+
191+ check-kuberay-version :
192+ runs-on : ubuntu-latest
193+
194+ steps :
195+ - name : Check if KubeRay release exists
196+ run : |
197+ status_code=$(curl -s -o /dev/null -w "%{http_code}" https://github.com/ray-project/kuberay/releases/tag/${{ github.event.inputs.kuberay-version }})
198+ if [[ "$status_code" == "200" ]]; then
199+ echo "KubeRay release with version ${{ github.event.inputs.mcad-version }} exists and available to use."
200+ else
201+ echo "KubeRay release with version ${{ github.event.inputs.kuberay-version }} does not exist. Please select an existing version."
202+ exit 1
203+ fi
You can’t perform that action at this time.
0 commit comments