[go: up one dir, main page]

Page MenuHomePhabricator

Make test suites run against freshly built images
Open, Needs TriagePublic

Description

Goal: Make the Example test run off the locally built images vs the released images specified in example/.env.defaults to make sure we're testing that configuration of services against builds before it is released.

Solution: Add the *_IMAGE_URL variables form variables.env to the bottom of the test/suites/example/example.env file to override the defaults and setup the services using the latest local builds.

Bonus/Probably should (or make a new ticket if not done in this): Consider making this a ./wbs feature (--latest?) such that a user of the Example configuration can also choose to build their own containers. In this scenario we would should probably run the Example test suite against ./wbs --latest; ./wbs start such that we're effectively testing the ./wbs start script and otherwise have that test suite setup to test its other commands. It would probably be best to create a .env.defaults.latest in this scenario, with the necessary ./wbs script amendments to make that work well...

Acceptance Criteria:

  • Example test suite uses local/"latest" Docker images
  • Example test suite uses ./wbs OR a follow-up ticket is created with the notes above

Event Timeline

lojo_wmde renamed this task from Make Example test suite run against locally built images to Make test suites run against freshly built images.Jul 11 2024, 12:28 PM