Skip to content

Commit

Permalink
Bump build number
Browse files Browse the repository at this point in the history
  • Loading branch information
y-a-n-n committed Feb 15, 2021
1 parent 9c629c6 commit 475b018
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Implementation adapted from [firebase-scrypt-java](https://github.com/SmartMoveS
## Download latest built version

```
curl -L https://github.com/SmartMoveSystems/keycloak-firebase-scrypt/releases/download/2.0.6/keycloak-firebase-scrypt-2.0.6.jar > KEYCLOAK_HOME/standalone/deployments/keycloak-firebase-scrypt-2.0.6.jar
curl -L https://github.com/SmartMoveSystems/keycloak-firebase-scrypt/releases/download/2.1.0/keycloak-firebase-scrypt-2.1.0.jar > KEYCLOAK_HOME/standalone/deployments/keycloak-firebase-scrypt-2.1.0.jar
```

## Run
Expand All @@ -20,7 +20,7 @@ curl -L https://github.com/SmartMoveSystems/keycloak-firebase-scrypt/releases/do

```bash
cp deploy.cli docker/
cp build/libs/keycloak-firebase-scrypt-2.0.6.jar docker/
cp build/libs/keycloak-firebase-scrypt-2.1.0.jar docker/
docker-compose up -d
```

Expand All @@ -29,7 +29,7 @@ docker-compose up -d
Deploy module:

```
$KEYCLOAK_HOME/bin/jboss-cli.sh --command="module add --name=com.smartmovesystems.keycloak.firebasescrypt --resources=build/libs/keycloak-firebase-scrypt-2.0.6.jar --dependencies=org.keycloak.keycloak-core,org.keycloak.keycloak-services,org.keycloak.keycloak-model-jpa,org.keycloak.keycloak-server-spi,org.keycloak.keycloak-server-spi-private,javax.ws.rs.api,javax.persistence.api,org.hibernate,org.javassist,org.liquibase"
$KEYCLOAK_HOME/bin/jboss-cli.sh --command="module add --name=com.smartmovesystems.keycloak.firebasescrypt --resources=build/libs/keycloak-firebase-scrypt-2.1.0.jar --dependencies=org.keycloak.keycloak-core,org.keycloak.keycloak-services,org.keycloak.keycloak-model-jpa,org.keycloak.keycloak-server-spi,org.keycloak.keycloak-server-spi-private,javax.ws.rs.api,javax.persistence.api,org.hibernate,org.javassist,org.liquibase"
```

Register provider in `standalone/configuration/standalone.xml`:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

group = "com.smartmovesystems.keycloak.firebasescrypt"
version = "2.0.6"
version = "2.1.0"

java {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion deploy.cli
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
embed-server --std-out=echo --server-config=standalone-ha.xml
if (outcome != success) of /core-service=module-loading/:list-resource-loader-paths(module=com.smartmovesystems.keycloak.firebasescrypt)
echo adding module com.smartmovesystems.keycloak.firebasescrypt
module add --name=com.smartmovesystems.keycloak.firebasescrypt --resources=/opt/jboss/keycloak/keycloak-firebase-scrypt-2.0.6.jar --dependencies=org.keycloak.keycloak-core,org.keycloak.keycloak-services,org.keycloak.keycloak-model-jpa,org.keycloak.keycloak-server-spi,org.keycloak.keycloak-server-spi-private,javax.ws.rs.api,javax.persistence.api,org.hibernate,org.javassist,org.liquibase
module add --name=com.smartmovesystems.keycloak.firebasescrypt --resources=/opt/jboss/keycloak/keycloak-firebase-scrypt-2.1.0.jar --dependencies=org.keycloak.keycloak-core,org.keycloak.keycloak-services,org.keycloak.keycloak-model-jpa,org.keycloak.keycloak-server-spi,org.keycloak.keycloak-server-spi-private,javax.ws.rs.api,javax.persistence.api,org.hibernate,org.javassist,org.liquibase
/subsystem=keycloak-server:list-add(name=providers, value=module:com.smartmovesystems.keycloak.firebasescrypt)
else
echo module com.smartmovesystems.keycloak.firebasescrypt already installed
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM jboss/keycloak:11.0.2

COPY ./keycloak-firebase-scrypt-2.0.6.jar /opt/jboss/keycloak/
COPY ./keycloak-firebase-scrypt-2.1.0.jar /opt/jboss/keycloak/
COPY ./themes/ /opt/jboss/keycloak/standalone/deployments/
COPY ./startup-scripts/ /opt/jboss/startup-scripts/

0 comments on commit 475b018

Please sign in to comment.