Skip to content

Show container ID in output#6

Merged
mboersma merged 1 commit intodeis:masterfrom
dshafik:add-container-id
May 30, 2015
Merged

Show container ID in output#6
mboersma merged 1 commit intodeis:masterfrom
dshafik:add-container-id

Conversation

@dshafik
Copy link
Contributor

@dshafik dshafik commented May 29, 2015

No description provided.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was there something wrong with the current implementation that requires the call to isset() here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bacongobbler it would throw a notice (unseen due to error display settings, but still happens) if the key didn't exist. This is just the correct way to do this.

@bacongobbler
Copy link
Member

LGTM

@mboersma
Copy link
Member

LGTM.

@mboersma mboersma self-assigned this May 30, 2015
@mboersma
Copy link
Member

Tested against Deis master:

$ deis create
Creating application... done, created deluxe-handbill
Git remote deis added
$ git push deis dshafik-add-container-id
Counting objects: 222, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (153/153), done.
Writing objects: 100% (222/222), 367.82 KiB | 0 bytes/s, done.
Total 222 (delta 61), reused 216 (delta 59)
-----> PHP app detected
-----> Resolved composer.lock requirement for PHP to version 5.6.7.
-----> Installing system packages...
       - PHP 5.6.7
       - Apache 2.4.10
       - Nginx 1.6.0
-----> Installing PHP extensions...
       - zend-opcache (automatic; bundled)
...
Step 5 : ENV GIT_SHA ab279133cac4e010ba1393a07e33f51084ef12cb
 ---> Running in 5624d0908a66
 ---> f05896b3998e
Removing intermediate container 5624d0908a66
Successfully built f05896b3998e
-----> Pushing image to private registry

-----> Launching... 
       done, deluxe-handbill:v2 deployed to Deis

       http://deluxe-handbill.local3.deisapp.com

       To learn more, use `deis help` or visit http://deis.io

To ssh://git@deis.local3.deisapp.com:2222/deluxe-handbill.git
 * [new branch]      dshafik-add-container-id -> dshafik-add-container-id
$ curl http://deluxe-handbill.local3.deisapp.com
Powered by Deis!
Running on container ID 486f77e8a7cb
$ deis scale web=3
Scaling processes... but first, coffee!
done in 124s
=== deluxe-handbill Processes

--- web: 
web.1 up (v2)
web.2 up (v2)
web.3 up (v2)

$ curl http://deluxe-handbill.local3.deisapp.com
Powered by Deis!
Running on container ID 486f77e8a7cb
$ curl http://deluxe-handbill.local3.deisapp.com
Powered by Deis!
Running on container ID f4b18d36756a
$ curl http://deluxe-handbill.local3.deisapp.com
Powered by Deis!
Running on container ID eb49c678bfd7

mboersma added a commit that referenced this pull request May 30, 2015
@mboersma mboersma merged commit fb3fef6 into deis:master May 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants