-
Notifications
You must be signed in to change notification settings - Fork 85
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
feature request: add option to discard plan or support multiple independent plans #118
Comments
@cludden could you give a few more details about your PR workflow? Do you have a single environment with multiple PRs submitted against it? |
@ljfranklin a common flow for us is to validate infra changes at PR time, and we'd like for these plans to not interfere with actual infra deployments, today we do this as a task, but there is a lot of overlap with this resource. quick example: if one engineer is iterating on larger infra changes, we don't want these plans applied the next time the resource is run, and my understanding of the current implementation is that they're can only be a single plan per workspace at any given moment an alternative to a |
That is correct. The current plan implementation creates a new temporary workspace named
This makes me a little nervous long-term. The Concourse team has put out multiple proposals to refine the resource interface. Last I checked this proposal would require that
This sounds reasonable but we'd have to be careful about implementing it. The two main issues are deleting the unused planfiles and not breaking people on upgrade. I think the following implementation would work:
This implementation is a little more involved but does have the benefit of requiring no new pipeline config options and doesn't leak planfiles. Open to suggestions if you see a better solution. I'll mark this as open for a PR, appreciate the contribution if you have the time! |
in addition to or instead of #117 . would like to support various PR flows that are currently difficult with the existing implementation, mostly around validation and/or plans that don't persist or overwrite other plans
The text was updated successfully, but these errors were encountered: