Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Stubbing ex101.1.1 and ex211.1.1 images
John Gasper committed Oct 11, 2018
1 parent 1b4d90a commit c6577f3
Showing 8 changed files with 61 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Jenkinsfile
@@ -99,7 +99,13 @@ pipeline {
steps {
script {
docker.withRegistry('https://registry.hub.docker.com/', "dockerhub-${maintainer}") {
def baseImg = docker.build("${maintainer}/${imagename}:ex301.4.1", "--no-cache --pull ex301/ex301.4.1")
def baseImg = docker.build("${maintainer}/${imagename}:ex101.1.1", "--no-cache --pull ex101/ex101.1.1")
baseImg.push("ex101.1.1")

baseImg = docker.build("${maintainer}/${imagename}:ex211.1.1", "--no-cache --pull ex211/ex211.1.1")
baseImg.push("ex211.1.1")

baseImg = docker.build("${maintainer}/${imagename}:ex301.4.1", "--no-cache --pull ex301/ex301.4.1")
baseImg.push("ex301.4.1")
}
}
14 changes: 13 additions & 1 deletion README.md
@@ -20,7 +20,19 @@ docker run -d -p 80:80 -p 389:389 -p 8443:443 -p 3306:3306 \
```

Current tags:

- ex101.1.1
- ex201.1.1
- ex201.1.end
- ex201.2.1
- ex201.2.end
- ex201.3.1
- ex201.3.end
- ex201.4.1
- ex201.4.end
- ex201.5.1
- ex201.5.end
- ex211.1.1
- ex301.4.1
- ex401.1.1
- ex401.1.2
- ex401.1.3
11 changes: 11 additions & 0 deletions ex101/ex101.1.1/Dockerfile
@@ -0,0 +1,11 @@
FROM tier/grouper-training-env:base

LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \
Vendor="TIER" \
ImageType="Grouper Training" \
ImageName=$imagename \
ImageOS=centos7

ENV USERTOKEN=ex101.1.1

# Nothing else needed for this exercise. Start empty and end empty
5 changes: 5 additions & 0 deletions ex101/manualBuild.sh
@@ -0,0 +1,5 @@
docker build --tag=tier/grouper-training-env:ex101.1.1 ex101.1.1

if [[ "$OSTYPE" == "darwin"* ]]; then
say exercises for 101 build complete
fi
11 changes: 11 additions & 0 deletions ex211/ex211.1.1/Dockerfile
@@ -0,0 +1,11 @@
FROM tier/grouper-training-env:base

LABEL author="tier-packaging@internet2.edu <tier-packaging@internet2.edu>" \
Vendor="TIER" \
ImageType="Grouper Training" \
ImageName=$imagename \
ImageOS=centos7

ENV USERTOKEN=ex211.1.1

# Nothing else needed for this exercise. Start empty and end empty
5 changes: 5 additions & 0 deletions ex211/manualBuild.sh
@@ -0,0 +1,5 @@
docker build --tag=tier/grouper-training-env:ex211.1.1 ex211.1.1

if [[ "$OSTYPE" == "darwin"* ]]; then
say exercises for 211 build complete
fi
2 changes: 1 addition & 1 deletion ex301/manualBuild.sh
@@ -1,4 +1,4 @@
docker build --tag=tier/grouper-training-env:ex301.4.1 ex301.4.1 \
docker build --tag=tier/grouper-training-env:ex301.4.1 ex301.4.1

if [[ "$OSTYPE" == "darwin"* ]]; then
say exercises for 301 build complete
8 changes: 8 additions & 0 deletions manualBuild.sh
@@ -1,10 +1,18 @@
docker build --pull --tag=tier/grouper-training-env:base base/ \
&& docker build --tag=tier/grouper-training-env:full_demo full-demo \

pushd ex101
./manualBuild.sh
popd

pushd ex201
./manualBuild.sh
popd

pushd ex211
./manualBuild.sh
popd

pushd ex301
./manualBuild.sh
popd

0 comments on commit c6577f3

Please sign in to comment.