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

Commit

Permalink
Merge pull request #339 from NBISweden/feature/no-fuse
Browse files Browse the repository at this point in the history
Replacing FUSE with a notification system
  • Loading branch information
blankdots authored Aug 23, 2018
2 parents 0ae89fe + 399751c commit d99640e
Show file tree
Hide file tree
Showing 80 changed files with 2,275 additions and 1,195 deletions.
30 changes: 26 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
language: python

python: 3.6
install:
- echo "Dependencies on Travis? No, thanks"

git:
depth: false
quiet: true

services: docker

Expand All @@ -22,8 +28,8 @@ jobs:
script: tox
- stage: integration tests
before_script:
- cd deployments/docker
- make bootstrap ARGS="--inbox mina"
- cd docker
- make bootstrap ARGS='--inbox mina'
- sudo chown -R travis private
- docker network create cega
- make up
Expand All @@ -34,8 +40,8 @@ jobs:
- mvn test -Dtest=CommonTests -B
- stage: integration tests
before_script:
- cd deployments/docker
- make bootstrap ARGS="--inbox mina"
- cd docker
- make bootstrap ARGS='--inbox mina'
- sudo chown -R travis private
- docker network create cega
- make up
Expand All @@ -44,6 +50,22 @@ jobs:
- sleep 10
- cd tests
- mvn test -Dtest=RobustnessTests -B
- stage: integration tests
before_script:
- cd docker
- make bootstrap
- sudo chown -R travis private
- docker network create cega
- docker-compose up -d --scale ingest=3 --scale verify=5
- docker-compose ps
script:
- sleep 5
- pip install -r https://raw.githubusercontent.com/NBISweden/LocalEGA-cryptor/master/requirements.txt
- pip install git+https://github.com/NBISweden/LocalEGA-cryptor.git
- pip install pika
- make -C test
- sleep 10
- make -C test check

notifications:
email: false
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The [code](lega) is written in Python (3.6+).

You can provision and deploy the different components:

* locally, using [docker-compose](deployments/docker).
* locally, using [docker-compose](docker).
* on an OpenStack cluster, using [terraform](https://github.com/NBISweden/LocalEGA-deploy-terraform).
* on a Kubernetes/OpenShift cluster, using [kubernetes](https://github.com/NBISweden/LocalEGA-deploy-k8s)
* on a Docker Swarm cluster, using [Gradle](https://github.com/NBISweden/LocalEGA-deploy-swarm)
Expand Down
49 changes: 0 additions & 49 deletions deployments/docker/README.md

This file was deleted.

43 changes: 0 additions & 43 deletions deployments/docker/images/Makefile

This file was deleted.

28 changes: 0 additions & 28 deletions deployments/docker/images/inbox/Dockerfile

This file was deleted.

87 changes: 0 additions & 87 deletions deployments/docker/images/inbox/entrypoint.sh

This file was deleted.

57 changes: 0 additions & 57 deletions deployments/docker/test/Makefile

This file was deleted.

12 changes: 0 additions & 12 deletions deployments/docker/test/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion deployments/docker/.gitignore → docker/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
.env.201*
private*
.err
!bootstrap/lib
images/inbox/sftp-server.c*
6 changes: 3 additions & 3 deletions deployments/docker/Makefile → docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ private/cega.yml private/lega.yml private bootstrap:
@docker run --rm -it \
-v /dev/urandom:/dev/random \
-v ${PWD}:/ega \
-v ${PWD}/../../extras/db.sql:/tmp/db.sql \
-v ${PWD}/../../extras/generate_pgp_key.py:/tmp/generate_pgp_key.py \
-v ${PWD}/../../extras/rabbitmq_hash.py:/tmp/rabbitmq_hash.py \
-v ${PWD}/../extras/db.sql:/tmp/db.sql \
-v ${PWD}/../extras/generate_pgp_key.py:/tmp/generate_pgp_key.py \
-v ${PWD}/../extras/rabbitmq_hash.py:/tmp/rabbitmq_hash.py \
--entrypoint /ega/bootstrap/boot.sh \
nbisweden/ega-base ${ARGS}

Expand Down
Loading

0 comments on commit d99640e

Please sign in to comment.