Upgraded ZenML Version to 0.71.0 #49
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: Staging Trigger LLM-COMPLETE | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: [staging, main] | |
concurrency: | |
# New commit on branch cancels running workflows of the same branch | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run-staging-workflow: | |
runs-on: ubuntu-latest | |
env: | |
ZENML_STORE_URL: ${{ secrets.ZENML_PROJECTS_HOST }} | |
ZENML_STORE_API_KEY: ${{ secrets.ZENML_PROJECTS_API_KEY }} | |
ZENML_STAGING_STACK : 67166d73-a44e-42f9-b67f-011e9afab9b5 # Set this to your staging stack ID | |
ZENML_GITHUB_SHA: ${{ github.event.pull_request.head.sha }} | |
ZENML_GITHUB_URL_PR: ${{ github.event.pull_request._links.html.href }} | |
ZENML_DEBUG: true | |
ZENML_ANALYTICS_OPT_IN: false | |
ZENML_LOGGING_VERBOSITY: INFO | |
ZENML_PROJECT_SECRET_NAME: llm-complete | |
ZENML_DISABLE_CLIENT_SERVER_MISMATCH_WARNING: True | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install requirements | |
working-directory: ./llm-complete-guide | |
run: | | |
pip3 install uv | |
uv pip install -r requirements.txt --system | |
uv pip install -r requirements-argilla.txt --system | |
zenml integration install aws s3 -y --uv | |
- name: Setup tmate session | |
uses: mxschmitt/action-tmate@v3 | |
- name: Connect to ZenML server | |
working-directory: ./llm-complete-guide | |
run: | | |
zenml init | |
- name: Set stack (Staging) | |
working-directory: ./llm-complete-guide | |
run: | | |
zenml stack set ${{ env.ZENML_STAGING_STACK }} | |
- name: Run pipeline (Staging) | |
working-directory: ./llm-complete-guide | |
run: | | |
python gh_action_rag.py --no-cache --config staging/rag.yaml --zenml-model-version staging |