forked from wso2/cellery-hub
-
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.
Update IdP setup process to run on a container
- Loading branch information
1 parent
74c02bb
commit 2ad2d48
Showing
15 changed files
with
69 additions
and
18 deletions.
There are no files selected for viewing
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
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,30 @@ | ||
# ------------------------------------------------------------------------ | ||
# | ||
# Copyright 2019 WSO2, Inc. (http://wso2.com) | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License | ||
# | ||
# ------------------------------------------------------------------------ | ||
|
||
FROM ubuntu:bionic | ||
LABEL MAINTAINER="WSO2 Cellery Maintainers <[email protected]>" | ||
|
||
COPY ./docker/deployment-init/files/ ./ | ||
|
||
RUN apt-get -y update;\ | ||
apt-get -y upgrade;\ | ||
apt-get -y install curl | ||
|
||
ENV TERM=xterm-256color | ||
|
||
ENTRYPOINT ["bash", "setup-is.sh"] |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
export CELLERY_HUB_IDP_URL=${CELLERY_HUB_IDP_URL:-https://localhost:9443} | ||
export CELLERY_HUB_GOOGLE_CLIENT_ID=${CELLERY_HUB_GOOGLE_CLIENT_ID:-fillMe} | ||
export CELLERY_HUB_GOOGLE_CLIENT_SECRET=${CELLERY_HUB_GOOGLE_CLIENT_SECRET:-fillMe} | ||
export CELLERY_HUB_GITHUB_CLIENT_ID=${CELLERY_HUB_GITHUB_CLIENT_ID:-fillMe} | ||
export CELLERY_HUB_GITHUB_CLIENT_SECRET=${CELLERY_HUB_GITHUB_CLIENT_SECRET:-fillMe} | ||
export CELLERY_HUB_CLI_CALL_BACK_URL=regexp=http://localhost:[0-9]+/\(.*\) | ||
export CELLERY_HUB_WEB_PORTAL_CALLBACK=regexp=https://hub.cellery.io:9000/\(.*\) | ||
export CELLERY_HUB_FEDERATED_CALLBACK_URL=https://idp.hub.cellery.io:9443/commonauth | ||
export CELLERY_HUB_IDP_ADMIN_USERNAME=admin | ||
export CELLERY_HUB_IDP_ADMIN_PASSWORD=admin |
18 changes: 17 additions & 1 deletion
18
docker/identity-server/files/setup-is.sh → docker/deployment-init/files/setup-is.sh
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
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.