Skip to content

Instantly share code, notes, and snippets.

@mehdimehdi
Created September 27, 2013 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mehdimehdi/6731916 to your computer and use it in GitHub Desktop.
Save mehdimehdi/6731916 to your computer and use it in GitHub Desktop.
Dotcloud push
# upload /Users/mehdi/Documents/attila ssh://dotcloud@uploader.dotcloud.com:443/analytics
# git
Warning: Permanently added '[uploader.dotcloud.com]:443,[23.21.128.228]:443' (RSA) to the list of known hosts.
Everything up-to-date
17:13:58 ---> Deploy of "analytics" scheduled for revision git-574d320 at 2013-09-27 17:13:58
17:13:58 ---> Building the application...
17:13:58 [extract] Build started for revision git-574d320-1 (clean build)
17:14:01 [extract] I am snapshotsworker_02/ec2-184-73-114-244, and I will be your builder today.
17:14:03 [extract] stdin: is not a tty
17:14:03 [extract] Get:1 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid Release.gpg [189B]
17:14:03 [extract] Ign http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid/main Translation-en_US
17:14:03 [extract] Ign http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid/universe Translation-en_US
17:14:03 [extract] Ign http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid/multiverse Translation-en_US
17:14:03 [extract] Get:2 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid-updates Release.gpg [198B]
17:14:03 [extract] Ign http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid-updates/main Translation-en_US
17:14:03 [extract] Ign http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid-updates/universe Translation-en_US
17:14:03 [extract] Ign http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid-updates/multiverse Translation-en_US
17:14:03 [extract] Get:3 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid-security Release.gpg [198B]
17:14:03 [extract] Ign http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid-security/main Translation-en_US
17:14:03 [extract] Ign http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid-security/universe Translation-en_US
17:14:03 [extract] Get:4 http://archive.canonical.com lucid Release.gpg [198B]
17:14:03 [extract] Ign http://archive.canonical.com/ lucid/partner Translation-en_US
17:14:03 [extract] Ign http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid-security/multiverse Translation-en_US
17:14:03 [extract] Get:5 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid Release [57.2kB]
17:14:03 [extract] Get:6 http://archive.canonical.com lucid Release [8,215B]
17:14:03 [extract] Get:7 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid-updates Release [58.3kB]
17:14:03 [extract] Get:8 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid-security Release [57.3kB]
17:14:03 [extract] Get:9 http://archive.canonical.com lucid/partner Packages [14.0kB]
17:14:03 [extract] Get:10 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid/main Packages [1,383kB]
17:14:03 [extract] Get:11 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid/universe Packages [5,430kB]
17:14:04 [extract] Get:12 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid/multiverse Packages [176kB]
17:14:04 [extract] Get:13 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid-updates/main Packages [713kB]
17:14:04 [extract] Get:14 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid-updates/universe Packages [335kB]
17:14:04 [extract] Get:15 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid-updates/multiverse Packages [11.5kB]
17:14:04 [extract] Get:16 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid-security/main Packages [514kB]
17:14:04 [extract] Get:17 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid-security/universe Packages [185kB]
17:14:04 [extract] Get:18 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com lucid-security/multiverse Packages [5,373B]
17:14:07 [extract] Fetched 8,947kB in 3s (2,374kB/s)
17:14:07 [extract] Reading package lists...
17:14:09 [extract] stdin: is not a tty
17:14:09 [extract] Reading package lists...
17:14:09 [extract] Building dependency tree...
17:14:09 [extract] Reading state information...
17:14:09 [extract] The following extra packages will be installed:
17:14:09 [extract] python3 python3-minimal python3.1 python3.1-minimal
17:14:09 [extract] Suggested packages:
17:14:09 [extract] python3-doc python3-tk python3-profiler python3.1-doc python3.1-profiler
17:14:09 [extract] binfmt-support
17:14:09 [extract] The following NEW packages will be installed:
17:14:09 [extract] python3 python3-all python3-minimal python3.1 python3.1-minimal
17:14:09 [extract] 0 upgraded, 5 newly installed, 0 to remove and 125 not upgraded.
17:14:09 [extract] Need to get 5,357kB of archives.
17:14:09 [extract] After this operation, 19.8MB of additional disk space will be used.
17:14:09 [extract] Get:1 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid-updates/main python3.1-minimal 3.1.2-0ubuntu3.2 [1,563kB]
17:14:09 [extract] Get:2 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid-updates/main python3.1 3.1.2-0ubuntu3.2 [3,772kB]
17:14:09 [extract] Get:3 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid/main python3-minimal 3.1.2-0ubuntu1 [10.1kB]
17:14:09 [extract] Get:4 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid/main python3 3.1.2-0ubuntu1 [11.1kB]
17:14:09 [extract] Get:5 http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ lucid/main python3-all 3.1.2-0ubuntu1 [884B]
17:14:09 [extract] Fetched 5,357kB in 0s (13.2MB/s)
17:14:10 [extract] Selecting previously deselected package python3.1-minimal.
(Reading database ... 34544 files and directories currently installed.)
17:14:10 [extract] Unpacking python3.1-minimal (from .../python3.1-minimal_3.1.2-0ubuntu3.2_amd64.deb) ...
17:14:14 [extract] Selecting previously deselected package python3.1.
17:14:14 [extract] Unpacking python3.1 (from .../python3.1_3.1.2-0ubuntu3.2_amd64.deb) ...
17:14:17 [extract] Selecting previously deselected package python3-minimal.
17:14:17 [extract] Unpacking python3-minimal (from .../python3-minimal_3.1.2-0ubuntu1_all.deb) ...
17:14:17 [extract] Selecting previously deselected package python3.
17:14:17 [extract] Unpacking python3 (from .../python3_3.1.2-0ubuntu1_all.deb) ...
17:14:18 [extract] Selecting previously deselected package python3-all.
17:14:18 [extract] Unpacking python3-all (from .../python3-all_3.1.2-0ubuntu1_all.deb) ...
17:14:18 [extract] Processing triggers for man-db ...
17:15:56 [extract] Setting up python3.1-minimal (3.1.2-0ubuntu3.2) ...
17:15:57 [extract]
17:15:57 [extract] Setting up python3.1 (3.1.2-0ubuntu3.2) ...
17:15:59 [extract]
17:15:59 [extract] Setting up python3-minimal (3.1.2-0ubuntu1) ...
17:15:59 [extract] Setting up python3 (3.1.2-0ubuntu1) ...
17:15:59 [extract] Setting up python3-all (3.1.2-0ubuntu1) ...
17:16:01 [extract] --> ./python/builder: Step 0: getting ready for build::
17:16:01 [extract] --> ./python/builder: Step 1: create virtualenv::
17:16:01 [extract] --> ./python/builder: building virtualenv @ /home/dotcloud/env
17:16:01 [extract] --> ./python/builder: Make sure /tmp/code/tmp/venv exists and if not create it.
17:16:01 [extract] --> ./python/builder: downloading virtualenv from (https://raw.github.com/pypa/virtualenv/master/virtualenv.py) and saving it as (/tmp/code/tmp/venv/virtualenv.py)
17:16:02 [extract] % Total % Received % Xferd Average Speed Time Time Time Current
17:16:02 [extract] Dload Upload Total Spent Left Speed
100 97400 100 97400 0 0 127k 0 --:--:-- --:--:-- --:--:-- 205k
17:16:02 [extract] --> ./python/builder: Finding the python version. You entered python_version = '2.7'
17:16:02 [extract] --> ./python/builder: Setting python version to 2.7
17:16:02 [extract] --> ./python/builder: creating virtualenv @ /home/dotcloud/env with python_version = /usr/bin/python2.7
17:16:02 [extract] New python executable in /home/dotcloud/env/bin/python2.7
17:16:02 [extract] Also creating executable in /home/dotcloud/env/bin/python
17:16:02 [extract] Cannot find sdist setuptools-*.tar.gz
17:16:02 [extract] Cannot find sdist pip-*.tar.gz
17:16:02 [extract] --> ./python/builder: Step 2: install mongo::
17:16:02 [extract] --> ./python/builder: installing Mongo into: /home/dotcloud/mongo
17:16:02 [extract] --> ./python/builder: making directory: /home/dotcloud/mongo
17:16:02 [extract] --> ./python/builder: downloading mongo from (http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.2.3.tgz) and untaring into (/home/dotcloud/mongo)
17:16:02 [extract] --2013-09-27 17:16:02-- http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.2.3.tgz
17:16:02 [extract] Resolving fastdl.mongodb.org... 54.239.152.86, 54.230.192.17, 54.230.192.114, ...
17:16:02 [extract] Connecting to fastdl.mongodb.org|54.239.152.86|:80... connected.
17:16:03 [extract] HTTP request sent, awaiting response... 200 OK
17:16:03 [extract] Length: 56183016 (54M) [application/x-tar]
17:16:03 [extract] Saving to: `STDOUT'
17:16:03 [extract]
17:16:05 [extract] --> ./python/builder: Successfully download and untarred mongo
100%[======================================>] 56,183,016 22.5M/s in 2.4s
17:16:05 [extract] --> ./python/builder: finished installing mongo.
17:16:05 [extract]
17:16:05 [extract] --> ./python/builder: Step 3: build profile::
17:16:05 [extract] 2013-09-27 17:16:05 (22.5 MB/s) - written to stdout [56183016/56183016]
17:16:05 [extract] --> ./python/builder: Step 4: install application::
17:16:05 [extract]
17:16:05 [extract] --> ./python/builder: change directories to /tmp/code
17:16:05 [extract] --> ./python/builder: moving /tmp/code/profile to ~/
17:16:05 [extract] --> ./python/builder: installing application to ~/current/ from /tmp/code
17:16:05 [extract] sending incremental file list
17:16:05 [extract] created directory /home/dotcloud/current
17:16:05 [extract] crontab
17:16:05 [extract] dotcloud.yml
17:16:05 [extract] postinstall
17:16:05 [extract] reclaim.py
17:16:05 [extract] requirements.txt
17:16:05 [extract] job/
17:16:05 [extract] job/.gitignore
17:16:05 [extract] job/extracter
17:16:05 [extract] ./python/builder: line 83: /home/dotcloud/env/bin/pip: No such file or directory
17:16:05 [extract] job/extracter.py
17:16:05 [extract] job/mongodump_date_range.py
17:16:05 [extract] python/
17:16:05 [extract] python/builder
17:16:05 [extract] tmp/
17:16:05 [extract] tmp/venv/
17:16:05 [extract] tmp/venv/virtualenv.py
17:16:05 [extract] tmp/venv/virtualenv.pyc
17:16:05 [extract]
17:16:05 [extract] sent 211576 bytes received 256 bytes 423664.00 bytes/sec
17:16:05 [extract] total size is 210671 speedup is 0.99
17:16:05 [extract] --> ./python/builder: Step 5: install application specific requirements::
17:16:05 [extract] --> ./python/builder: found requirements.txt file installing requirements from /home/dotcloud/current/requirements.txt
17:16:05 [extract] --> ./python/builder: All done...
17:16:31 [extract] Build completed successfully. Compiled image size is 93MB
17:16:31 ---> Application build is done
17:16:31 ---> Initializing new services... (This may take a few minutes)
17:16:31 ---> Using default scaling for service extract (1 instance(s)).
17:16:31 ---> No new services found
17:16:31 ---> All services have been initialized. Deploying code...
17:16:31 [extract.0] Deploying build revision git-574d320-1...
17:17:00 [extract.0] Running postinstall script...
17:17:03 [extract.0] Migrating stateful data located in ~/data (this will result in a short downtime)...
17:17:07 [extract.0] Launching...
17:17:11 [extract.0] Re-routing traffic to the new build...
17:17:11 [extract.0] Successfully deployed build revision git-574d320-1
17:17:11 ---> Deploy finished
17:17:11 ---> Application fully deployed
Deployment finished. Your application is available at the following URLs
No URL found. That's ok, it means that your application does not include a webservice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment