Skip to content

Instantly share code, notes, and snippets.

@bliles
Created September 5, 2017 17:28
Show Gist options
  • Save bliles/7c66ad4dce09f5eac8c2007afe28b14e to your computer and use it in GitHub Desktop.
Save bliles/7c66ad4dce09f5eac8c2007afe28b14e to your computer and use it in GitHub Desktop.
dpl --provider=deis --controller=https://xxxx.xxxx.xxx --username=xxxxxxx --password=xxxxxxxxxxxx --app=xxx --cli_version=1.13.4
Installing deploy dependencies
+ VERSION=1.13.4
+ set -e
++ uname
++ tr '[:upper:]' '[:lower:]'
+ PLATFORM=darwin
+ DEIS_INSTALLER=deis-cli-1.13.4-darwin-amd64.run
+ DEIS_BASE_URL=https://getdeis.blob.core.windows.net/get-deis
+ INSTALLER_URL=https://getdeis.blob.core.windows.net/get-deis/deis-cli-1.13.4-darwin-amd64.run
+ curl -f -o /tmp/deis-cli-1.13.4-darwin-amd64.run https://getdeis.blob.core.windows.net/get-deis/deis-cli-1.13.4-darwin-amd64.run
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2380k 100 2380k 0 0 1667k 0 0:00:01 0:00:01 --:--:-- 1667k
+ sh /tmp/deis-cli-1.13.4-darwin-amd64.run
Verifying archive integrity... All good.
Uncompressing Deis CLI 100%
deis is in the current directory. Please
move deis to a directory in your search PATH.
See http://docs.deis.io/ for documentation.
+ rm -f /tmp/deis-cli-1.13.4-darwin-amd64.run
Preparing deploy
Logged in as xxxxxxx
=== xxx Application
...
=== xxx Processes
...
=== xxx Domains
Generating public/private rsa key pair.
Your identification has been saved in .dpl/id_rsa.
Your public key has been saved in .dpl/id_rsa.pub.
The key fingerprint is:
...
Uploading id_rsa.pub to deis... done
Git remote is git@xxx.xxxx.xxx at port 2222
Waiting for ssh key to propagate...
SSH connection established.
Cleaning up git repository with `git stash --all`. If you need build artifacts for deployment, set `deploy.skip_cleanup: true`. See https://docs.travis-ci.com/user/deployment/#Uploading-Files.
Saved working directory and index state WIP on master: fffffff Don't specify default branch
Deploying application
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NPM_CONFIG_PRODUCTION=true
NODE_ENV=staging
NODE_MODULES_CACHE=true
npm scripts will see NODE_ENV=production (not 'staging')
https://docs.npmjs.com/misc/config#production
-----> Installing binaries
engines.node (package.json): 7.9.0
engines.npm (package.json): unspecified (use default)
Downloading and installing node 7.9.0...
Using default npm version: 4.2.0
-----> Restoring cache
Loading 2 from cacheDirectories (default):
- node_modules
- bower_components (not cached - skipping)
-----> Building dependencies
Installing node modules (package.json)
-----> Caching build
Clearing previous node cache
Saving 2 cacheDirectories (default):
- node_modules
- bower_components (nothing to cache)
-----> Build succeeded!
...
-----> Discovering process types
...
-----> Compiled slug size is 38M
-----> Building Docker image
remote: Sending build context to Docker daemon 40.54 MB
Step 0 : FROM deis/slugrunner
[91m# Executing 3 build triggers
[0mTrigger 0, RUN mkdir -p /app
Step 0 : RUN mkdir -p /app
---> Using cache
Trigger 1, WORKDIR /app
Step 0 : WORKDIR /app
---> Using cache
Trigger 2, ADD slug.tgz /app
Step 0 : ADD slug.tgz /app
---> 32192f97ef8f
Removing intermediate container 20679eb81e37
Step 1 : ENV GIT_SHA 782ecd4c7b1d946402eac55f7368b6bb58dd911e
---> Running in 19ae352a6d34
---> 7c1bd73762c5
Removing intermediate container 19ae352a6d34
Successfully built 7c1bd73762c5
-----> Pushing image to private registry
-----> Launching...
done, xxx:vXX deployed to Deis
http://xxx.xxxx.xxx
To learn more, use `deis help` or visit http://deis.io
To ssh://xxx.xxxx.xxx:2222/xxx.git
* [new branch] HEAD -> master
Removing SSH Key... done
Already up-to-date!
On branch master
Your branch is up-to-date with 'origin/master'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment