Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/reusable_workflow_verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ jobs:
ports:
- 15672:15672
- 5672:5672
postgresql:
image: postgres:16.5
env:
POSTGRES_DB: hawkbit
POSTGRES_USER: postgres
POSTGRES_PASSWORD: admin
options: >-
--health-cmd "pg_isready -d hawkbit -U postgres"
--health-interval 20s
--health-timeout 5s
--health-retries 10
ports:
- 5432:5432

steps:
- name: Parameters
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/verify-hibernate-postgresql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Verify (Hibernate + PostgreSQL)

on:
workflow_dispatch:

permissions:
contents: read

jobs:
verify-hibernate-postgresql:
uses: ./.github/workflows/reusable_workflow_verify.yaml
with:
repository: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }}
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref }}
maven_properties: '-Djpa.vendor=hibernate -Dlogging.level.org.hibernate.collection.spi.AbstractPersistentCollection=ERROR -Dspring.jpa.database=POSTGRESQL -Dspring.datasource.url=jdbc:postgresql://localhost:5432/hawkbit -Dspring.datasource.username=postgres -Dspring.datasource.password=admin'
15 changes: 15 additions & 0 deletions .github/workflows/verify-postgresql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Verify (PostgreSQL)

on:
workflow_dispatch:

permissions:
contents: read

jobs:
verify-postgresql:
uses: ./.github/workflows/reusable_workflow_verify.yaml
with:
repository: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }}
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref }}
maven_properties: '-Dspring.jpa.database=POSTGRESQL -Dspring.datasource.url=jdbc:postgresql://localhost:5432/hawkbit -Dspring.datasource.username=postgres -Dspring.datasource.password=admin'