Fakultas Ilmu Komputer UI

Commit ffbed1c4 authored by Johanes Steven's avatar Johanes Steven

Merge branch 'johanes' into 'master'

use env vars

See merge request !10
parents 761492f8 13693722
Pipeline #81863 failed with stages
in 9 minutes and 46 seconds
...@@ -28,12 +28,12 @@ test: ...@@ -28,12 +28,12 @@ test:
- name: postgres:13.2-alpine - name: postgres:13.2-alpine
alias: postgres alias: postgres
variables: variables:
POSTGRES_DB: ci POSTGRES_DB: $DATABASE_DB
POSTGRES_USER: ci_user POSTGRES_USER: $DATABASE_USERNAME
POSTGRES_PASSWORD: ci_password POSTGRES_PASSWORD: $DATABASE_PASSWORD
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/ci SPRING_DATASOURCE_URL: jdbc:$DATABASE_URL
SPRING_DATASOURCE_USERNAME: ci_user SPRING_DATASOURCE_USERNAME: $DATABASE_USERNAME
SPRING_DATASOURCE_PASSWORD: ci_password SPRING_DATASOURCE_PASSWORD: $DATABASE_PASSWORD
script: script:
- gradle check - gradle check
-Dspring.profiles.active=ci -Dspring.profiles.active=ci
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment