-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat(1769): [3] Change data structure for queue-service cooperation. BREAKING CHANGE: screwdriver-api no longer works. #200
Conversation
@@ -13,11 +13,13 @@ const testPayloadPushTag = require('./data/github.push.tag.json'); | |||
const testPayloadRelease = require('./data/github.release.json'); | |||
const testPayloadReleaseBadAction = require('./data/github.release.badAction.json'); | |||
const testPayloadTag = require('./data/github.tag.json'); | |||
const testPayloadPushBadHead = require('./data/github.push.badHead.json'); |
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.
Can we also remove ./data/github.push.badHead.json
file?
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.
I removed it.
"hookId": "3c77bf80-9a2f-11e6-80d6-72f7fe03ea29", | ||
"scmContext": "github:github.com", | ||
"action": "opened" | ||
} |
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.
no new line at the end of file👀
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.
I added new line to the files.
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.
Does this need BREAKING CHANGE: MESSAGE
?
https://docs.screwdriver.cd/about/contributing/
🎉 This PR is included in version 11.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Context
Change the data structure so that getChangedFiles can be executed from the endpoint
/processHooks
added in screwdriver-cd/screwdriver#2622.Objective
This is a breaking change, because the arguments to getChangedFiles will be renamed, and the caller of that function will need to be modified as well.
That modification is done at screwdriver-cd/screwdriver#2622.
References
Because of the changes in the data structure, the unit test may fail until the changes in data-schema are published.
data-schema PR
scm-base PR
scm-gitlab PR
screwdriver PR
screwdriver-cd/screwdriver#1769 (comment)
License
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.