mbox series

[v3,0/1] test: provide ci_shell as a convenience wrapper

Message ID 20251103171150.338064-1-cedric.hombourger@siemens.com
Headers show
Series test: provide ci_shell as a convenience wrapper | expand

Message

cedric.hombourger@siemens.com Nov. 3, 2025, 5:11 p.m. UTC
Ease use of the container environment that may be used to run
tests from this project by adding a `scripts/ci_shell` script
to invoke `kas-container` for you. The script uses the existing
kas/isar.yml kas file to use your existing checkout of the Isar
code: this makes it easier to test your work-in-progress changes.

Lastly, `ci_setup.sh` will produce less output (e.g. when
installing dependencies) and will print a few hints to remind
users with useful commands.

Changes since v2:
 - drop redundant kas/ci-shell.yml since identical to the
   existing kas/isar.yml file

Changes since v1:
 - use a temporary KAS_BUILD_DIR for the build container since we are
   not using kas for building test cases but only as a runtime
   environment. By that, the build folder created by kas does not
   conflict with the folder created by avocado builds.

Future work:
 - Provide a Containerfile to build a container image with package
   dependencies pre-installed (as suggested by Jan Kiszka).

Cedric Hombourger (1):
  test: provide ci_shell as a convenience wrapper

 CONTRIBUTING.md     | 52 +++++++++++----------------------------------
 scripts/ci_setup.sh | 32 +++++++++++++++++++++++-----
 scripts/ci_shell    | 18 ++++++++++++++++
 3 files changed, 57 insertions(+), 45 deletions(-)
 create mode 100755 scripts/ci_shell