Shaoting-Feng is testing out helm chart functions π #76
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Functionality test for helm chart | |
run-name: ${{ github.actor }} is testing out helm chart functions π | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/**' | |
- '**.py' | |
- 'setup.py' | |
- 'helm/**' | |
pull_request: | |
paths: | |
- '.github/workflows/**' | |
- '**.py' | |
- 'setup.py' | |
- 'helm/**' | |
merge_group: | |
jobs: | |
Minimal-Example: | |
runs-on: self-hosted | |
steps: | |
- run: echo "π The job was automatically triggered by a ${{ github.event_name }} event." | |
- run: echo "π§ This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
- run: echo "π The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- run: echo "π‘ The ${{ github.repository }} repository has been cloned to the runner." | |
- run: echo "π₯οΈ The workflow is now ready to test your code on the runner." | |
- name: Deploy via helm charts | |
run: | | |
cd ${{ github.workspace }} | |
sudo helm install vllm ./helm -f tutorials/assets/values-01-minimal-example.yaml | |
- name: Validate the installation and send query to the stack | |
run: | | |
sudo bash .github/port-forward.sh curl-01-minimal-example | |
timeout-minutes: 2 | |
- name: Archive functionality results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: output-01-minimal-example | |
path: | | |
output-01-minimal-example/ | |
- name: Helm uninstall | |
run: | | |
sudo helm uninstall vllm | |
if: always() | |
- run: echo "π This job's status is ${{ job.status }}." | |
Multiple-Models: | |
runs-on: self-hosted | |
needs: Minimal-Example | |
steps: | |
- name: Deploy via helm charts | |
run: | | |
sudo helm install vllm ./helm -f .github/multiple-models.yaml | |
- name: Validate the installation and send query to the stack | |
run: | | |
sudo bash .github/port-forward.sh curl-04-multiple-models | |
timeout-minutes: 2 | |
- name: Archive functionality results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: output-04-multiple-models | |
path: | | |
output-04-multiple-models/ | |
- name: Helm uninstall | |
run: | | |
sudo helm uninstall vllm | |
if: always() | |
- run: echo "π This job's status is ${{ job.status }}." |