Mojo should complain loudly if you try to run a spec requiring a container against a containerless project
Bug #1537111 reported by
Tom Haddon
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Confirmed
|
Low
|
Unassigned |
Bug Description
Currently you can create a containerless project in mojo and run any spec against it. If the spec includes any steps within LXC, mojo will just run the commands it would normally run inside LXC against your regular OS (i.e. installing packages, running build commands, etc.).
Mojo should instead warn loudly that this isn't recommended, and require you to pass a --yes-really flag (not that, but something conveying that) to go ahead.
tags: | added: papercut |
To post a comment you must log in.
Confirmed with the server team that this wouldn't cause a problem for them if we changed behaviour here.