-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56e2fa6
commit 28b011d
Showing
9 changed files
with
804 additions
and
312 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,81 @@ | ||
#!/bin/bash | ||
|
||
|
||
# echo -n "Enter the name of public key (ex:id_ed25519): " | ||
# read publickey | ||
|
||
if [$1 -eq ""] | ||
then | ||
set "id_ed25519" | ||
set $"id_ed25519" | ||
fi | ||
|
||
echo $publickey | ||
echo -n "Enter the name of docker image name which is wanted to build locally: (ex:gatekeeper or || all): " | ||
read imageName | ||
|
||
if [$imageName -eq ""] | ||
then | ||
set $"all" | ||
fi | ||
|
||
sh ./gatekeeper/build.sh $1 | ||
wait | ||
echo "gatekeeper image Successfully built" | ||
sh ./keycloak/build.sh $1 | ||
wait | ||
echo "keycloak image Successfully built" | ||
sh ./login/build.sh $1 | ||
wait | ||
echo "login image Successfully built" | ||
sh ./portal/build.sh $1 | ||
wait | ||
echo "portal image Successfully built" | ||
sh ./postgresql/build.sh $1 | ||
wait | ||
echo "postgresql image Successfully built" | ||
sh ./source.manager/build.sh $1 | ||
echo "source.manager image Successfully built" | ||
wait | ||
sh ./doc/build.sh $1 | ||
echo "doc image Successfully built" | ||
case $imageName in | ||
"gatekeeper") | ||
sh ./gatekeeper/build.sh $1 | ||
wait | ||
echo -e $"gatekeeper image Successfully built\n" | ||
;; | ||
"keycloak") | ||
sh ./keycloak/build.sh $1 | ||
wait | ||
echo -e $"keycloak image Successfully built\n" | ||
;; | ||
"login") | ||
sh ./login/build.sh $1 | ||
wait | ||
echo -e $"login image Successfully built\n" | ||
;; | ||
"portal") | ||
sh ./portal/build.sh $1 | ||
wait | ||
echo -e $"portal image Successfully built\n" | ||
;; | ||
"postgresql") | ||
sh ./postgresql/build.sh $1 | ||
wait | ||
echo -e $"postgresql image Successfully built\n" | ||
;; | ||
"sourceman") | ||
sh ./source.manager/build.sh $1 | ||
wait | ||
echo -e $"source.manager image Successfully built\n" | ||
;; | ||
"doc") | ||
sh ./doc/build.sh $1 | ||
wait | ||
echo $"doc image Successfully built\n" | ||
;; | ||
*) | ||
sh ./gatekeeper/build.sh $1 | ||
wait | ||
echo -e $"gatekeeper image Successfully built\n" | ||
sh ./keycloak/build.sh $1 | ||
wait | ||
echo -e $"keycloak image Successfully built\n" | ||
sh ./login/build.sh $1 | ||
wait | ||
echo -e $"login image Successfully built\n" | ||
sh ./portal/build.sh $1 | ||
wait | ||
echo -e $"portal image Successfully built\n" | ||
sh ./postgresql/build.sh $1 | ||
wait | ||
echo -e $"postgresql image Successfully built\n" | ||
sh ./source.manager/build.sh $1 | ||
wait | ||
echo -e $"source.manager image Successfully built\n" | ||
sh ./doc/build.sh $1 | ||
wait | ||
echo $"doc image Successfully built\n" | ||
;; | ||
esac | ||
shift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
docker exec -it in-sylva.keycloak /bin/bash -c "/opt/jboss/keycloak/bin/kcadm.sh config credentials --server http://localhost:8080/keycloak/auth --realm master --user insylva_admin --password v2kGBDUaGjXK2VuPyf5R64VS" | ||
docker exec -it in-sylva.keycloak /bin/bash -c "/opt/jboss/keycloak/bin/kcadm.sh create realms -f /home/realms/realm-export.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.