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
dependencies: | |
cache_directories: | |
- "~/jdk1.8.0" | |
pre: | |
- "[[ -d ~/jdk1.8.0 ]] || ( curl -L -o ~/jdk-8.tar.gz http://www.java.net/download/jdk8/archive/b124/binaries/jdk-8-ea-bin-b124-linux-x64-19_jan_2014.tar.gz && tar -xz -C ~ -f ~/jdk-8.tar.gz )" | |
- echo 'export JAVA_HOME=~/jdk1.8.0' >> ~/.circlerc | |
- echo 'export PATH=~/jdk1.8.0/bin:$PATH' >> ~/.circlerc |
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
# Sample setting gradle version | |
dependencies: | |
cache_directories: | |
- "~/gradle-1.9" | |
pre: | |
- "[[ -d ~/gradle-1.9 ]] || ( curl -L -o /tmp/gradle.zip 'http://services.gradle.org/distributions/gradle-1.9-bin.zip' && unzip -d ~ /tmp/gradle.zip )" | |
- echo 'export PATH=~/gradle-1.9/bin:$PATH' >> ~/.circlerc |
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
curl -L -o /tmp/grunt-cli.tar.gz http://circle-support-bucket.s3.amazonaws.com/grunt-cli.tar.gz | |
tar -xzf /tmp/grunt-cli.tar.gz -C /home/ubuntu/nvm/v0.10.22/lib/node_modules/ | |
tar -xzf /tmp/grunt-cli.tar.gz -C /home/ubuntu/nvm/v0.8.2/lib/node_modules/ | |
tar -xzf /tmp/grunt-cli.tar.gz -C /home/ubuntu/nvm/v0.8.12/lib/node_modules/ | |
tar -xzf /tmp/grunt-cli.tar.gz -C /home/ubuntu/nvm/v0.8.19/lib/node_modules/ | |
tar -xzf /tmp/grunt-cli.tar.gz -C /home/ubuntu/nvm/v0.8.22/lib/node_modules/ | |
tar -xzf /tmp/grunt-cli.tar.gz -C /home/ubuntu/nvm/v0.10.0/lib/node_modules/ | |
tar -xzf /tmp/grunt-cli.tar.gz -C /home/ubuntu/nvm/v0.10.5/lib/node_modules/ | |
tar -xzf /tmp/grunt-cli.tar.gz -C /home/ubuntu/nvm/v0.10.11/lib/node_modules/ |
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
dependencies: | |
cache_directories: | |
- "~/zookeeper-3.4.5" | |
- "~/kafka_2.8.0-0.8.0" | |
pre: | |
- "[[ -d ~/zookeeper-3.4.5 ]] || ( curl -L -o ~/zookeeper.tar.gz 'http://mirror.cogentco.com/pub/apache/zookeeper/current/zookeeper-3.4.5.tar.gz' && tar -xz -C ~ -f ~/zookeeper.tar.gz )" | |
- "[[ -d ~/kafka_2.8.0-0.8.0 ]] || ( curl -L -o ~/kafka.tar.gz 'http://mirror.metrocast.net/apache/kafka/0.8.0/kafka_2.8.0-0.8.0.tar.gz' && tar -xz -C ~ -f ~/kafka.tar.gz )" | |
- cp ~/zookeeper-3.4.5/conf/zoo_sample.cfg ~/zookeeper-3.4.5/conf/zoo.cfg | |
- ~/zookeeper-3.4.5/bin/zkServer.sh start |
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
test: | |
post: | |
- bundle exec rspec -I app/caredox --color --order rand --format progress: | |
environment: | |
SELENIUM_HOST: hub.browserstack.com | |
SELENIUM_PORT: 80 | |
BS_AUTOMATE_PROJECT: "Run on circleCI" | |
BS_AUTOMATE_BUILD: "build No. $CIRCLE_BUILD_NUM for circleCI" | |
SELENIUM_PLATFORM: WINDOWS | |
SELENIUM_BROWSER: IE |
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
dependencies: | |
cache_directories: | |
- "~/neo4j-community-1.9.6/bin/neo4j" | |
pre: | |
- "[[ -d ~/neo4j-community-1.9.6/bin/neo4j ]] || (curl -L -o ~/neo4j.tar.gz http://dist.neo4j.org/neo4j-community-1.9.6-unix.tar.gz && tar -C ~ -xzf ~/neo4j.tar.gz)" | |
- ~/neo4j-community-1.9.6/bin/neo4j start |
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
dependencies: | |
cache_directories: | |
- "~/phantomjs-1.9.2-linux-x86_64" | |
pre: | |
- "[[ -d ~/neo4j-community-1.9.6/bin/neo4j ]] || (curl -L -o ~/phantom.js.tar.bz2 https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2 && tar -x -C ~ -f ~/phantom.js.tar.bz2)" | |
- ln -sf ~/phantomjs-1.9.2-linux-x86_64/bin/phantomjs ~/bin/phantomjs |
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
dependencies: | |
cache_directories: | |
- "~/apache-maven-3.1.1" | |
pre: | |
- "[[ -d ~/apache-maven-3.1.1 ]] || (curl -L -o ~/maven.tar.gz 'http://mirrors.sonic.net/apache/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz' && tar -xz -C ~ -f ~/maven.tar.gz)" | |
- echo 'export PATH=~/apache-maven-3.1.1/bin:$PATH' >> ~/.circlerc |
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
ubuntu@ip-10-63-130-120:~$ uname -a | |
Linux ip-10-63-130-120 3.14.19-031419-generic #201409171336 SMP Wed Sep 17 17:37:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | |
ubuntu@ip-10-63-130-120:~$ dpkg -l |grep lxc | |
ii liblxc1 1.0.5-0ubuntu0.1 amd64 Linux Containers userspace tools (library) | |
ii lxc 1.0.5-0ubuntu0.1 amd64 Linux Containers userspace tools | |
ii lxc-templates 1.0.5-0ubuntu0.1 amd64 Linux Containers userspace tools (templates) | |
ii python3-lxc 1.0.5-0ubuntu0.1 amd64 Linux Containers userspace tools (Python 3.x bindings) | |
ubuntu@ip-10-63-130-120:~$ dpkg -l |grep cgroup | |
ii cgmanager 0.24-0ubuntu7 amd64 Central cgroup manager daemon | |
ii cgmanager-utils 0.24-0ubuntu7 amd64 Central cgroup manager da |
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
➜ /tmp # containers fail to start when using Docker 1.3.0 with lxc backend and volume mounting | |
➜ /tmp git clone https://github.com/jpetazzo/dind.git 2>/dev/null | |
➜ /tmp cd dind; sed -i -e 's|docker -d|docker -d -e lxc|g' wrapdocker | |
➜ dind git:(master) ✗ docker build -t dind . 2>/dev/null 1>/dev/null | |
➜ dind git:(master) ✗ docker run --privileged -t -i dind | |
root@aa10bdaa9115:/# 2014/10/16 21:54:05 docker daemon: 1.3.0 c78088f; execdriver: lxc; graphdriver: | |
[935dd628] +job serveapi(unix:///var/run/docker.sock) | |
[935dd628] +job init_networkdriver() | |
[info] Listening for HTTP on unix (/var/run/docker.sock) | |
[935dd628] -job init_networkdriver() = OK (0) |
OlderNewer