-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GRP-3467: alternative status url that is outside of the authenticated
path
- Loading branch information
Showing
8 changed files
with
67 additions
and
42 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
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
70 changes: 35 additions & 35 deletions
70
container_files/tier-support/test/rebuildTestContainer.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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,36 +1,36 @@ | ||
| #/bin/bash | ||
|
|
||
| if [ "$#" -ne 3 ]; then | ||
| echo "You must enter exactly 3 command line arguments: grouper base image name, grouper base container version, grouper_container_git_base_dir" | ||
| echo "rebuildTestContainer.sh i2incommon/grouper:2.5.35 2.5.35 /mnt/c/git/grouper_container" | ||
| exit 1 | ||
| fi | ||
|
|
||
| export grouperBaseImageName=$1 | ||
| export grouperBaseContainerVersion=$2 | ||
| export grouperContainerGitPath=$3 | ||
| export subimageName=my-grouper-$2 | ||
|
|
||
| export reldir=`dirname $0` | ||
| cd $reldir | ||
|
|
||
| # /mnt/c/mchyzer/git/grouper_container | ||
| mkdir -p slashRoot/usr/local/bin | ||
| rsync -avzpl $grouperContainerGitPath/container_files/usr-local-bin/* slashRoot/usr/local/bin | ||
|
|
||
| mkdir -p slashRoot/etc/httpd/conf.d | ||
| rsync -avzpl $grouperContainerGitPath/container_files/httpd/* slashRoot/etc/httpd/conf.d | ||
|
|
||
| mkdir -p slashRoot/opt/tier-support/originalFiles | ||
| rsync -avzpl etc/httpd/conf.d/ssl-enabled.conf slashRoot/opt/tier-support/originalFiles | ||
|
|
||
| rsync -avzpl $grouperContainerGitPath/container_files/tier-support/test/grouper*.sh $reldir | ||
|
|
||
| #mkdir -p slashRoot/opt/tomee/conf | ||
| #rsync -avzpl $grouperContainerGitPath/container_files/tomee/conf/* slashRoot/opt/tomee/conf/ | ||
|
|
||
| sed -i "s|__BASE_CONTAINER__|$grouperBaseImageName|g" "testContainer.Dockerfile" | ||
|
|
||
| docker build -f testContainer.Dockerfile -t $subimageName --build-arg GROUPER_VERSION=$grouperBaseContainerVersion $reldir | ||
|
|
||
| #/bin/bash | ||
|
|
||
| if [ "$#" -ne 3 ]; then | ||
| echo "You must enter exactly 3 command line arguments: grouper base image name, grouper base container version, grouper_container_git_base_dir" | ||
| echo "rebuildTestContainer.sh i2incommon/grouper:2.5.35 2.5.35 /mnt/c/git/grouper_container" | ||
| exit 1 | ||
| fi | ||
|
|
||
| export grouperBaseImageName=$1 | ||
| export grouperBaseContainerVersion=$2 | ||
| export grouperContainerGitPath=$3 | ||
| export subimageName=my-grouper-$2 | ||
|
|
||
| export reldir=`dirname $0` | ||
| cd $reldir | ||
|
|
||
| # /mnt/c/mchyzer/git/grouper_container | ||
| mkdir -p slashRoot/usr/local/bin | ||
| rsync -avzpl $grouperContainerGitPath/container_files/usr-local-bin/* slashRoot/usr/local/bin | ||
|
|
||
| mkdir -p slashRoot/etc/httpd/conf.d | ||
| rsync -avzpl $grouperContainerGitPath/container_files/httpd/* slashRoot/etc/httpd/conf.d | ||
|
|
||
| mkdir -p slashRoot/opt/tier-support/originalFiles | ||
| rsync -avzpl $grouperContainerGitPath/container_files/httpd/ssl-enabled.conf slashRoot/opt/tier-support/originalFiles | ||
|
|
||
| rsync -avzpl $grouperContainerGitPath/container_files/tier-support/test/grouper*.sh $reldir | ||
|
|
||
| #mkdir -p slashRoot/opt/tomee/conf | ||
| #rsync -avzpl $grouperContainerGitPath/container_files/tomee/conf/* slashRoot/opt/tomee/conf/ | ||
|
|
||
| sed -i "s|__BASE_CONTAINER__|$grouperBaseImageName|g" "testContainer.Dockerfile" | ||
|
|
||
| docker build -f testContainer.Dockerfile -t $subimageName --build-arg GROUPER_VERSION=$grouperBaseContainerVersion $reldir | ||
|
|
||
| echo "Run tests with: ./grouperContainerUnitTest.sh grouper-test $subimageName:latest $grouperBaseContainerVersion $grouperBaseContainerVersion" |
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