Skip to content

Commit

Permalink
Merge branch 'main' into operator-3.102.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Razz4780 authored Jan 2, 2025
2 parents f26ff8c + 78bf531 commit c926cff
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,24 @@ jobs:
- name: get operator logs
if: failure()
run: kubectl logs -n mirrord deployment/mirrord-operator

ci-success:
runs-on: ubuntu-latest
name: ci-success
# We want this to run even if some of the required jobs got skipped
if: always()
needs:
[
sanity,
operator-install,
operator-install-and-use,
]
steps:
- name: CI succeeded
# We have to do it in the shell since if it's in the if condition
# then skipping is considered success by branch protection rules
env:
CI_SUCCESS: ${{ (needs.sanity.result == 'success') &&
(needs.operator-install.result == 'success') &&
(needs.operator-install-and-use.result == 'success') }}
run: echo $CI_SUCCESS && if [ "$CI_SUCCESS" == "true" ]; then echo "SUCCESS" && exit 0; else echo "FAILURE" && exit 1; fi

0 comments on commit c926cff

Please sign in to comment.