debian-forge/test/mod
Martin Sehnoutka ee3760e1ba sources/curl: Implement new way of getting RHSM secrets
The previous version covered too few use cases, more specifically a
single subscription. That is of course not the case for many hosts, so
osbuild needs to understand subscriptions.

When running org.osbuild.curl source, read the
/etc/yum.repos.d/redhat.repo file and load the system subscriptions from
there. While processing each url, guess which subscription is tied to
the url and use the CA certificate, client certificate, and client key
associated with this subscription. It must be done this way because the
depsolving and fetching of RPMs may be performed on different hosts and
the subscription credentials are different in such case.

More detailed description of why this approach was chosen is available
in osbuild-composer git: https://github.com/osbuild/osbuild-composer/pull/1405
2021-06-04 18:23:05 +01:00
..
__init__.py test: '{. -> ./mod}/test_util_selinux.py' 2020-04-24 15:50:44 +02:00
test_api.py test/api: assert return code for api.exception 2020-10-09 10:47:44 +02:00
test_buildroot.py buildroot: make var a positional argument 2021-02-11 23:49:18 +01:00
test_fmt_v1.py test/fmt_v1: check result is complete 2021-03-09 21:40:47 +00:00
test_fmt_v2.py sources: rename org.osbuild.{files -> curl} 2021-02-12 19:27:08 +01:00
test_monitor.py osbuild: assemblers are pipelines now 2021-01-22 15:03:19 +01:00
test_objectstore.py test/objectstore: proper path concatenation 2020-07-22 09:37:30 +01:00
test_osbuild.py test/osbuild: check version 1 and 2 schemata 2021-02-12 15:55:43 +01:00
test_util_checksum.py test/mod: add checks for util.test_util 2021-05-12 14:26:16 +02:00
test_util_ctx.py util/ctx: extract suppress_oserror() 2020-05-11 18:05:12 +02:00
test_util_jsoncomm.py jsoncomm: remove destination from send 2020-07-29 02:16:20 +01:00
test_util_linux.py test: convert to shared helpers 2020-05-13 14:26:05 +02:00
test_util_lorax.py test/util_lorax: add basic checks 2021-02-19 14:42:32 +00:00
test_util_osrelease.py test: make TestBase inherit unittest.TestCase 2020-06-05 09:27:40 +02:00
test_util_ostree.py osbuild: replace capture_output in subprocess.run 2020-06-09 13:42:35 +02:00
test_util_rhsm.py sources/curl: Implement new way of getting RHSM secrets 2021-06-04 18:23:05 +01:00
test_util_rmrf.py test: convert to shared helpers 2020-05-13 14:26:05 +02:00
test_util_selinux.py test: '{. -> ./mod}/test_util_selinux.py' 2020-04-24 15:50:44 +02:00