added self contained postgresql db
SonarQube Analysis / Build and Analyze (pull_request) Failing after 2m52s
SonarQube Analysis / Build and Analyze (pull_request) Failing after 2m52s
This commit is contained in:
@@ -16,7 +16,19 @@ jobs:
|
|||||||
|
|
||||||
container:
|
container:
|
||||||
image: node:24
|
image: node:24
|
||||||
options: --network pg_network
|
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:17
|
||||||
|
env:
|
||||||
|
POSTGRES_USER: vaessl
|
||||||
|
POSTGRES_PASSWORD: vaessl
|
||||||
|
POSTGRES_DB: vaessl
|
||||||
|
options: >-
|
||||||
|
--health-cmd pg_isready
|
||||||
|
--health-interval 10s
|
||||||
|
--health-timeout 5s
|
||||||
|
--health-retries 5
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
@@ -53,10 +65,10 @@ jobs:
|
|||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
||||||
|
|
||||||
DB_URL: ${{ secrets.DB_URL }}
|
DB_URL: jdbc:postgresql://postgres:5432/vaessl
|
||||||
DB_TEST_URL: ${{ secrets.DB_TEST_URL }}
|
DB_TEST_URL: jdbc:postgresql://postgres:5432/vaessl
|
||||||
DB_USERNAME: ${{ secrets.DB_USERNAME }}
|
DB_USERNAME: vaessl
|
||||||
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
|
DB_PASSWORD: vaessl
|
||||||
PG_DRIVER_CLASS_NAME: org.postgresql.Driver
|
PG_DRIVER_CLASS_NAME: org.postgresql.Driver
|
||||||
|
|
||||||
OPENAI_BASE_URL: https://api.openai.com/v1
|
OPENAI_BASE_URL: https://api.openai.com/v1
|
||||||
|
|||||||
Reference in New Issue
Block a user