Skip to content

Commit

Permalink
Migrate OLM bundle image CI job from Gitlab to Github
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <[email protected]>
  • Loading branch information
shivakunv committed Feb 6, 2025
1 parent 0f42fee commit eb2215a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ name: CI
on:
push:
branches:
- "pull-request/[0-9]+"
- main
- release-*
# - "pull-request/[0-9]+"
# - main
# - release-*
- bundleimage

jobs:
### Configuration checks ###
Expand Down Expand Up @@ -315,8 +316,9 @@ jobs:
path: ./logs/
retention-days: 15

build-gpu-operator-bundle-image:
if: github.ref == 'refs/heads/main' # Runs only if the event is from a main branch commit
push-gpu-operator-bundle-image:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/bundleimage' }} # Runs only if the event is from a main branch commit
needs: [e2e-tests-containerd, e2e-tests-nvidiadriver]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit eb2215a

Please sign in to comment.