Skip to content

Commit

Permalink
needs runner information
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Cook <rcook@redhat.com>
  • Loading branch information
cooktheryan committed Jun 24, 2024
1 parent bc86300 commit abdf899
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/training_bootc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,6 @@ name: Training Bootc image builds
on:
workflow_dispatch:

pull_request:
branches:
- main
paths:
- .github/workflows/training_bootc.yaml
- 'training/common/**'
- 'training/amd-bootc/**'
- 'training/intel-bootc/**'
- 'training/nvidia-bootc/**'
- 'training/intel-bootc/**'
- 'training/instructlab/**'
- 'training/vllm/**'
# push:
# branches:
# - main
# paths:
# - .github/workflows/model_image_build_push.yaml

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
Expand Down Expand Up @@ -118,7 +100,7 @@ jobs:
arch: amd64
runs-on: ${{ needs.start-runner.outputs.label }}
if: "!contains(github.event.pull_request.labels.*.name, 'hold-tests')"
needs: nvidia-bootc-builder-image
needs: [ nvidia-bootc-builder-image, start-runner ]
steps:
- uses: actions/checkout@v4.1.7

Expand Down Expand Up @@ -170,7 +152,7 @@ jobs:
pull-images: quay.io/ai-lab/vllm:latest
if: "!contains(github.event.pull_request.labels.*.name, 'hold-tests')"
runs-on: ${{ needs.start-runner.outputs.label }}
needs: nvidia-bootc-builder-image
needs: [ start-runner, nvidia-bootc-builder-image ]
continue-on-error: true
steps:
- uses: actions/checkout@v4.1.7
Expand Down Expand Up @@ -232,7 +214,7 @@ jobs:
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.REGION }}
aws-region: ${{ secrets.AWS_REGION }}
- name: Stop EC2 runner
uses: machulav/ec2-github-runner@v2
with:
Expand Down

0 comments on commit abdf899

Please sign in to comment.