tmt icon indicating copy to clipboard operation
tmt copied to clipboard

Implement `TMT_PLAN_SOURCED_FILE` hook

Open LecrisUT opened this issue 5 months ago • 2 comments

Generate a file for each plan that is sourced at the beginning of each:

  • prepare.shell step
  • test invocation

These are explicitly not invoked on all internal guest execute in order to minimize side-effects, and instead these are meant to be used by the user for their test environment. This file is thus exposed as TMT_PLAN_SOURCED_FILE and it is a no-op until they populate it via another prepare step or test invocation.


Pull Request Checklist

  • [x] implement the feature
  • [x] write the documentation
  • [x] extend the test coverage
  • [x] mention the version
  • [x] include a release note

Closes #3981

LecrisUT avatar Sep 10 '25 10:09 LecrisUT

Depends on #4312

LecrisUT avatar Nov 11 '25 15:11 LecrisUT

Missing docs, release note and test coverage, some discussions to be finished, moving to the next sprint as agreed.

psss avatar Nov 19 '25 12:11 psss

/packit retest-failed

psss avatar Nov 26 '25 14:11 psss

/packit build

psss avatar Nov 27 '25 12:11 psss

Irrelevant container image signature failures on centos-stream-10, otherwise green, merging.

psss avatar Nov 27 '25 14:11 psss