-
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.
Basic build for 401.2.4-2401.2.9 completed.
- Loading branch information
John Gasper
committed
Aug 30, 2018
1 parent
1124852
commit 843de43
Showing
26 changed files
with
204 additions
and
5 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| FROM tier/grouper-training-env:ex401.2.4 | ||
|
|
||
| LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \ | ||
| Vendor="TIER" \ | ||
| ImageType="Grouper Training" \ | ||
| ImageName=$imagename \ | ||
| ImageOS=centos7 | ||
|
|
||
| ENV USERTOKEN=ex401.2.5 | ||
|
|
||
| COPY container_files/seed-data/ /seed-data/ | ||
|
|
||
| RUN . /usr/local/bin/library.sh \ | ||
| && prepConf; \ | ||
| (/usr/sbin/slapd -h "ldap:/// ldaps:/// ldapi:///" -u ldap &) \ | ||
| && while ! curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to start; sleep 1; done; \ | ||
| (mysqld_safe & ) \ | ||
| && while ! curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to start; sleep 3; done; \ | ||
| cd /opt/grouper/grouper.apiBinary \ | ||
| && ldapadd -x -D cn=root,dc=internet2,dc=edu -w password -f /seed-data/users.ldif \ | ||
| && mysql grouper < /seed-data/sisData.sql \ | ||
| && bin/gsh /seed-data/bootstrap.gsh \ | ||
| && pkill -HUP slapd \ | ||
| && while curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to stop; sleep 1; done; \ | ||
| pkill -u mysql mysqld \ | ||
| && while curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to stop; sleep 1; done |
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,10 @@ | ||
| gs = GrouperSession.startRootSession(); | ||
|
|
||
| addStem("ref", "dept", "dept"); | ||
| addGroup("ref:dept", "its", "its"); | ||
|
|
||
| addGroup("app:mfa:ref", "mfa_bypass", "mfa_bypass"); | ||
| addGroup("app:mfa:ref", "athletics", "athletics"); | ||
|
|
||
| addMember("app:mfa:mfa_enabled_deny", "app:mfa:ref:mfa_bypass"); | ||
| addMember("app:mfa:mfa_enabled_allow", "app:mfa:ref:athletics"); |
Empty file.
Empty file.
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,26 @@ | ||
| FROM tier/grouper-training-env:ex401.2.5 | ||
|
|
||
| LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \ | ||
| Vendor="TIER" \ | ||
| ImageType="Grouper Training" \ | ||
| ImageName=$imagename \ | ||
| ImageOS=centos7 | ||
|
|
||
| ENV USERTOKEN=ex401.2.6 | ||
|
|
||
| COPY container_files/seed-data/ /seed-data/ | ||
|
|
||
| RUN . /usr/local/bin/library.sh \ | ||
| && prepConf; \ | ||
| (/usr/sbin/slapd -h "ldap:/// ldaps:/// ldapi:///" -u ldap &) \ | ||
| && while ! curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to start; sleep 1; done; \ | ||
| (mysqld_safe & ) \ | ||
| && while ! curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to start; sleep 3; done; \ | ||
| cd /opt/grouper/grouper.apiBinary \ | ||
| && ldapadd -x -D cn=root,dc=internet2,dc=edu -w password -f /seed-data/users.ldif \ | ||
| && mysql grouper < /seed-data/sisData.sql \ | ||
| && bin/gsh /seed-data/bootstrap.gsh \ | ||
| && pkill -HUP slapd \ | ||
| && while curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to stop; sleep 1; done; \ | ||
| pkill -u mysql mysqld \ | ||
| && while curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to stop; sleep 1; done |
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,2 @@ | ||
| gs = GrouperSession.startRootSession(); | ||
|
|
Empty file.
Empty file.
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,26 @@ | ||
| FROM tier/grouper-training-env:ex401.2.6 | ||
|
|
||
| LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \ | ||
| Vendor="TIER" \ | ||
| ImageType="Grouper Training" \ | ||
| ImageName=$imagename \ | ||
| ImageOS=centos7 | ||
|
|
||
| ENV USERTOKEN=ex401.2.7 | ||
|
|
||
| COPY container_files/seed-data/ /seed-data/ | ||
|
|
||
| RUN . /usr/local/bin/library.sh \ | ||
| && prepConf; \ | ||
| (/usr/sbin/slapd -h "ldap:/// ldaps:/// ldapi:///" -u ldap &) \ | ||
| && while ! curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to start; sleep 1; done; \ | ||
| (mysqld_safe & ) \ | ||
| && while ! curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to start; sleep 3; done; \ | ||
| cd /opt/grouper/grouper.apiBinary \ | ||
| && ldapadd -x -D cn=root,dc=internet2,dc=edu -w password -f /seed-data/users.ldif \ | ||
| && mysql grouper < /seed-data/sisData.sql \ | ||
| && bin/gsh /seed-data/bootstrap.gsh \ | ||
| && pkill -HUP slapd \ | ||
| && while curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to stop; sleep 1; done; \ | ||
| pkill -u mysql mysqld \ | ||
| && while curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to stop; sleep 1; done |
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,3 @@ | ||
| gs = GrouperSession.startRootSession(); | ||
|
|
||
| addGroup("app:mfa:ref", "BannerUsersMinusFaculty", "BannerUsersMinusFaculty"); |
Empty file.
Empty file.
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,26 @@ | ||
| FROM tier/grouper-training-env:ex401.2.7 | ||
|
|
||
| LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \ | ||
| Vendor="TIER" \ | ||
| ImageType="Grouper Training" \ | ||
| ImageName=$imagename \ | ||
| ImageOS=centos7 | ||
|
|
||
| ENV USERTOKEN=ex401.2.8 | ||
|
|
||
| COPY container_files/seed-data/ /seed-data/ | ||
|
|
||
| RUN . /usr/local/bin/library.sh \ | ||
| && prepConf; \ | ||
| (/usr/sbin/slapd -h "ldap:/// ldaps:/// ldapi:///" -u ldap &) \ | ||
| && while ! curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to start; sleep 1; done; \ | ||
| (mysqld_safe & ) \ | ||
| && while ! curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to start; sleep 3; done; \ | ||
| cd /opt/grouper/grouper.apiBinary \ | ||
| && ldapadd -x -D cn=root,dc=internet2,dc=edu -w password -f /seed-data/users.ldif \ | ||
| && mysql grouper < /seed-data/sisData.sql \ | ||
| && bin/gsh /seed-data/bootstrap.gsh \ | ||
| && pkill -HUP slapd \ | ||
| && while curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to stop; sleep 1; done; \ | ||
| pkill -u mysql mysqld \ | ||
| && while curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to stop; sleep 1; done |
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,20 @@ | ||
| gs = GrouperSession.startRootSession(); | ||
|
|
||
| addGroup("app:mfa", "mfa_required", "mfa_required"); | ||
| addGroup("app:mfa:ref", "mfa_opt_in", "mfa_opt_in"); | ||
| addMember("app:mfa:mfa_enabled_allow", "app:mfa:ref:mfa_opt_in"); | ||
|
|
||
| addGroup("app:mfa:ref", "mfa_opt_in_access", "mfa_opt_in_access"); | ||
| addGroup("app:mfa:ref", "mfa_opt_in_access_allow", "mfa_opt_in_access_allow"); | ||
| addGroup("app:mfa:ref", "mfa_opt_in_access_deny", "mfa_opt_in_access_deny"); | ||
|
|
||
| addComposite("app:mfa:ref:mfa_opt_in_access", CompositeType.COMPLEMENT, "app:mfa:ref:mfa_opt_in_access_allow", "app:mfa:ref:mfa_opt_in_access_deny"); | ||
|
|
||
| addMember("app:mfa:ref:mfa_opt_in_access_allow", "ref:faculty"); | ||
| addMember("app:mfa:ref:mfa_opt_in_access_allow", "ref:staff"); | ||
| addMember("app:mfa:ref:mfa_opt_in_access_allow", "ref:student"); | ||
|
|
||
| addMember("app:mfa:ref:mfa_opt_in_access_deny", "app:mfa:mfa_required"); | ||
|
|
||
| grantPriv("app:mfa:ref:mfa_opt_in", "app:mfa:ref:mfa_opt_in_access", AccessPrivilege.OPTIN); | ||
| grantPriv("app:mfa:ref:mfa_opt_in", "app:mfa:ref:mfa_opt_in_access", AccessPrivilege.OPTOUT); |
Empty file.
Empty file.
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,26 @@ | ||
| FROM tier/grouper-training-env:ex401.2.8 | ||
|
|
||
| LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \ | ||
| Vendor="TIER" \ | ||
| ImageType="Grouper Training" \ | ||
| ImageName=$imagename \ | ||
| ImageOS=centos7 | ||
|
|
||
| ENV USERTOKEN=ex401.2.9 | ||
|
|
||
| COPY container_files/seed-data/ /seed-data/ | ||
|
|
||
| RUN . /usr/local/bin/library.sh \ | ||
| && prepConf; \ | ||
| (/usr/sbin/slapd -h "ldap:/// ldaps:/// ldapi:///" -u ldap &) \ | ||
| && while ! curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to start; sleep 1; done; \ | ||
| (mysqld_safe & ) \ | ||
| && while ! curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to start; sleep 3; done; \ | ||
| cd /opt/grouper/grouper.apiBinary \ | ||
| && ldapadd -x -D cn=root,dc=internet2,dc=edu -w password -f /seed-data/users.ldif \ | ||
| && mysql grouper < /seed-data/sisData.sql \ | ||
| && bin/gsh /seed-data/bootstrap.gsh \ | ||
| && pkill -HUP slapd \ | ||
| && while curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to stop; sleep 1; done; \ | ||
| pkill -u mysql mysqld \ | ||
| && while curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to stop; sleep 1; done |
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 @@ | ||
| gs = GrouperSession.startRootSession(); |
Empty file.
Empty file.
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,26 @@ | ||
| FROM tier/grouper-training-env:ex401.2.9 | ||
|
|
||
| LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \ | ||
| Vendor="TIER" \ | ||
| ImageType="Grouper Training" \ | ||
| ImageName=$imagename \ | ||
| ImageOS=centos7 | ||
|
|
||
| ENV USERTOKEN=ex401.2.end | ||
|
|
||
| COPY container_files/seed-data/ /seed-data/ | ||
|
|
||
| RUN . /usr/local/bin/library.sh \ | ||
| && prepConf; \ | ||
| (/usr/sbin/slapd -h "ldap:/// ldaps:/// ldapi:///" -u ldap &) \ | ||
| && while ! curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to start; sleep 1; done; \ | ||
| (mysqld_safe & ) \ | ||
| && while ! curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to start; sleep 3; done; \ | ||
| cd /opt/grouper/grouper.apiBinary \ | ||
| && ldapadd -x -D cn=root,dc=internet2,dc=edu -w password -f /seed-data/users.ldif \ | ||
| && mysql grouper < /seed-data/sisData.sql \ | ||
| && bin/gsh /seed-data/bootstrap.gsh \ | ||
| && pkill -HUP slapd \ | ||
| && while curl -s ldap://localhost:389 > /dev/null; do echo waiting for ldap to stop; sleep 1; done; \ | ||
| pkill -u mysql mysqld \ | ||
| && while curl -s localhost:3306 > /dev/null; do echo waiting for mysqld to stop; sleep 1; done |
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 @@ | ||
| gs = GrouperSession.startRootSession(); |
Empty file.
Empty file.
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