Skip to content

Commit

Permalink
Adding Keycloak as sidecar container in Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
costvin15 authored Feb 20, 2024
1 parent 519df56 commit 8e012cb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,26 @@ on:
jobs:
generating-coverage:
runs-on: ubuntu-latest
services:
keycloak:
image: quay.io/keycloak/keycloak:latest
ports:
- 8545:8080
env:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin
env:
KEYCLOAK_URL: http://localhost:8545/realms/educamotion
KEYCLOAK_CLIENT_ID: backend-service
KEYCLOAK_CLIENT_SECRET: secret
steps:
- name: Set up the Keycloak Admin
uses: carlosthe19916/[email protected]
with:
server: http://keycloak:8080/auth
username: admin
password: admin
kcadm: create realms -s realm=educamotion -s enabled=true -o
- uses: actions/checkout@v3
- name: Set up the Java JDK
uses: actions/setup-java@v3
Expand Down

0 comments on commit 8e012cb

Please sign in to comment.