-
Notifications
You must be signed in to change notification settings - Fork 1
Deployments api #569
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
Deployments api #569
Conversation
* update node-github lib to have deployments api. * add call for createDeployment when push for configured repo received.
Don’t use Runnabot access token
* update node-github * pass payload to the new deployment
Start work for triggering github deployment for each server.
jshint cleanups
models/api/pull-request has code: 1. for statues api 1. for deployments api
move all deployment api calls to the models/api/pull-request
handle case when build or deployment failed. update tests
1. remove old code for handling each commit building. 2. remove old tests. 3. add new test for handling failed deployment
1. merge master 2. removed code implemented in master 3. fetch instance creator for each instance instead of using first one
1. method renamings 2. fetch commit message 3. pass correct box owner name
|
@prafulrana can you review text for build and deployments statuses? |
|
@anandkumarpatel, @bkendall can you review this one more time. I added few tests, applied your feedback and added small pice of additional functionality: set special server selection status when there is no server linked to the PR/branch. |
|
@tjmehta feel free to do code review too. Would like to deploy it tomorrow. Feel pretty comfortable about this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
@anandkumarpatel I addressed most of your comments. But few more things were changed since last review. Please do quick review and let me know if you ok with this PR |
|
alright - pending your tests passing, I think I'm good to go on these (stupid tests... come on tests) LGTM 👍 |
|
thanks @bkendall. Created task for that - https://runnable.atlassian.net/browse/SAN-1058. |
If there is not servers linked to the PR/branch than we are sending special status:
server selection with yellow icon.
UI preview: https://github.com/podviaznikov/hellonode/pull/59. Scroll to the bottom.
How to test: