-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OZ-438: Use shared GitHub Actions workflows (#39)
- Loading branch information
1 parent
136caa8
commit a9b75ff
Showing
5 changed files
with
59 additions
and
139 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Check for dependency changes | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '*/60 * * * *' | ||
|
||
jobs: | ||
check-deps: | ||
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-check-deps-build-publish.yml@main | ||
with: | ||
java-version: "8" | ||
secrets: | ||
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} | ||
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} | ||
|
||
notify-ocd3: | ||
needs: check-deps | ||
uses: mekomsolutions/shared-github-workflow/.github/workflows/ocd3-notify.yml@main | ||
with: | ||
webhook-url: ${{ secrets.OCD3_WEBHOOK_URL }} | ||
secrets: | ||
OCD3_USERNAME: ${{ secrets.OCD3_USERNAME }} | ||
OCD3_PASSWORD: ${{ secrets.OCD3_PASSWORD }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
validate: | ||
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-build-test.yml@main | ||
with: | ||
java-version: "8" | ||
maven-args: "-P validator" # OMRS config validation | ||
secrets: | ||
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} | ||
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} | ||
|
||
pre-release: | ||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | ||
needs: validate | ||
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-publish.yml@main | ||
secrets: | ||
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} | ||
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} | ||
|
||
release: | ||
if: ${{ github.event_name == 'release' }} | ||
needs: validate | ||
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-publish.yml@main | ||
secrets: | ||
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} | ||
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.