diff options
author | Eric Wong <e@80x24.org> | 2019-05-07 09:09:54 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-05-09 03:06:36 +0000 |
commit | 364398b5cec0de55de30ab26ea9b71fe4160f37d (patch) | |
tree | c4e1f35442e08da36de298fabe299126bda37ed9 /ci/README | |
parent | 441a1bc6292c9286adc591ef71e307c5d9f8e274 (diff) | |
download | public-inbox-364398b5cec0de55de30ab26ea9b71fe4160f37d.tar.gz |
This should make it easier to test a bunch of package installation profiles across whatever OS isolation one chooses (chroots, containers, jails, VMs)
Diffstat (limited to 'ci/README')
-rw-r--r-- | ci/README | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ci/README b/ci/README new file mode 100644 index 00000000..4687fbc5 --- /dev/null +++ b/ci/README @@ -0,0 +1,33 @@ +various scripts for automated testing in chroots/VMs/jails + +TL;DR: ./ci/run.sh + +By default, `sudo' is used to install/uninstall packages. It may be +overridden with the `SUDO' environment variable. These scripts should +run in the top-level source tree, that is, as `./ci/run.sh'. + +* ci/run.sh - runs tests against all profiles for the current OS + + Environment options may override behavior: + + * DO - may be set to ":" to print commands instead of running + default: "" (empty) + + Common commands can be overridden by the environment, too: + + * MAKE - default: "make" + * PERL - default: "perl" + * SUDO - default: "sudo" + +* ci/deps.perl - script to mass-install/remove packages (requires root/sudo) + + Called automatically by ci/run.sh + + There is no need to run this manually unless you are debugging + or doing development. However, it can be convenient to for + users to mass-install several packages. + +* ci/profiles.sh - prints to-be tested package profile for the current OS + + Called automatically by ci/run.sh + The output is read by ci/run.sh |