Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
- "master"
- "release-*"
tags:
- "v*"
pull_request:
branches:
- "master"
- "release-*"

jobs:
golangci:
name: lint
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
name: build
on: [push, pull_request]
on:
push:
branches:
- "master"
- "release-*"
tags:
- "v*"
pull_request:
branches:
- "master"
- "release-*"

jobs:
validate:
name: Validate
Expand All @@ -9,8 +20,6 @@ jobs:
defaults:
run:
working-directory: ${{ env.GOPATH }}/src/github.com/kubeflow/mpi-operator
# Pull requests from the same repository won't trigger this checks as they were already triggered by the push
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Clone the code
uses: actions/checkout@v3
Expand All @@ -34,8 +43,6 @@ jobs:
name: E2E
runs-on:
labels: ubuntu-latest-16-cores
# Pull requests from the same repository won't trigger this checks as they were already triggered by the push
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: false
matrix:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/mpi-operator-docker-image-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ name: build and publish mpi multi-arch docker image
on:
push:
branches:
- "master"
- "master"
- "release-*"
tags:
- "v*"
- "v*"
pull_request:
branches:
- "master"
- "master"
- "release-*"

env:
IMAGE_NAME: mpioperator/mpi-operator
Expand Down
Loading