Skip to content

Commit

Permalink
DevOps update to support Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
KDNeufeld committed Sep 20, 2023
1 parent 5c0d2a9 commit c29997b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ MVN_PROFILE=
SERVER_PORT=8090

# KEYCLOAK CONFIG
KEYCLOAK_REALM_SERVER_URL
KEYCLOAK_SSL_REQUIRED=none
KEYCLOAK_RESOURCE=ai-reviewer-api
KEYCLOAK_AUTH_SERVER_URL=
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
repository: bcgov/spring-boot-starters
path: spring-boot-starters
ref: v0.1.8
ref: v1.0.0

# TODO REMOVE AFTER SFTP IS IN MAVEN CENTRAL
- name: Build Spring SFTP Starter
Expand Down Expand Up @@ -74,10 +74,10 @@ jobs:
if: env.GIT_BRANCH == 'refs/heads/main'

# Setup Java Environment
- name: Set up JDK 1.8
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 17

# Run Maven Verify to generate all jacoco reports
- name: Build with Maven
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ services:
- CLAMAV_HOST=clamav
- CLAMAV_PORT=3310
- CLAMAV_TIMEOUT=50000
- KEYCLOAK_REALM_SERVER_URL=${KEYCLOAK_REALM_SERVER_URL:-http://keycloak:8080/auth/realms/ai-reviewer}
- KEYCLOAK_AUTH_SERVER_URL=${KEYCLOAK_AUTH_SERVER_URL:-http://keycloak:8080/auth}
- KEYCLOAK_REALM=${KEYCLOAK_REALM:-ai-reviewer}
- KEYCLOAK_RESOURCE=${KEYCLOAK_RESOURCE:-ai-reviewer-api}
Expand Down
1 change: 1 addition & 0 deletions src/backend/ai-reviewer-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ You should use environment variables to configure the jag ai-reviewer-api
| CSO_WEBHOOK_ENDPOINT | String | CSO extract | defaulted to mock service |
| CSO_WEBHOOK_USERNAME | String | CSO username | defaulted to mock service |
| CSO_WEBHOOK_PASSWORD | String | CSO password | defaulted to mock service |
| KEYCLOAK_REALM_SERVER_URL | String | The keycloak JWT issuer uri | not set by default |
| KEYCLOAK_AUTH_SERVER_URL | String | The keycloak auth server URL | not set by default |
| KEYCLOAK_REALM | String | The keycloak realm name | not set by default |
| KEYCLOAK_RESOURCE | String | The keycloak resource name | not set by default |
Expand Down

0 comments on commit c29997b

Please sign in to comment.