Skip to content

Shaoting-Feng is testing out helm chart functions πŸš€ #76

Shaoting-Feng is testing out helm chart functions πŸš€

Shaoting-Feng is testing out helm chart functions πŸš€ #76

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 }}."