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

Deployment status in PR #1708

Closed
platan opened this issue May 28, 2018 · 11 comments
Closed

Deployment status in PR #1708

platan opened this issue May 28, 2018 · 11 comments
Assignees
Labels
developer-experience Dev tooling, test framework, and CI

Comments

@platan
Copy link
Member

platan commented May 28, 2018

The idea started in #1605 (comment). We want "to post a comment at the end of a PR thread, which indicates whether it's been deployed yet".

There are two things we need:

@platan platan self-assigned this May 28, 2018
@platan
Copy link
Member Author

platan commented Jun 5, 2018

I think we have all required building blocks. We need to put them together.

What's next?

@chris48s
Copy link
Member

chris48s commented Jun 7, 2018

Great work on this:

screenshot at 2018-06-07 19 34 21

We need someone who can install workflow app at https://github.com/badges/shields. Who can do it?

If I click 'install' on https://github.com/apps/shields-deployment/ I seem to have permission to add the app to this repo with 'Read and write access to pull requests'. You should be able to do it as well - we have the same repo permissions.

If we add https://github.com/apps/shields-deployment and wanted to move it later, does it become problematic to move? Presumably we revoke one app and add another? If that's the case, I reckon submit a PR to add https://github.com/platan/shields-deployment-status-example/blob/master/.github/probot.js and we add https://github.com/apps/shields-deployment . If it there is a reason to move it later, we can do..

@platan
Copy link
Member Author

platan commented Jun 7, 2018

I haven't check if I can install this app in Shields ;-) Thanks.
After installing this app we can change it's description/logo and even a name. New name is immediately visible in all comments. And we can always uninstall this app. I'll create a PR with a workflow configuration.

@platan
Copy link
Member Author

platan commented Jun 15, 2018

#1724 is merged and we are ready to go. Would you like me to install https://github.com/apps/shields-deployment in shields (or one of you can do it if you want 😄)?

@chris48s
Copy link
Member

I pressed the buttons :D

alive

@paulmelnikow
Copy link
Member

Awesome work on this! It's really exciting to see 😄

@paulmelnikow paulmelnikow added the developer-experience Dev tooling, test framework, and CI label Jun 16, 2018
@chris48s
Copy link
Member

@platan - is the final remaining job on this to switch shields-deployment.now.sh to shields.io after the next deploy gets done?

@platan
Copy link
Member Author

platan commented Jun 17, 2018

@chris48s Additionally I would like to turn off "shields-deployment.now.sh". Therefore we should update all badges linking to the old domain: https://github.com/badges/shields/search?q=%22This+badge+displays+deployment+status%3A%22&type=Issues (switch to "shields.io").

@chris48s
Copy link
Member

cool. Lets leave this issue open until that last bit of work is finished then

@RedSparr0w
Copy link
Member

Looks like its live on shields now:

https://img.shields.io/github/commit-status/badges/shields/gh-pages/9d90bd1f9549b3c8b59ad8338a8acd92e1e36f3c.svg?label=deploy%20status

@platan
Copy link
Member Author

platan commented Jun 29, 2018

All badges in comments created by bot (https://github.com/badges/shields/search?q=%22This+badge+displays+deployment+status%3A%22&type=Issues) are served from img.shields.io.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer-experience Dev tooling, test framework, and CI
Projects
None yet
Development

No branches or pull requests

4 participants