[DT-400-maven]: Bump the maven-other-updates group with 12 updates (#… #2080
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: consent-smoke-tests | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| branches: | |
| - develop | |
| jobs: | |
| smoke-tests: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: 'read' | |
| id-token: 'write' | |
| steps: | |
| - name: setup | |
| id: setup | |
| run: | |
| echo "bee-name=${REPO_NAME}-${RUN_ID}-dev" >> $GITHUB_OUTPUT | |
| env: | |
| REPO_NAME: ${{ github.event.repository.name }} | |
| RUN_ID: ${{ github.run_id }} | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 25 | |
| cache: 'maven' | |
| - name: Bee Create | |
| uses: broadinstitute/workflow-dispatch@v4 | |
| with: | |
| workflow: bee-create | |
| repo: broadinstitute/terra-github-workflows | |
| ref: refs/heads/main | |
| token: ${{ secrets.BROADBOT_TOKEN}} | |
| inputs: '{ "bee-name": "${{ steps.setup.outputs.bee-name }}", "bee-template-name": "duos", "version-template": "dev" }' | |
| - name: Run Smoke Tests | |
| run: | | |
| mvn clean test -P integration-tests -DbaseUrl="https://consent.${BEE_NAME}.bee.envs-terra.bio/" | |
| env: | |
| BEE_NAME: ${{ steps.setup.outputs.bee-name }} | |
| - name: Store Test Result Artifact | |
| uses: actions/upload-artifact@v6 | |
| if: always() | |
| with: | |
| name: test-reports | |
| path: 'target/surefire-reports' | |
| - name: Bee Destroy | |
| uses: broadinstitute/workflow-dispatch@v4 | |
| if: always() | |
| with: | |
| workflow: bee-destroy | |
| repo: broadinstitute/terra-github-workflows | |
| ref: refs/heads/main | |
| token: ${{ secrets.BROADBOT_TOKEN}} | |
| inputs: '{ "bee-name": "${{ steps.setup.outputs.bee-name }}" }' | |
| upload-test-reports: | |
| needs: [smoke-tests] | |
| if: always() | |
| permissions: | |
| contents: 'read' | |
| id-token: 'write' | |
| uses: broadinstitute/dsp-reusable-workflows/.github/workflows/upload_test_results_to_biquery.yaml@main | |
| with: | |
| service-name: 'duos' | |
| test-uuid: ${{ github.run_id }} | |
| environment: 'dev' | |
| artifact: 'test-reports' | |
| big-query-table: 'broad-dsde-qa.automated_testing.test_results' | |
| subuuid: ${{ github.run_id }} | |
| report-workflow: | |
| if: github.ref == 'refs/heads/develop' | |
| uses: broadinstitute/sherlock/.github/workflows/client-report-workflow.yaml@main | |
| with: | |
| relates-to-chart-releases: 'consent-dev' | |
| notify-slack-channels-upon-workflow-failure: ${{ vars.SLACK_NOTIFICATION_CHANNELS }} | |
| notify-slack-channels-upon-workflow-retry: ${{ vars.SLACK_NOTIFICATION_CHANNELS }} | |
| permissions: | |
| id-token: write |