Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add github url to metadata if origin is github. #269

Merged
merged 2 commits into from
Sep 3, 2019

Conversation

simonjohansson
Copy link
Contributor

@simonjohansson simonjohansson commented Aug 22, 2019

A common complaint in our org is that its annoying to go from a build to Github.
Normal workflow is

  1. Copy SHA from Concourse UI
  2. Enter SHA in search box on Github
  3. Be frustrated because Github doesn't search branches
  4. fly get-pipeline | egrep 'uri|branch'
  5. Click around in Github
  6. Uuuugh
  7. Yay, found it

This is a spikey implementation of a fix, if yall agree Ill clean it up a bit.

Also, somewhat fixes #178

Signed-off-by: Simon Johansson <simon@simonjohansson.com>
@simonjohansson
Copy link
Contributor Author

https://ci.concourse-ci.org/teams/resources/pipelines/git/jobs/prs-ubuntu/builds/46 is not due to the PR but network.. received unexpected HTTP status: 500 Internal Server Error

Anyways, ping pong.

Copy link
Member

@vito vito left a comment

Choose a reason for hiding this comment

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

LGTM - cheers for the tests! You mentioned cleaning it up a bit so I'll just approve for now. 👍

Signed-off-by: Simon Johansson <simon@simonjohansson.com>
@simonjohansson
Copy link
Contributor Author

Cleaned up a bit. Couple the last two tests to the implementation, but in this case I think its alright. :)

Copy link
Member

@vito vito left a comment

Choose a reason for hiding this comment

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

thanks!

@vito vito merged commit 9bc677c into concourse:master Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request: Show repo url in resource page
2 participants