Skip to content
Permalink
Browse files

Stubbing ex101.1.1 and ex211.1.1 images

  • Loading branch information
John Gasper
John Gasper committed Oct 11, 2018
1 parent 1b4d90a commit c6577f37c0ba1e38a8729b643ad1062f8e3b3a05
Showing with 61 additions and 3 deletions.
  1. +7 −1 Jenkinsfile
  2. +13 −1 README.md
  3. +11 −0 ex101/ex101.1.1/Dockerfile
  4. +5 −0 ex101/manualBuild.sh
  5. +11 −0 ex211/ex211.1.1/Dockerfile
  6. +5 −0 ex211/manualBuild.sh
  7. +1 −1 ex301/manualBuild.sh
  8. +8 −0 manualBuild.sh
@@ -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")
}
}
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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.
You can’t perform that action at this time.