Merge pull request #318 from raffaelespazzoli/bmad-epic-3 #218
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: push | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| tags: | |
| - v* | |
| workflow_dispatch: | |
| inputs: | |
| kubectl-wait-timeout: | |
| description: "kubectl wait timeout used for integration and helmchart-test targets in the Makefile (e.g. 5m)" | |
| required: false | |
| default: "20m" | |
| # Permissions required by nested workflow | |
| permissions: | |
| contents: write | |
| id-token: write | |
| packages: write | |
| actions: read | |
| jobs: | |
| shared-operator-workflow: | |
| name: shared-operator-workflow | |
| uses: redhat-cop/github-workflows-operators/.github/workflows/release-operator.yml@5b0493408637600ef9c71d2321337adac65153a3 # v1.1.6 | |
| secrets: | |
| COMMUNITY_OPERATOR_PAT: ${{ secrets.COMMUNITY_OPERATOR_PAT }} | |
| REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }} | |
| REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }} | |
| with: | |
| PR_ACTOR: "[email protected]" | |
| RUN_UNIT_TESTS: true | |
| RUN_INTEGRATION_TESTS: true | |
| RUN_HELMCHART_TEST: true | |
| GO_VERSION: ~1.22 | |
| OPERATOR_SDK_VERSION: v1.31.0 | |
| KUBECTL_WAIT_TIMEOUT: ${{ github.event.inputs['kubectl-wait-timeout'] != '' && github.event.inputs['kubectl-wait-timeout'] || vars.KUBECTL_WAIT_TIMEOUT != '' && vars.KUBECTL_WAIT_TIMEOUT || '20m' }} |