First draft #1
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: Iris sync | ||
| on: | ||
| schedule: | ||
| # Nightly job | ||
| - cron: '0 2 * * *' | ||
| workflow_dispatch: | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| iris: | ||
| name: "IRIS ${{ matrix.name }}" | ||
| needs: [analysis-shadow-sqc-eu, analysis-shadow-sqc-us] | ||
| runs-on: sonar-s-public | ||
| if: github.ref == 'refs/heads/master' | ||
| permissions: | ||
| id-token: write | ||
| contents: write | ||
| strategy: | ||
| matrix: | ||
| include: | ||
| - name: "IRIS SQ NEXT -> Sonarcloud.io" | ||
| env: | ||
| SONAR_TARGET_URL: https://sonarcloud.io | ||
| SONAR_TARGET_IRIS_TOKEN: VAULT[development/kv/data/iris data.sqc-eu] | ||
| - name: "IRIS SQ NEXT -> SonarQube.us" | ||
| env: | ||
| SONAR_TARGET_URL: https://sonarqube.us | ||
| SONAR_TARGET_IRIS_TOKEN: VAULT[development/kv/data/iris data.sqc-us] | ||
| steps: | ||
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | ||
| - name: Run IRIS | ||
| run: ./.github/scripts/run_iris.sh | ||