Skip to content

Commit

Permalink
remove unused compose setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dpakach committed Sep 10, 2020
1 parent 1774e43 commit b88240a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 190 deletions.
179 changes: 0 additions & 179 deletions docker-compose-eos-ci.yml

This file was deleted.

4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ services:
- .:/ocis
- ../ocis-reva:/ocis-reva
- ../reva:/reva
- ./config:/ocis-config
environment:
# ocis log level will be used for all services
OCIS_LOG_LEVEL: debug
Expand All @@ -46,6 +47,9 @@ services:
REVA_STORAGE_EOS_NAMESPACE: "/eos/dockertest/reva/users"
# the eos end xrdcopy binaries use this env var to find the eos mgm
EOS_MGM_URL: ${EOS_MGM_URL:-root://mgm-master.testnet:1094}
# uses identifier registration from config directory
KONNECTD_IDENTIFIER_REGISTRATION_CONF: /ocis-config/identifier-registration.yaml


mgm-master:
container_name: mgm-master
Expand Down
16 changes: 8 additions & 8 deletions tests/config/drone/setup-eos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ do
sleep 5
done

docker-compose -f ./docker-compose-eos-ci.yml exec -d ocis /start-ldap
docker-compose exec -d ocis /start-ldap

# time for ldap service to starup within ocis container
sleep 5

# Configure ocis
docker-compose -f ./docker-compose-eos-ci.yml exec ocis id einstein
docker-compose -f ./docker-compose-eos-ci.yml exec ocis /ocis/bin/ocis kill reva-users
docker-compose -f ./docker-compose-eos-ci.yml exec ocis /ocis/bin/ocis run reva-users
docker-compose -f ./docker-compose-eos-ci.yml exec ocis /ocis/bin/ocis kill reva-storage-home
docker-compose -f ./docker-compose-eos-ci.yml exec -e REVA_STORAGE_HOME_DRIVER=eoshome -e REVA_STORAGE_HOME_MOUNT_ID=1284d238-aa92-42ce-bdc4-0b0000009158 ocis ./bin/ocis run reva-storage-home
docker-compose -f ./docker-compose-eos-ci.yml exec ocis /ocis/bin/ocis kill reva-storage-home-data
docker-compose -f ./docker-compose-eos-ci.yml exec -e REVA_STORAGE_HOME_DATA_DRIVER=eoshome ocis ./bin/ocis run reva-storage-home-data
docker-compose exec ocis id einstein
docker-compose exec ocis /ocis/bin/ocis kill reva-users
docker-compose exec ocis /ocis/bin/ocis run reva-users
docker-compose exec ocis /ocis/bin/ocis kill reva-storage-home
docker-compose exec -e REVA_STORAGE_HOME_DRIVER=eoshome -e REVA_STORAGE_HOME_MOUNT_ID=1284d238-aa92-42ce-bdc4-0b0000009158 ocis ./bin/ocis run reva-storage-home
docker-compose exec ocis /ocis/bin/ocis kill reva-storage-home-data
docker-compose exec -e REVA_STORAGE_HOME_DATA_DRIVER=eoshome ocis ./bin/ocis run reva-storage-home-data

7 changes: 4 additions & 3 deletions tests/spawn_eos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ ssh -tt root@$IPADDR git clone https://github.com/owncloud/ocis.git /ocis
ssh -tt root@$IPADDR "cd /ocis && git checkout $DRONE_COMMIT_ID"

# Create necessary files
ssh -tt root@$IPADDR "cd /ocis/tests/config/drone && OCIS_DOMAIN=${IPADDR} bash /ocis/tests/config/drone/create-config.json.sh"
ssh -tt root@$IPADDR "cd /ocis/tests/config/drone && OCIS_DOMAIN=${IPADDR} bash /ocis/tests/config/drone/create-identifier-registration.sh"
ssh -tt root@$IPADDR "mkdir -p /ocis/tests/eos-config"
ssh -tt root@$IPADDR "cd /ocis/config && OCIS_DOMAIN=${IPADDR} bash /ocis/tests/config/drone/create-config.json.sh"
ssh -tt root@$IPADDR "cd /ocis/config && OCIS_DOMAIN=${IPADDR} bash /ocis/tests/config/drone/create-identifier-registration.sh"

# run ocis with eos
ssh -tt root@$IPADDR "cd /ocis && OCIS_DOMAIN=${IPADDR} docker-compose -f ./docker-compose-eos-ci.yml up -d"
ssh -tt root@$IPADDR "cd /ocis && OCIS_DOMAIN=${IPADDR} docker-compose up -d"

# Some necessary configuration for eos
ssh -tt root@$IPADDR "cd /ocis && bash /ocis/tests/config/drone/setup-eos.sh"

0 comments on commit b88240a

Please sign in to comment.