lab icon indicating copy to clipboard operation
lab copied to clipboard

ci view: short or brief output?

Open claytonrcarter opened this issue 7 years ago • 4 comments

Not sure if it's just my use case or if it would be useful for others, but I often just want to get a quick gist of what CI is currently up to. ci view provides this of course, but if I don't want to trace or interact with jobs, it feels like overkill, plus I have to q out of it. What I would love is something like lab ci status or maybe lab ci view --brief that just lists the job names and their current status. For example (where I only have one job named "test"):

$ git push
...
$ lab ci status
test: pending
$ lab ci status
test: running
$ lab ci status
test: success

claytonrcarter avatar Dec 06 '18 23:12 claytonrcarter

:+1: to a lab ci status I've wanted one for a while and something like the output you're describing is appealing. It seems like the biggest challenge dealing with the fact that pipelines have multiple jobs. So if you're proposing just doing a textual semi-ordered list that seems reasonable

$ lab ci status
build: success
test:  running
deploy: pending

Actually sounds pretty rad!

zaquestion avatar Dec 07 '18 21:12 zaquestion

I totally second this approach. (adding a few emojis makes it even cute though)

$ lab ci status
✅ build: success
🏃🏻‍♂️ test: running
🕐 deploy: pending
❌ e2e: failed
⏸ docker-build: paused

naveenkumarsangi avatar Dec 11 '18 09:12 naveenkumarsangi

If we could get the columns setup so the statuses all start at the same offset. Thatd be rad

zaquestion avatar Dec 13 '18 08:12 zaquestion

I posted a proposition here: https://github.com/zaquestion/lab/issues/259#issuecomment-447343828

MartinDelille avatar Dec 14 '18 14:12 MartinDelille

Closed (a while ago) by #273

claytonrcarter avatar Sep 13 '23 00:09 claytonrcarter