screwdriver-cd / screwdriver

An open source build platform designed for continuous delivery.
http://screwdriver.cd
Other
1.02k stars 169 forks source link

Display information about environment before start #665

Closed stjohnjohnson closed 6 years ago

stjohnjohnson commented 7 years ago

In other services like Travis, Jenkins, Wercker, etc. the first command they run shows information about the environment. Items like:

Examples

Travis

screen shot 2017-07-26 at 9 51 51 am

Wercker

screen shot 2017-07-26 at 9 55 17 am

petey commented 7 years ago

Some of this information is in the build page header, some can be extracted with a little difficulty from the existing bookend steps.

Customers I have talked to have expressed very little interest in the output of the bookends, instead asking that those are further hidden from them in the UI.

stjohnjohnson commented 7 years ago

Well most of it is actually metadata inside the container. And I agree it should be hidden by default, but it should also be there if we want to debug. Like what user is this build running as right now?

jpcollins commented 7 years ago

Agree with St John's point. We want it for debugging but hidden by default.

stjohnjohnson commented 6 years ago

We now show some of that information:

screen shot 2018-03-11 at 11 47 30 pm

Code here: https://github.com/screwdriver-cd/launcher/blob/45da1242b84117ad5738d3d7d7b10d133f18d62b/launch.go#L297-L304

We should add more to it as we keep adding features.