-
Notifications
You must be signed in to change notification settings - Fork 7
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
Upgrades to integrations-hcl to support multiple strategies (Nomad Pack) #216
Conversation
🦋 Changeset detectedLatest commit: 0045982 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📦 Canary Packages PublishedLatest commit: 0045982 |
app: app.array().length(1), | ||
pack: pack.array().length(1), | ||
integration: integration.array().length(1), | ||
}) |
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.
Are app
and pack
Nomad-owned stanzas? and integration
Digital-owned? It might be useful to note that here.
Also, we might want to add the missing app
and pack
fields here, even though we may not necessarily need them.
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.
Are app and pack Nomad-owned stanzas? and integration Digital-owned? It might be useful to note that here.
Yes this is the right understanding. I will note this!
Also, we might want to add the missing app and pack fields here, even though we may not necessarily need them.
I would be concerned that we would be over-validating. For example, if they have a field xyz which is currently required, I wouldn't want to specify it as such in our configuration if we don't need to use it. In the event that the Nomad team wants to change their specification, I wouldn't want to have to change anything on our end (unless it was fields that we were touching).
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.
Looks pretty good! The separation of "strategies" is a huge improvement, especially so for the upcoming support of nomad-packs.
Just left a few suggestions to leave some comments/breadcrumbs for ourselves!
🎟️ Asana Task
Description
Upgrades the
integrations-hcl
codebase to support an inputstrategy
parameter which influences the strategy of consumption.This allows for differing consumption interfaces, which is required given our nomad-pack-community-registry has a different configuration interface.
PR Checklist 🚀