Isolate solution and pipeline changes #28
Workflow file for this run
This file contains 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: Solution convincing | |
on: | |
merge_group: | |
branches: | |
- feature/** | |
- bugfix/** | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
uu-to-images: | |
name: Up to images | |
timeout-minutes: 10 | |
runs-on: ubuntu-22.04 | |
permissions: | |
checks: write | |
packages: write | |
pull-requests: write | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./.github/actions/prepare | |
with: | |
tools: python java docker | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- run: ansible-playbook sources.yml -l lib:app | |
working-directory: .dx | |
env: | |
GITHUB_ACTOR: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- run: > | |
ansible-playbook images.yml | |
-e binary_repo=maven.pkg.github.com | |
-e image_repo=ghcr.io | |
-e focus=solution | |
working-directory: .dx | |
env: | |
GITHUB_ACTOR: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: EnricoMi/[email protected] | |
if: ${{ !cancelled() }} | |
with: | |
check_name: Unit Test Report | |
check_run_annotations: none | |
compare_to_earlier_commit: false | |
action_fail_on_inconclusive: true | |
action_fail: true | |
job_summary: false | |
comment_mode: off | |
files: | | |
libs/*/target/surefire-reports/TEST-*.xml | |
apps/*/target/surefire-reports/TEST-*.xml | |
- uses: EnricoMi/[email protected] | |
if: ${{ !cancelled() }} | |
with: | |
check_name: Integration Test Report | |
check_run_annotations: none | |
compare_to_earlier_commit: false | |
action_fail_on_inconclusive: true | |
action_fail: true | |
job_summary: false | |
comment_mode: off | |
files: | | |
libs/*/target/failsafe-reports/TEST-*.xml | |
apps/*/target/failsafe-reports/TEST-*.xml | |
- name: Always empty E2E test report. See https://github.com/orgs/community/discussions/13690 | |
uses: EnricoMi/[email protected] | |
if: ${{ !cancelled() }} | |
with: | |
check_name: E2E Test Report | |
check_run_annotations: none | |
compare_to_earlier_commit: false | |
action_fail_on_inconclusive: true | |
action_fail: true | |
job_summary: false | |
comment_mode: off | |
files: tests/*/target/surefire-reports/TEST-*.xml | |
- uses: madrapps/[email protected] | |
if: ${{ github.event_name == 'pull_request' && hashFiles(env.JACOCO_UNITS) != '' }} | |
with: | |
title: Unit Coverage Report | |
paths: ${{ env.JACOCO_UNITS }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
update-comment: true | |
env: | |
JACOCO_UNITS: .tools/target/coverage/units/jacoco.xml | |
- uses: madrapps/[email protected] | |
if: ${{ github.event_name == 'pull_request' && hashFiles(env.JACOCO_INTEGRATIONS) != '' }} | |
with: | |
title: Integration Coverage Report | |
paths: ${{ env.JACOCO_INTEGRATIONS }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
update-comment: true | |
env: | |
JACOCO_INTEGRATIONS: .tools/target/coverage/integrations/jacoco.xml |