backoff when retrying in snapshot loop #2273
Workflow file for this run
This file contains hidden or 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: CI on PR | |
| on: | |
| pull_request: | |
| branches: ['*'] | |
| jobs: | |
| filter: | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| outputs: | |
| openapi: ${{ steps.filter.outputs.openapi }} | |
| go: ${{ steps.filter.outputs.go }} | |
| java: ${{ steps.filter.outputs.java }} | |
| javascript: ${{ steps.filter.outputs.javascript }} | |
| python: ${{ steps.filter.outputs.python }} | |
| main-docker: ${{ steps.filter.outputs.main-docker }} | |
| operator-docker: ${{ steps.filter.outputs.operator-docker }} | |
| operator: ${{ steps.filter.outputs.operator }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dorny/paths-filter@v3 | |
| id: filter | |
| with: | |
| filters: | | |
| openapi: | |
| - '.github/workflows/lint-openapi.yml' | |
| - '.vacuum.yaml' | |
| - 'openapi.json' | |
| go: | |
| - '.github/workflows/go.yml' | |
| - 'z-clients/go/**' | |
| java: | |
| - '.github/workflows/java.yml' | |
| - 'z-clients/java/**' | |
| javascript: | |
| - '.github/workflows/javascript.yml' | |
| - 'z-clients/javascript/**' | |
| python: | |
| - '.github/workflows/python.yml' | |
| - 'z-clients/python/**' | |
| main-docker: | |
| - '.github/workflows/docker-test-build.yml' | |
| - 'Dockerfile' | |
| - 'Cargo.toml' | |
| operator-docker: | |
| - '.github/workflows/docker-test-build.yml' | |
| - 'infra/operator/Dockerfile' | |
| - 'infra/operator/Cargo.toml' | |
| operator: | |
| - 'infra/operator/**' | |
| - '.github/workflows/ci.yml' | |
| - '.github/workflows/on-pr.yml' | |
| ci: | |
| needs: filter | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| uses: ./.github/workflows/ci.yml | |
| secrets: inherit | |
| with: | |
| run_operator_e2e: ${{ needs.filter.outputs.operator == 'true' }} | |
| lint-openapi: | |
| needs: filter | |
| if: needs.filter.outputs.openapi == 'true' | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| uses: ./.github/workflows/lint-openapi.yml | |
| secrets: inherit | |
| go: | |
| needs: filter | |
| if: needs.filter.outputs.go == 'true' | |
| uses: ./.github/workflows/go.yml | |
| java: | |
| needs: filter | |
| if: needs.filter.outputs.java == 'true' | |
| uses: ./.github/workflows/java.yml | |
| javascript: | |
| needs: filter | |
| if: needs.filter.outputs.javascript == 'true' | |
| uses: ./.github/workflows/javascript.yml | |
| python: | |
| needs: filter | |
| if: needs.filter.outputs.python == 'true' | |
| uses: ./.github/workflows/python.yml | |
| main-docker-test-build: | |
| needs: filter | |
| if: needs.filter.outputs.main-docker == 'true' | |
| uses: ./.github/workflows/docker-test-build.yml | |
| with: | |
| target: prod | |
| file: ./Dockerfile | |
| main-docker-cli-test-build: | |
| needs: filter | |
| if: needs.filter.outputs.main-docker == 'true' | |
| uses: ./.github/workflows/docker-test-build.yml | |
| with: | |
| target: cli-prod | |
| file: ./Dockerfile | |
| operator-docker-test-build: | |
| needs: filter | |
| if: needs.filter.outputs.operator-docker == 'true' | |
| uses: ./.github/workflows/docker-test-build.yml | |
| with: | |
| target: prod | |
| file: ./infra/operator/Dockerfile | |
| ci-required-checks: | |
| name: CI Required Checks | |
| runs-on: ubuntu-24.04 | |
| needs: | |
| - ci | |
| - lint-openapi | |
| - go | |
| - java | |
| - javascript | |
| - python | |
| - main-docker-test-build | |
| - main-docker-cli-test-build | |
| - operator-docker-test-build | |
| # Always run so that this job is a stable required status check: if an | |
| # upstream job is skipped (e.g. due to path filters added in the future) | |
| # that is fine; we only fail if something actually failed or was cancelled. | |
| if: always() | |
| steps: | |
| - name: All checks passed | |
| run: | | |
| results="${{ join(needs.*.result, ' ') }}" | |
| for result in $results; do | |
| if [[ "$result" == "failure" || "$result" == "cancelled" ]]; then | |
| echo "A required check failed or was cancelled (results: $results)" | |
| exit 1 | |
| fi | |
| done | |
| echo "All required checks passed or were skipped (results: $results)" |