Commit graph

9 commits

Author SHA1 Message Date
Stéphane Lesimple
c201f44d83 enh: tests: refactor the framework for more maintainability
The chain of executions is as is:
- `docker_build_and_run_tests_all.sh`
  - launches several instances of `docker_build_and_run_tests.sh`
    - builds docker images with the `target_role.sh` and `tester_role.sh` entrypoints
      - inside the tester docker, `tester_role.sh` launches `launch_tests_on_instance.sh`
      - the target docker gets tested after setting up accounts, SSH etc.

Previously, these scripts passed options to each other either by a mix of environment
variables and command-line arguments, with some inconsistencies here and there.

Now, `launch_tests_on_instance.sh` supports a lot of command-line options, which can
be specified directly if testing a remote server, or can be passed-through by the calling
script in case of docker tests. `docker_build_and_run_tests.sh` and
`docker_build_and_run_tests_all.sh` also support to passthrough these options down.
2021-06-25 16:02:38 +02:00
Stéphane Lesimple
003052530e feat: preparatory work to support Debian 11 "Bullseye"
We still need to replacee pam_tally2 by pam_faillock
Debian 11 is NOT yet supported, and won't be before it's released as stable.
2021-03-24 17:41:29 +01:00
Stéphane Lesimple
32a126d3c3
chore: tests: remove OpenSUSE Leap 15.0
We're hitting this bug: https://bugzilla.opensuse.org/show_bug.cgi?id=1146027
Hence the tests randomly fail because of that. The workaround is not really clean
(installing a custom-built package), so we're pulling OpenSUSE Leap 15.0 from our
automated tests workflow. Note that it's still supported, the tests can be launched
manually, and bugs under OpenSUSE Leap 15.0 will still be fixed.
2020-12-15 16:01:28 +00:00
Stéphane Lesimple
7707b1c351
fix: osh-groupCreate: fix for centos 8.3 2020-12-08 14:42:27 +00:00
Stéphane Lesimple
dca45a44c5
chore: fix latest centos 8 release, add tests for last 3 minors 2020-12-08 14:27:13 +00:00
Stéphane Lesimple
140da2f178 chore: ghactions: change order of tests.yml 2020-11-17 11:11:22 +01:00
Stéphane Lesimple
2a6d997b2f
feat: add OpenSUSE 15.2 to the officially supported distros 2020-11-05 14:29:27 +00:00
Stéphane Lesimple
386b20b71c
chore: add basic tests on push 2020-10-20 16:43:15 +00:00
Stéphane Lesimple
fde20136ef
Initial commit 2020-10-20 14:30:27 +00:00