Skip to content

build(deps): bump org.testcontainers:testcontainers-bom from 1.19.7 to 1.20.3 #72

build(deps): bump org.testcontainers:testcontainers-bom from 1.19.7 to 1.20.3

build(deps): bump org.testcontainers:testcontainers-bom from 1.19.7 to 1.20.3 #72

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
cache: maven
- run: mvn -B package
- name: Publish
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
OSSRH_USERNAME: ${{ secrets.SONATYPE_OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.SONATYPE_OSSRH_PASSWORD }}
GPG_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
GPG_SECRET_KEYS: ${{ secrets.PGP_PRIVATE_KEY }}
run: |
echo -e "$GPG_SECRET_KEYS" | gpg --import --no-tty --batch --yes
mvn deploy --settings .mvn/settings.xml -Dgpg.skip=false -Dmaven.test.skip=true -B
generate_kamelet_catalog:
if: github.repository == 'dhis2/camel-hie-boot' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v4
- name: "Import GPG key"
id: import-gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.AUTODOC_BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.AUTODOC_BOT_GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm run generate
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'docs: generate Kamelet catalog [skip ci]'
file_pattern: 'kamelet-catalog.md'
commit_author: "Auto-Doc Bot <${{ steps.import-gpg.outputs.email }}>"
commit_user_name: auto-doc-bot
commit_user_email: ${{ steps.import-gpg.outputs.email }}