Skip to content

Commit

Permalink
Adding RegionOne to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
hmunfru committed May 24, 2016
1 parent 0f80707 commit 197c849
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 50 deletions.
1 change: 0 additions & 1 deletion fiware-region-sanity-tests/docker/Dockerfile_test
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@ WORKDIR /opt/fiware-health/fiware-region-sanity-tests
RUN cp ./resources/docker/system.conf /etc/dbus-1/system.conf
RUN source /root/venv/fiware-region-sanity-tests/bin/activate; pip2.7 install -r requirements.txt --allow-all-external
EXPOSE 8081
COPY settings.json settings.json
COPY start.sh start.sh
CMD ./start.sh
3 changes: 3 additions & 0 deletions fiware-region-sanity-tests/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ ph:
environment:
- KEY
- VMIP
- OS_USER_DOMAIN_NAME
- OS_PROJECT_DOMAIN_NAME
- OS_IDENTITY_API_VERSION
- OS_USERNAME
- OS_PASSWORD
- OS_AUTH_URL
Expand Down
45 changes: 0 additions & 45 deletions fiware-region-sanity-tests/docker/settings.json

This file was deleted.

4 changes: 0 additions & 4 deletions fiware-region-sanity-tests/docker/start.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_DOMAIN_NAME=default
export OS_IDENTITY_API_VERSION=3
openstack project create test
openstack user create test --password test --project test
openstack role add --user test --project test owner
Expand Down Expand Up @@ -31,5 +28,4 @@ ssh -i key.pem -o "StrictHostKeyChecking no" centos@${VMIP} -fnN -R0:8081:0:8081
git checkout origin/$BRANCH
git pull origin $BRANCH
pip install -r requirements.txt
cp settings.json etc/settings.json
./sanity_checks $OS_REGION_NAME

0 comments on commit 197c849

Please sign in to comment.