Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Commit

Permalink
add missing options for bootstrapping and increase sleep for travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
blankdots committed Sep 18, 2018
1 parent a07ad1b commit 91fa10a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- make up
- docker-compose ps
script:
- sleep 10
- sleep 20
- cd tests
- mvn test -Dtest=CommonTests -B
- stage: integration tests
Expand All @@ -57,7 +57,7 @@ jobs:
- make up
- docker-compose ps
script:
- sleep 10
- sleep 20
- cd tests
- mvn test -Dtest=RobustnessTests -B
- stage: integration tests
Expand Down
33 changes: 23 additions & 10 deletions docker/bootstrap/lega.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,35 @@ cat > ${PRIVATE}/lega/conf.ini <<EOF
log = debug
#log = silent
EOF
if [[ $KEYSERVER == 'ega' ]]; then
cat >> ${PRIVATE}/lega/conf.ini <<EOF
[keyserver]
port = 8080
[quality_control]
keyserver_endpoint = http://keys:8080/keys/retrieve/%s/private/bin?idFormat=hex
[outgestion]
# Just for test
keyserver_endpoint = http://keys:8080/keys/retrieve/%s/private/bin?idFormat=hex
EOF
else
cat >> ${PRIVATE}/lega/conf.ini <<EOF
[keyserver]
port = 8443
[quality_control]
keyserver_endpoint = https://keys:8443/retrieve/%s/private
[outgestion]
# Just for test
keyserver_endpoint = https://keys:8443/retrieve/%s/private
EOF
fi
cat >> ${PRIVATE}/lega/conf.ini <<EOF
[inbox]
location = /ega/inbox/%s
chroot_sessions = True
Expand All @@ -66,11 +89,6 @@ access_key = ${S3_ACCESS_KEY}
secret_key = ${S3_SECRET_KEY}
#region = lega
[outgestion]
# Just for test
keyserver_endpoint = http://keys:8080/keys/retrieve/%s/private/bin?idFormat=hex
## Connecting to Local EGA
[broker]
host = mq
Expand All @@ -88,7 +106,6 @@ try = 30
endpoint = http://cega-eureka:8761
EOF


#########################################################################
# Populate env-settings for docker compose
#########################################################################
Expand Down Expand Up @@ -256,11 +273,8 @@ cat >> ${PRIVATE}/lega.yml <<EOF
- ./lega/pgp/ega2.sec.pass:/etc/ega/pgp/ega2.sec.pass:ro
- ./lega/pgp/ega.shared.pass:/etc/ega/pgp/ega.shared.pass:ro
restart: on-failure:3
external_links:
- cega-eureka:cega-eureka
networks:
- lega
- cega
EOF
else
Expand Down Expand Up @@ -291,7 +305,6 @@ cat >> ${PRIVATE}/lega.yml <<EOF
EOF
fi

cat >> ${PRIVATE}/lega.yml <<EOF
# Quality Control
verify:
Expand Down

0 comments on commit 91fa10a

Please sign in to comment.