-
Notifications
You must be signed in to change notification settings - Fork 492
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
Allow multiple constraints flag #17144
Conversation
7 similar comments
@amandahla thank-you for the contribution. Could you please re-base this to 3.5 as this is a feature rather than a true bug fix. Also I think we should strive to have consistency here, so if you could also please implement the same logic for:
Please let me know if you have any questions. |
Hi, could you please confirm? I was asked to target 3.3 here: |
This will need to target 3.6 now, since 3.5 has gone to rc1. Since this is a feature, we don't typically land these in released versions. It will also need to address inconsistency it introduces between constraints flags, otherwise we can't land it. We are happy for this feature to go ahead as it makes sense from a design perspective, just need to iron out the issues around bootstrap/deploy/add-machine/enable-ha uses of constraints. |
Thanks @hpidcock , the bootstrap/deploy/add-machine/enable-ha commands were updated now to support multiple constraints. |
/build |
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.
Thank-you for the patch. This is a excellent improvement.
/merge |
#17479 Forward merge: - #17348 - #17413 - #17423 - #17436 - #17336 - #17422 - #17446 - #17448 - #17444 - #17453 - #17440 - #17458 - #17454 - #17461 - #17462 - #17463 - #17465 - #17469 - #17144 - #17179 - #17464 - #17476 - #17477 Conflicts: - cmd/juju/application/bundle/bundle.go - cmd/juju/application/bundle/bundle_test.go - cmd/juju/application/deploy.go - cmd/juju/application/deploy_test.go - cmd/juju/commands/bootstrap.go - cmd/juju/machine/add.go - cmd/jujud-controller/agent/machine.go - cmd/jujud/agent/machine.go - go.mod - go.sum - internal/bundle/changes/changes.go - internal/container/utils.go - internal/container/utils_test.go - internal/provider/azure/environ.go - internal/provider/azure/internal/errorutils/errors_test.go - internal/provider/azure/internal/imageutils/images.go - internal/provider/azure/internal/imageutils/images_test.go - internal/worker/containerbroker/broker_test.go - internal/worker/uniter/runner/context/context.go - internal/worker/uniter/runner/context/contextfactory.go - internal/worker/uniter/runner/context/export_test.go - internal/worker/uniter/runner/jujuc/relation-ids.go - tests/includes/juju.sh - tests/main.sh - tests/suites/deploy/os.sh Most conflicts were trivial to solve. Azure conflicts took a bit of thought. They emerged from [my PR](#17440) The conflicts to `internal/worker/uniter/runner`, emerging from [this PR](#17464), took some thought, since the structure of tests had changed to mocks. The conflicts with the production code here, however, was trivial to merge
Checklist
Comments saying why design decisions were madeIntegration tests, with comments saying what you're testingQA steps
juju bootstrap --constraints "a=b" --constraints "b=c"
juju bootstrap --bootstrap-constraints "a=b" --bootstrap-constraints "b=c"
juju deploy indico --constraints "a=b" --constraints "b=c"
juju add-machine --constraints "a=b" --constraints "b=c"
juju enable-ha --constraints "a=b" --constraints "b=c"
Documentation changes
Links
Launchpad bug: https://bugs.launchpad.net/juju/+bug/2049439
Jira card: JUJU-
TODO