Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To get the tests to pass in Unbuntu 20.04 a few work arounds were needed. Over time the workarounds should be removed, but now I need progress. * Change how nipapd is started when running the apt tests. From some reason the daemon won't start with systemd, so let's just start it manually. Also, it by default tries to drop privileges and then cannot read some postgres certificate in /root. Thus, avoid dropping privileges. And yes, the daemon won't start from systemd without dropping privileges either. * Run the CLI tests over plain-text HTTP. With the newer versions of TLS libs in 20.04, a CN is not enough but a subject alternative name (SAN) is required as well. It's a bit more tricky to generate a cert with SAN, so instead I let the CLI tests run over plain-text HTTP instead. The REST tests pass over TLS (with warnings regarding missing SAN). * As the Python 2 version of NIPAP cannot be installed on Ubuntu 20.04, the upgrade tests are disabled until we can upgrade from a Python 3-based version. * Enabled an "Accident analysis"-step in the CI pipeline. If the test fails it's run and gathers some data for debugging. More debugging ci: Removed debugging ci: Cleanup for starting nipapd manually
- Loading branch information