oxidecomputer / omicron

Omicron: Oxide control plane
Mozilla Public License 2.0
224 stars 34 forks source link

Automate setup for wicketd/wicket manual testing flow #5550

Open sunshowers opened 3 months ago

sunshowers commented 3 months ago

PR #5551 adds some commands to the wicket README to manually set up sp-sim, MGS and wicketd. To my knowledge there isn't an automated way to run all of these commands together (we have tests that do this, but nothing automated) -- it would be nice to have one.

jgallagher commented 3 months ago

omicron-dev mgs-run will start sp-sim and MGS. Maybe that could grow a wicketd-run that would start them plus wicketd?

sunshowers commented 3 months ago

Oh neat, I didn't know about omicron-dev mgs-run. That's really helpful!

sunshowers commented 3 months ago

Hmmm, but also omicron-dev mgs-run takes a while to build because it compiles in a copy of Nexus.

sunshowers commented 3 months ago

I'll work on this after r8. I'll make omicron-dev itself a wrapper binary that compiles and execs a process with the right set of features enabled -- this should enable a quicker iteration cycle when Nexus is not part of the feature set.

sunshowers commented 3 months ago

https://github.com/oxidecomputer/omicron/pull/5551 adds notes to the readme. We'll want to update this once omicron-dev becomes smarter.