-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #290 from eBayClassifiedsGroup/0.4.0
0.4.0
- Loading branch information
Showing
31 changed files
with
196 additions
and
609 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,50 @@ | ||
language: bash | ||
|
||
sudo: required | ||
services: docker | ||
|
||
services: docker | ||
env: | ||
global: | ||
- DOCKER_APP_VERSION=17.05.0~ce-0~ubuntu-trusty | ||
|
||
- DOCKER_APP_VERSION=17.05.0~ce-0~ubuntu-trusty | ||
notifications: | ||
slack: ebayclassifiedsgroup:tFHOcsnmbj9SKmfquoJJKjSb | ||
|
||
slack: | ||
rooms: | ||
secure: DThvgzkCwCBt5JlDGU6Po6sWM5nAJubUkcn2H90qRsCARL1kLgbv8KHLkMhv0SnGJfULGr5qVGcGNUzMghBkGwEbyHp6goLp8mPpohp/OGB8pV4CUKWjh20nR/2Dedq+y2clEY3fNNFIBua5Or6XTa7CoedZocR6RwTtbttA+IZCcM3pvLlZwEBsz9xbXverS7qaXH/dQ7rInOJEYxEXmlxSU2Yej2rlMIHEJVeyNoN30lw8oJjd6OLlXXAndr4t6AuZ1FABkmuEycfxDHuZL+fOmqSaGU2R77guPyOdJrQzcGfYSP1RA9ZpEsfFmftAJbcA1bqdbyHouVhMdfR/CFwqRUekymkgAAYqLrt/a0U57SGbR0dZ4upNzjEyO22dc1L1ughJTzPPgWXUeI1ENYi5xkEdFZHiBy8kSKgePusEcfdU16bQ9ZXCurbswBJfDoT2UG7mY9k3lyQQSSu1n+KzzZlbZcP027n1x5go5wRNadRCWoJJKUFghBJFB+qypCTXBCGtxV83OUuLY8cJpSNvzOI85SSEyvhrF70rrrjkuQS516XT2uyjAEypoOYf4CTxzSqPzIK3r7l0WgOkA49ggmnZ5rihu+2nQC03d43zfQNtVVbxTmyUvn2moGJd0SccL1OJ60uyDQeN719T9T3TcjPE+YMFQawpnKfXjzs= | ||
before_install: | ||
- echo 'deb https://apt.dockerproject.org/repo ubuntu-trusty main' > /tmp/docker.list | ||
- sudo cp /tmp/docker.list /etc/apt/sources.list.d/docker.list | ||
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv F76221572C52609D | ||
- sudo apt-get update | ||
- apt-cache policy docker-engine || true | ||
- sudo apt-get install -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" docker-engine=${DOCKER_APP_VERSION} | ||
- sudo iptables -L DOCKER || sudo iptables -N DOCKER | ||
- sudo apt-get install -y curl python-pip ruby-dev build-essential python-dev | ||
- sudo pip install pip --upgrade | ||
- sudo pip install docker-compose --upgrade | ||
- gem install marathon_deploy | ||
- docker pull ubuntu:16.04 | ||
- docker ps | ||
- ./build-docker-image.sh | ||
- export IP=$(/sbin/ifconfig eth0 | awk '/inet addr:/{gsub(/.*:/,"",$2);print $2;exit}') | ||
- echo $IP | ||
- export START_DNSMASQ=false | ||
- export ZOOKEEPER_HOSTS=${IP}:2181 | ||
- ./generate_yml.sh | ||
- cat docker-compose.yml | ||
- sudo netstat -tulpen | ||
- docker --version | ||
- docker images | ||
- docker-compose up -d | ||
|
||
- echo 'deb https://apt.dockerproject.org/repo ubuntu-trusty main' > /tmp/docker.list | ||
- sudo cp /tmp/docker.list /etc/apt/sources.list.d/docker.list | ||
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv F76221572C52609D | ||
- sudo apt-get update | ||
- apt-cache policy docker-engine || true | ||
- sudo apt-get install -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" | ||
docker-engine=${DOCKER_APP_VERSION} | ||
- sudo iptables -L DOCKER || sudo iptables -N DOCKER | ||
- sudo apt-get install -y curl python-pip ruby-dev build-essential python-dev | ||
- sudo pip install pip | ||
- sudo pip install docker-compose | ||
- gem install marathon_deploy | ||
- docker pull ubuntu:16.04 | ||
- docker ps | ||
- "./build-docker-image.sh" | ||
- export IP=$(/sbin/ifconfig eth0 | awk '/inet addr:/{gsub(/.*:/,"",$2);print $2;exit}') | ||
- echo $IP | ||
- export START_DNSMASQ=false | ||
- export ZOOKEEPER_HOSTS=${IP}:2181 | ||
- "./generate_yml.sh" | ||
- cat docker-compose.yml | ||
- sudo netstat -tulpen | ||
- docker --version | ||
- docker images | ||
- docker-compose up -d | ||
script: | ||
- docker ps | ||
- sleep 30 | ||
- curl -s http://${IP}:8080/v2/leader | ||
- curl -s http://${IP}:8080/v2/info | ||
- curl -I -s http://${IP}:5050/master/health | ||
- curl -s http://${IP}:5050/system/stats.json | ||
- docker exec -ti panteras_panteras_1 supervisorctl status | ||
- cd examples/SimpleWebappPython | ||
- ./test_service.sh | ||
- cd - | ||
- cd examples/SmoothWebappPython | ||
- ./test_service.sh | ||
- docker exec -ti panteras_panteras_1 supervisorctl status | ||
- docker ps | ||
- sleep 30 | ||
- curl -s http://${IP}:8080/v2/leader | ||
- curl -s http://${IP}:8080/v2/info | ||
- curl -I -s http://${IP}:5050/master/health | ||
- curl -s http://${IP}:5050/system/stats.json | ||
- docker exec -ti panteras_panteras_1 supervisorctl status | ||
- cd examples/SimpleWebappPython | ||
- "./test_service.sh" | ||
- cd - | ||
- cd examples/SmoothWebappPython | ||
- "./test_service.sh" | ||
- docker exec -ti panteras_panteras_1 supervisorctl status |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.