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

fix(artifacts/helm): support regex/spel in version #7033

Merged
merged 5 commits into from
May 23, 2019

Conversation

ethanfrogers
Copy link
Contributor

the version field in an artifact supports regex but the previous UI
forced a hardcoded version. this made triggers really confusing because
users are forced to set a version on the artifact when they really
wanted something like .* to indicate that this chart should be matched
for all versions.

@ethanfrogers
Copy link
Contributor Author

This only handles most of the cases where this can be set. I'm not sure what to do about helm.artifact.ts under Expected Artifacts w/ the artifact rewrite disabled. That bit is still Angular but I need a creatable select. Open to suggestions.

@maggieneterval
Copy link
Contributor

This only handles most of the cases where this can be set. I'm not sure what to do about helm.artifact.ts under Expected Artifacts w/ the artifact rewrite disabled. That bit is still Angular but I need a creatable select. Open to suggestions.

My suggestion would be converting it to React 👼

the version field in an artifact supports regex but the previous UI
forced a hardcoded version. this made triggers really confusing because
users are forced to set a version on the artifact when they really
wanted something like `.*` to indicate that this chart should be matched
for all versions.
@ethanfrogers
Copy link
Contributor Author

@maggieneterval Feedback addressed! Unfortunately, refactoring that bit to React is more work than I have time for at the moment. At least from what I can tell. I'll revisit again, later.

@ethanfrogers ethanfrogers merged commit 4975233 into spinnaker:master May 23, 2019
@ethanfrogers ethanfrogers deleted the helm-artifact-regex branch May 23, 2019 14:34
anotherchrisberry added a commit that referenced this pull request May 28, 2019
…#7066)

* chore(core): Bump version to 0.0.373

89e4e78 fix(runJob/kubernetes): reliably display logs (#7060)
50f23fc refactor(core): allow checklist component to accept objects as a prop (#7058)
0eaae9a refactor(core): expose clusterService in react injector (#7043)
8dd1417 fix(core): Build triggers: Properly render large number of jobs (#7056)
4975233 fix(artifacts/helm): support regex/spel in version (#7033)

* chore(docker): Bump version to 0.0.41

59259a9 fix(docker): Fixed imageId parsing and digest support (#7053)

* chore(titus): Bump version to 0.0.98

50f23fc refactor(core): allow checklist component to accept objects as a prop (#7058)
59259a9 fix(docker): Fixed imageId parsing and digest support (#7053)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants