pavilion2 icon indicating copy to clipboard operation
pavilion2 copied to clipboard

Create 'suites' directory, test re-org

Open Paul-Ferrell opened this issue 11 months ago • 0 comments

We should add a new config dir - suites, and deprecate the test_src and tests directory.

In a suites directory:

  • a single yaml file can contain a suite named for that file (as per tests currently)

  • a directory, containing:

    • a suite.yaml file (required), with the suite configuration.
    • a hosts.yaml file (optional) containing host specific configs (unlike regular hosts files, these will have multiple configs (see below)
    • a modes.yaml file (option) with multiple modes
    • an os.yaml file (option) with OS options
  • Pavilion should look in the suite directory first for any source files

    • If a source path should default to the series' directory if no path or download is specified.
    • The yaml files listed above should be ignored when calculating the build hash.

Host/Mode Files

The host and mode files in a suite directory should have the same format as a test, except the keys should be host/mode/os names.

rocinante:
  variables:
    foo: 'bar'

crossroads:
  variables:
    foo: 'baz'

Paul-Ferrell avatar Feb 29 '24 17:02 Paul-Ferrell