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

Restrict allowed environments based on specified subprojects #258

Open
alex-mckenna opened this issue Apr 8, 2024 · 0 comments
Open

Restrict allowed environments based on specified subprojects #258

alex-mckenna opened this issue Apr 8, 2024 · 0 comments

Comments

@alex-mckenna
Copy link

Since #252, hoff has had support for merge and deploy messages which specify the subproject(s) to deploy. However, in some repositories it may be the case that not every subproject can be deployed to the same environments. This means currently if we have the following:

  • subproject foo which has environments production and staging
  • subproject bar which only has the environment production

we can run commands like this in hoff which merge correctly, but mismatch subprojects to environments, since we only keep a single global list of subprojects and environments. Ideally hoff would also know which environments are valid per-subproject and reject merge commands which make no sense.

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

No branches or pull requests

1 participant