Skip to content

[DCJ-400-maven]: Bump the maven-dependencies group with 7 updates (#987) #143

[DCJ-400-maven]: Bump the maven-dependencies group with 7 updates (#987)

[DCJ-400-maven]: Bump the maven-dependencies group with 7 updates (#987) #143

Workflow file for this run

name: ontology-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=${{ github.event.repository.name }}-${{ github.run_id }}-dev" >> $GITHUB_OUTPUT
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
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://ontology.${{ steps.setup.outputs.bee-name }}.bee.envs-terra.bio/
- name: Store Test Result Artifact
uses: actions/upload-artifact@v4
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: 'ontology-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