File tree Expand file tree Collapse file tree 2 files changed +35
-5
lines changed Expand file tree Collapse file tree 2 files changed +35
-5
lines changed Original file line number Diff line number Diff line change 1+ name : " Build vLLM Server"
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ models :
6+ type : string
7+ required : true
8+
19name : Build Triton Server
210on :
311 workflow_dispatch :
12+ inputs :
13+ plan-repository :
14+ type : string
15+ required : false
16+ description : " URL of plan repository (see README.md)"
417 workflow_call :
5-
618jobs :
719 build-engine :
820 uses : ./.github/workflows/run-jumpstarter-workflow.yml
1123 jumpstarter-selector : ${{ vars.JUMPSTARTER_SELECTOR }}
1224 image-url : ${{ vars.DEST_REGISTRY_HOST }}/${{ vars.DEST_REGISTRY_REPO }}:base-raw
1325 workflow-cmd : |
14- bash triton/build/jmp-build-engine.sh \
15- ${{ vars.ARTIFACT_REGISTRY_HOST }}/${{ vars.ARTIFACT_REGISTRY_REPO }}:onnx-repository \
16- ${{ vars.ARTIFACT_REGISTRY_HOST }}/${{ vars.ARTIFACT_REGISTRY_REPO }}:plan-repository
26+ SRC="${{ inputs.plan-repository }}"
27+ DST="${{ vars.ARTIFACT_REGISTRY_HOST }}/${{ vars.ARTIFACT_REGISTRY_REPO }}:plan-repository"
28+
29+ if [ -n ${{ inputs.plan-repository }} ];
30+ # this could probably be done more elegantly with ORAS
31+ podman artifact pull $SRC
32+ podman artifact extract $SRC plan-repository.tar
33+ podman artifact add $DST plan-repository.tar
34+ podman artifact push $DST
35+ else
36+ bash triton/build/jmp-build-engine.sh \
37+ ${{ vars.ARTIFACT_REGISTRY_HOST }}/${{ vars.ARTIFACT_REGISTRY_REPO }}:onnx-repository \
38+ ${{ vars.ARTIFACT_REGISTRY_HOST }}/${{ vars.ARTIFACT_REGISTRY_REPO }}:plan-repository
39+ fi
1740
1841 build-triton-base :
1942 uses : ./.github/workflows/build-rhel-bootc-image.yml
Original file line number Diff line number Diff line change 9696 run : |
9797 source jumpstarter/.venv/bin/activate
9898
99- jmp shell --lease $LEASE -- ${{ inputs.workflow-cmd }}
99+ FILE=$(mktmp)
100+ cat <<EOF > $FILE
101+ ${{ inputs.workflow-cmd }}
102+ EOF
103+
104+ cat $FILE | jmp shell --lease $LEASE
105+ rm $FILE
106+
100107 - name : Release lease
101108 if : always()
102109 run : |
You can’t perform that action at this time.
0 commit comments