Update sonarqube chart to 2025.3.0 #129
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: Verify and release module | |
| # Controls when the action will run. Triggers the workflow on push or pull request | |
| # events but only for the main branch | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
| jobs: | |
| verify: | |
| if: ${{ !contains( github.event.pull_request.labels.*.name, 'skip ci' ) }} | |
| runs-on: ubuntu-latest | |
| container: quay.io/ibmgaragecloud/cli-tools:v1.1-v1.8.4 | |
| strategy: | |
| matrix: | |
| platform: [ocp4_latest] | |
| # max-parallel: 1 | |
| fail-fast: false | |
| env: | |
| HOME: /home/devops | |
| # Steps represent a sequence of tasks that will be executed as part of the job | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v1 | |
| # Setups up the task | |
| - name: Verify on ${{ matrix.platform }} | |
| uses: ibm-garage-cloud/action-module-verify@main | |
| with: | |
| clusterId: ${{ matrix.platform }} | |
| env: | |
| TF_VAR_ibmcloud_api_key: ${{ secrets.IBMCLOUD_API_KEY }} | |
| IBMCLOUD_API_KEY: ${{ secrets.IBMCLOUD_API_KEY }} | |
| release: | |
| # if: ${{ github.event_name == 'push' }} | |
| needs: verify | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event_name == 'push' }} | |
| # Steps represent a sequence of tasks that will be executed as part of the job | |
| steps: | |
| # Drafts your next Release notes as Pull Requests are merged into "main" | |
| - uses: release-drafter/release-drafter@v5 | |
| with: | |
| # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml | |
| config-name: release-drafter.yaml | |
| publish: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.TOKEN }} |