Skip to content

Commit

Permalink
Update master branch, part 1
Browse files Browse the repository at this point in the history
- Updated master branch with changes from the laboratory
- Temporarily removed obsolete demo/complex
- Fixed download script to reflect new URL of midPoint distribution server
- Upgraded midPoint to 4.0.1
  • Loading branch information
mederly committed Nov 5, 2019
1 parent 07f29a3 commit d05e369
Show file tree
Hide file tree
Showing 134 changed files with 49 additions and 7,430 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
midpoint-dist.tar.gz
tmp
demo/complex/tmp
demo/complex2/tmp

10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# Building assumes midpoint-dist.tar.gz is present in the current directory.
#

FROM tier/shibboleth_sp
FROM tier/shibboleth_sp:3.0.4_03122019

MAINTAINER info@evolveum.com

RUN rpm --import http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems
RUN curl -o /etc/yum.repos.d/zulu.repo http://repos.azulsystems.com/rhel/zulu.repo
RUN yum -y update
RUN yum -y install \
zulu-8 \
zulu-11 \
cron \
supervisor \
libcurl \
Expand Down Expand Up @@ -47,7 +47,7 @@ RUN cp /dev/null /etc/httpd/conf.d/ssl.conf \

# Build arguments

ARG MP_VERSION=4.0
ARG MP_VERSION=4.0.1
ARG MP_DIST_FILE=midpoint-dist.tar.gz

ENV MP_DIR /opt/midpoint
Expand All @@ -60,7 +60,9 @@ COPY container_files/mp-dir/ ${MP_DIR}/
RUN echo 'Extracting midPoint archive...' \
&& tar xzf ${MP_DIR}/${MP_DIST_FILE} -C ${MP_DIR} --strip-components=1

VOLUME ${MP_DIR}/var
# Disabled because of wider compatibility issues (e.g. AWS)
# TODO: consider all the consequences
#VOLUME ${MP_DIR}/var

# Repository parameters

Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pipeline {
sh '(cd demo/simple ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
sh '(cd demo/shibboleth ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
sh '(cd demo/postgresql ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
sh '(cd demo/complex ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
//sh '(cd demo/complex ; bats tests ) 2>&1 | tee -a debug ; test ${PIPESTATUS[0]} -eq 0'
} catch (error) {
def error_details = readFile('./debug')
def message = "BUILD ERROR: There was a problem testing ${imagename}:${tag}. \n\n ${error_details}"
Expand Down
3 changes: 2 additions & 1 deletion container_files/usr-local-bin/start-httpd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ case $AUTHENTICATION in
echo "*** Starting httpd WITH Shibboleth support"
set -e
rm -f /etc/httpd/logs/httpd.pid
(/usr/sbin/shibd) & httpd -DFOREGROUND
export LD_LIBRARY_PATH=/opt/shibboleth/lib64:$LD_LIBRARY_PATH
(/usr/sbin/shibd -f) & httpd -DFOREGROUND
;;
internal)
echo "*** Starting httpd WITHOUT Shibboleth support"
Expand Down
14 changes: 0 additions & 14 deletions demo/complex/.env

This file was deleted.

9 changes: 0 additions & 9 deletions demo/complex/README.md

This file was deleted.

23 changes: 0 additions & 23 deletions demo/complex/add-ref-groups.gsh

This file was deleted.

2 changes: 0 additions & 2 deletions demo/complex/add-ref-groups.sh

This file was deleted.

21 changes: 0 additions & 21 deletions demo/complex/after-installation.sh

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d05e369

Please sign in to comment.