Skip to content

update exception and log #402

update exception and log

update exception and log #402

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: hera test
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
pull_request:
paths:
- 'hera-all/**'
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
check-build:
name: hera test
runs-on: ubuntu-latest
steps:
- name: Setup Maven Action
uses: s4u/setup-maven-action@v1.7.0
with:
java-version: 8
#settings-properties: '[{"propertyName1": "propertyValue1"}, {"propertyName2": "propertyValue2"}]'
- run: echo '<settings> <interactiveMode>false</interactiveMode> <profiles> <profile> <repositories> <repository> <snapshots /> <id>ossrh</id> <name>ossrh-snapshot</name> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <snapshots /> <id>ossrh</id> <name>ossrh-snapshot</name> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </pluginRepository> </pluginRepositories> <id>artifactory</id> </profile> </profiles> <activeProfiles> <activeProfile>artifactory</activeProfile> </activeProfiles> <servers> <server> <id>github</id> <username>${env.GITHUB_ACTOR}</username> <password>${env.GITHUB_TOKEN}</password> </server> </servers> <mirrors/> <proxies/></settings>' > ~/.m2/settings.xml
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
hera-app:
- 'hera-all/hera-app/**'
hera-operator:
- 'hera-all/hera-operator/**'
hera-tspandata:
- 'hera-all/hera-tspandata/**'
hera-log:
- 'hera-all/hera-log/**'
hera-monitor:
- 'hera-all/hera-monitor/**'
hera-prometheus-agent:
- 'hera-all/hera-prometheus-agent/**'
prometheus-starter-all:
- 'hera-all/prometheus-starter-all/**'
trace-etl:
- 'hera-all/trace-etl/**'
hera-demo-client:
- 'hera-all/hera-demo-client/**'
hera-webhook:
- 'hera-all/hera-webhook/**'
# run only if some file in 'src' folder was changed
- if: always() && steps.changes.outputs.hera-app == 'true' || github.event == 'workflow_dispatch'
run: cd hera-all/hera-app; mvn -U clean package --fail-at-end -Dmaven.test.skip=true; cd ../..
- if: always() && steps.changes.outputs.hera-operator == 'true' || github.event == 'workflow_dispatch'
run: cd hera-all/hera-operator; mvn -U clean package --fail-at-end -Dmaven.test.skip=true; cd ../..
- if: always() && steps.changes.outputs.hera-tspandata == 'true' || github.event == 'workflow_dispatch'
run: cd hera-all/hera-tspandata; mvn -U clean package --fail-at-end -Dmaven.test.skip=true; cd ../..
- if: always() && steps.changes.outputs.hera-log == 'true' || github.event == 'workflow_dispatch'
run: cd hera-all/hera-log; mvn -U clean package --fail-at-end -Dmaven.test.skip=true; cd ../..
- if: always() && steps.changes.outputs.hera-monitor == 'true' || github.event == 'workflow_dispatch'
run: cd hera-all/hera-monitor; mvn -U clean package --fail-at-end -Dmaven.test.skip=true; cd ../..\
- if: always() && steps.changes.outputs.hera-prometheus-agent == 'true' || github.event == 'workflow_dispatch'
run: cd hera-all/hera-prometheus-agent; mvn -U clean package --fail-at-end -Dmaven.test.skip=true; cd ../..
- if: always() && steps.changes.outputs.prometheus-starter-all == 'true' || github.event == 'workflow_dispatch'
run: cd hera-all/prometheus-starter-all; mvn -U clean package --fail-at-end -Dmaven.test.skip=true; cd ../..
- if: always() && steps.changes.outputs.trace-etl == 'true' || github.event == 'workflow_dispatch'
run: cd hera-all/trace-etl; mvn -U clean package --fail-at-end -Dmaven.test.skip=true; cd ../..
- if: always() && steps.changes.outputs.hera-demo-client == 'true' || github.event == 'workflow_dispatch'
run: cd hera-all/hera-demo-client; mvn -U clean package --fail-at-end -Dmaven.test.skip=true; cd ../..
- if: always() && steps.changes.outputs.hera-webhook == 'true' || github.event == 'workflow_dispatch'
run: cd hera-all/hera-webhook; mvn -U clean package --fail-at-end -Dmaven.test.skip=true; cd ../..