-
Notifications
You must be signed in to change notification settings - Fork 902
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
fix(artifact/bitbucket): Bitbucket Use Default Artifact #7523
fix(artifact/bitbucket): Bitbucket Use Default Artifact #7523
Conversation
The following commits need their title changed:
Please format your commit title into the form:
This allows us to easily generate changelogs & determine semantic version numbers when cutting releases. You can read more about commit conventions here. |
@spinnakerbot assign-issue maggieneterval |
Hey @jorgebee65, thanks so much for the PR! I don't know anything about bitbucket so just want to make sure I understand the workflows here: it looks like previously, users specified a reference, and we used regex to derive the name. Now, users can specify both a reference (which is no longer parsed using regex), and an explicit name. Do you now need to specify both the reference and the name? Or are there situations when users only need to specify one? If users now only need to specify one or the other, perhaps we can make that clear in the tooltip text? |
@maggieneterval @jorgebee65 is OOO this afternoon so I'll answer for him. That's a good question. I'm not entirely sure if |
Hi @maggieneterval as @ethanfrogers mentioned now users will need to specify both fields because the regex was removed due the bitbucket API vary widely between versions. |
@spinnakerbot cherry-pick 1.16 |
* fix(artifact/bitbucket): Bitbucket Use Default Artifact edit Object path field * remove regex on event onChange for Object Path field
Cherry pick successful: #7535 |
c8c06e4 fix(artifact/bitbucket): Bitbucket Use Default Artifact (spinnaker#7523) ed7c445 feat(ui): Show health check url beside target group (spinnaker#7520)
c8c06e4 fix(artifact/bitbucket): Bitbucket Use Default Artifact (spinnaker#7523) ed7c445 feat(ui): Show health check url beside target group (spinnaker#7520)
* fix(artifact/bitbucket): Bitbucket Use Default Artifact edit Object path field * remove regex on event onChange for Object Path field
c8c06e4 fix(artifact/bitbucket): Bitbucket Use Default Artifact (spinnaker#7523) ed7c445 feat(ui): Show health check url beside target group (spinnaker#7520)
This change allow to specify explicitly the attribute name for a Bitbucket Artifact instead of trying to parse it from the reference. This decision is due the reference patterns for bitbucket vary widely between versions and would be difficult to maintain them per version.
We're just adding a name field so users can set that themselves. This is a backwards compatible change because existing artifacts will already have the name field populated.