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

gator test add support for --image for templates and constraints #2333

Closed
apeabody opened this issue Oct 12, 2022 · 5 comments
Closed

gator test add support for --image for templates and constraints #2333

apeabody opened this issue Oct 12, 2022 · 5 comments
Labels

Comments

@apeabody
Copy link
Contributor

Describe the solution you'd like
I'd like to store my templates and constraints in a container image and use them directly with gator test.

For example to test my-manifest.yaml: cat my-manifest.yaml | gator test --image gcr.io/repo/templates-and-constraints:1.0

@apeabody apeabody added the enhancement New feature or request label Oct 12, 2022
@maxsmythe
Copy link
Contributor

We should consider being able to support multiple instances of the --image flag in the same invocation.

@sozercan
Copy link
Member

sozercan commented Oct 12, 2022

Is this only for gator CLI and not for webhook? I think we had a separate discussion for webhook in #1491

gcr.io/repo/templates-and-constraints:1.0

how would we include constraints in there? wouldn't these have arbitrary parameters?

@apeabody
Copy link
Contributor Author

Hi @sozercan - My initial use case would be that an end-user would "layer" their own (pre-configured if required) constraint files into a container image along with any custom constraint templates, and then publish the container image to a registry as part of their pipeline. They could then call it using gator, easily test against different version of the container, etc.

@stale
Copy link

stale bot commented Dec 14, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 14, 2022
@maxsmythe maxsmythe added triaged and removed stale labels Dec 14, 2022
@apeabody
Copy link
Contributor Author

Ref: #2398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants