Skip to content

Instantly share code, notes, and snippets.

@masutaka
Last active December 20, 2018 13:26
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 masutaka/d05c3908c3bef80788b8ee5b0ef7b3ba to your computer and use it in GitHub Desktop.
Save masutaka/d05c3908c3bef80788b8ee5b0ef7b3ba to your computer and use it in GitHub Desktop.
Heroku deployment log using heroku.yml with ruby buildpack
=== Fetching app code
=== Building heroku (Dockerfile)
2018/12/20 12:47:33 need environment variables HEROKU_REGISTRY_HOST and HEROKU_API_TOKEN
Sending build context to Docker daemon 141.8kBStep 1/14 : FROM heroku/heroku:18-build as build
18-build: Pulling from heroku/heroku
32802c0cfa4d: Pulling fs layer
da1315cffa03: Pulling fs layer
fa83472a3562: Pulling fs layer
f85999a86bef: Pulling fs layer
305b24214bff: Pulling fs layer
4c7c13e63f4e: Pulling fs layer
7bea99e4f8b8: Pulling fs layer
2012f09c05ef: Pulling fs layer
f85999a86bef: Waiting
305b24214bff: Waiting
4c7c13e63f4e: Waiting
7bea99e4f8b8: Waiting
2012f09c05ef: Waiting
fa83472a3562: Verifying Checksum
fa83472a3562: Download complete
da1315cffa03: Verifying Checksum
da1315cffa03: Download complete
305b24214bff: Verifying Checksum
305b24214bff: Download complete
f85999a86bef: Verifying Checksum
f85999a86bef: Download complete
7bea99e4f8b8: Verifying Checksum
7bea99e4f8b8: Download complete
32802c0cfa4d: Download complete
32802c0cfa4d: Pull complete
da1315cffa03: Pull complete
fa83472a3562: Pull complete
f85999a86bef: Pull complete
305b24214bff: Pull complete
2012f09c05ef: Verifying Checksum
2012f09c05ef: Download complete
4c7c13e63f4e: Verifying Checksum
4c7c13e63f4e: Download complete
4c7c13e63f4e: Pull complete
7bea99e4f8b8: Pull complete
2012f09c05ef: Pull complete
Digest: sha256:36a024a6eb55d0aec98535c830c5d47b190e51b21e67c6c0d2a7b422b3a0c54f
Status: Downloaded newer image for heroku/heroku:18-build
---> 607c99081424
Step 2/14 : COPY . /app
---> dc8d2a37f2b4
Step 3/14 : WORKDIR /app
---> Running in 56d5305967a2
Removing intermediate container 56d5305967a2
---> d05457cfc59d
Step 4/14 : RUN mkdir -p /tmp/buildpack/ruby /tmp/build_cache /tmp/env
---> Running in c85be5d5e6bd
Removing intermediate container c85be5d5e6bd
---> 81b615df618e
Step 5/14 : RUN curl https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/ruby.tgz | tar --warning=none -xz -C /tmp/buildpack/ruby
---> Running in dcf47ba9d6f3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
Removing intermediate container dcf47ba9d6f3
---> bd11605121e9
Step 6/14 : RUN STACK=heroku-18 /tmp/buildpack/ruby/bin/compile /app /tmp/build_cache /tmp/env
---> Running in 26481324a619
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.4.4
-----> Installing dependencies using bundler 1.15.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.5). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Fetching rake 12.3.0
Fetching concurrent-ruby 1.0.5
Fetching minitest 5.11.1
Installing rake 12.3.0
Installing minitest 5.11.1
Installing concurrent-ruby 1.0.5
Fetching thread_safe 0.3.6
Fetching builder 3.2.3
Installing thread_safe 0.3.6
Fetching erubi 1.7.0
Installing builder 3.2.3
Fetching mini_portile2 2.3.0
Fetching crass 1.0.4
Installing erubi 1.7.0
Fetching rack 2.0.3
Installing mini_portile2 2.3.0
Installing crass 1.0.4
Fetching nio4r 2.2.0
Installing rack 2.0.3
Installing nio4r 2.2.0 with native extensions
Fetching websocket-extensions 0.1.3
Installing websocket-extensions 0.1.3
Fetching mini_mime 1.0.0
Installing mini_mime 1.0.0
Fetching arel 8.0.0
Installing arel 8.0.0
Using bundler 1.15.2
Fetching coffee-script-source 1.12.2
Installing coffee-script-source 1.12.2
Fetching execjs 2.7.0
Fetching method_source 0.9.0
Installing execjs 2.7.0
Installing method_source 0.9.0
Fetching thor 0.20.0
Fetching ffi 1.9.18
Installing thor 0.20.0
Fetching multi_json 1.13.1
Installing ffi 1.9.18 with native extensions
Installing multi_json 1.13.1
Fetching json 1.8.6
Installing json 1.8.6 with native extensions
Fetching pg 0.19.0
Installing pg 0.19.0 with native extensions
Fetching puma 3.11.2
Installing puma 3.11.2 with native extensions
Fetching rb-fsevent 0.10.2
Installing rb-fsevent 0.10.2
Fetching rdoc 4.3.0
Installing rdoc 4.3.0
Fetching tilt 2.0.8
Installing tilt 2.0.8
Fetching turbolinks-source 5.1.0
Installing turbolinks-source 5.1.0
Fetching i18n 0.9.3
Installing i18n 0.9.3
Fetching tzinfo 1.2.4
Installing tzinfo 1.2.4
Fetching nokogiri 1.8.2
Installing nokogiri 1.8.2 with native extensions
Fetching websocket-driver 0.6.5
Installing websocket-driver 0.6.5 with native extensions
Fetching mail 2.7.0
Installing mail 2.7.0
Fetching rack-test 0.8.2
Installing rack-test 0.8.2
Fetching sprockets 3.7.1
Installing sprockets 3.7.1
Fetching coffee-script 2.4.1
Installing coffee-script 2.4.1
Fetching uglifier 4.1.4
Installing uglifier 4.1.4
Fetching rb-inotify 0.9.10
Installing rb-inotify 0.9.10
Fetching turbolinks 5.1.0
Installing turbolinks 5.1.0
Fetching activesupport 5.1.4
Installing activesupport 5.1.4
Fetching sdoc 0.4.2
Installing sdoc 0.4.2
Fetching sass-listen 4.0.0
Installing sass-listen 4.0.0
Fetching globalid 0.4.1
Installing globalid 0.4.1
Fetching activemodel 5.1.4
Installing activemodel 5.1.4
Fetching jbuilder 2.7.0
Installing jbuilder 2.7.0
Fetching sass 3.5.5
Installing sass 3.5.5
Fetching activejob 5.1.4
Installing activejob 5.1.4
Fetching activerecord 5.1.4
Installing activerecord 5.1.4
Fetching rails-dom-testing 2.0.3
Fetching loofah 2.2.2
Installing loofah 2.2.2
Installing rails-dom-testing 2.0.3
Fetching rails-html-sanitizer 1.0.4
Installing rails-html-sanitizer 1.0.4
Fetching actionview 5.1.4
Installing actionview 5.1.4
Fetching actionpack 5.1.4
Installing actionpack 5.1.4
Fetching actioncable 5.1.4
Fetching actionmailer 5.1.4
Fetching railties 5.1.4
Installing actioncable 5.1.4
Installing actionmailer 5.1.4
Installing railties 5.1.4
Fetching sprockets-rails 3.2.1
Installing sprockets-rails 3.2.1
Fetching coffee-rails 4.2.2
Fetching jquery-rails 4.3.1
Fetching rails 5.1.4
Installing rails 5.1.4
Fetching sass-rails 5.0.7
Installing coffee-rails 4.2.2
Installing sass-rails 5.0.7
Installing jquery-rails 4.3.1
Bundle complete! 11 Gemfile dependencies, 60 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into ./vendor/bundle.
Bundle completed (30.93s)
Cleaning up the bundler cache.
Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.5). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
The latest bundler is 2.0.0.pre.2, but you are currently running 1.15.2.
To update, run `gem install bundler --pre`
-----> Installing node-v8.10.0-linux-x64
-----> Detecting rake tasks
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
I, [2018-12-20T12:48:33.140086 #1319] INFO -- : Writing /app/public/assets/lang-logo-975635515a3eba8a4dbe12956ddcce29610bf587eba6f72c1a66e6a4c97dce44.png
I, [2018-12-20T12:48:35.601930 #1319] INFO -- : Writing /app/public/assets/application-4511ec4337880f6a344b08efe8a95a8b34d351f3aa3baac4fa41e065c36aeab2.js
I, [2018-12-20T12:48:35.602712 #1319] INFO -- : Writing /app/public/assets/application-4511ec4337880f6a344b08efe8a95a8b34d351f3aa3baac4fa41e065c36aeab2.js.gz
I, [2018-12-20T12:48:35.629874 #1319] INFO -- : Writing /app/public/assets/application-4b3e7d10f15531ed01fb27360f045b1be6bfd6a2788cbe7cba29ebf78f04be4b.css
I, [2018-12-20T12:48:35.630324 #1319] INFO -- : Writing /app/public/assets/application-4b3e7d10f15531ed01fb27360f045b1be6bfd6a2788cbe7cba29ebf78f04be4b.css.gz
Asset precompilation completed (3.49s)
Cleaning assets
Running: rake assets:clean
-----> Detecting rails configuration
###### WARNING:
No Procfile detected, using the default web server.
We recommend explicitly declaring how to boot your server process via a Procfile.
https://devcenter.heroku.com/articles/ruby-default-web-server
Removing intermediate container 26481324a619
---> 7853ba474e06
Step 7/14 : FROM heroku/heroku:18
18: Pulling from heroku/heroku
32802c0cfa4d: Already exists
da1315cffa03: Already exists
fa83472a3562: Already exists
f85999a86bef: Already exists
305b24214bff: Already exists
4c7c13e63f4e: Already exists
Digest: sha256:41860992bc496f3586a10c95624433640dfa630460e3aab6fc27f57e7a4cbef4
Status: Downloaded newer image for heroku/heroku:18
---> dbeff33af005
Step 8/14 : COPY --from=build /app /app
---> 2a78c4c50d2a
Step 9/14 : ENV HOME /app
---> Running in d7f1928cb002
Removing intermediate container d7f1928cb002
---> 8ee451b24d6f
Step 10/14 : WORKDIR /app
---> Running in d3d66a3d0226
Removing intermediate container d3d66a3d0226
---> 2c7e9aa8f5eb
Step 11/14 : RUN useradd -m heroku
---> Running in e0cba6e85f8c
Removing intermediate container e0cba6e85f8c
---> 2d98fae8eec6
Step 12/14 : USER heroku
---> Running in 6a8b5cda63f0
Removing intermediate container 6a8b5cda63f0
---> af6e04f4d1ef
Step 13/14 : ENTRYPOINT ["/bin/bash", "-l", "-c"]
---> Running in 704dabe08f05
Removing intermediate container 704dabe08f05
---> 4819156f0c33
Step 14/14 : CMD echo "Auto-generated Dockerfile"
---> Running in 8f17f1ae4b36
Removing intermediate container 8f17f1ae4b36
---> d7fb2a115765
Successfully built d7fb2a115765
Successfully tagged d9fd425b6f2805bfd329ba514fbe300aabc53c81:latest
=== Pushing heroku (Dockerfile)
Tagged image "d9fd425b6f2805bfd329ba514fbe300aabc53c81" as "registry.heroku.com/aqueous-everglades-51851/heroku"
The push refers to repository [registry.heroku.com/aqueous-everglades-51851/heroku]
765cf9420cf9: Preparing
fdb4b086014c: Preparing
17440462b02e: Preparing
6bd459296646: Preparing
b9b7103af585: Preparing
ca2991e4676c: Preparing
a768c3f3878e: Preparing
bc7f4b25d0ae: Preparing
ca2991e4676c: Waiting
a768c3f3878e: Waiting
bc7f4b25d0ae: Waiting
765cf9420cf9: Pushed
b9b7103af585: Pushed
6bd459296646: Pushed
ca2991e4676c: Pushed
a768c3f3878e: Pushed
fdb4b086014c: Pushed
bc7f4b25d0ae: Pushed
17440462b02e: Pushed
latest: digest: sha256:777e2cc9d7746f0ac487fb857c53a5a97935e46be41a5846b60bb1cd5e902b39 size: 1991
setup:
addons:
- plan: heroku-postgresql
as: DATABASE
build:
languages:
- ruby
run:
web: bundle exec puma -C config/puma.rb
@masutaka
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment