debian-forge-composer/internal/cloudapi/v2
Ondřej Budai d2d70c1e95 cloudapi: add multi-tenancy test
This commit adds a very in-depth test for multi-tenancy. It queues several
composes and then runs all jobs belonging to them while checking that
they are run by the correct tenant.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-03-08 12:07:00 +01:00
..
errors.go api/{cloud,worker}: used channel name based on JWT claims for new jobs 2022-03-08 12:07:00 +01:00
errors_test.go cloudapi/v2: Listen on /api/image-builder-composer/v2 2021-10-11 09:52:21 +02:00
openapi.v2.gen.go distro/rhel86: add support for azure marketplace 2022-02-27 22:03:36 +01:00
openapi.v2.yml distro/rhel86: add support for azure marketplace 2022-02-27 22:03:36 +01:00
v2.go api/{cloud,worker}: used channel name based on JWT claims for new jobs 2022-03-08 12:07:00 +01:00
v2_internal_test.go cloudapi: test repository config conversion function 2022-02-14 17:38:41 +01:00
v2_koji_test.go cloudapi/test: make newV2Server return also the queue 2022-03-08 12:07:00 +01:00
v2_multi_tenancy_test.go cloudapi: add multi-tenancy test 2022-03-08 12:07:00 +01:00
v2_test.go cloudapi: add multi-tenancy test 2022-03-08 12:07:00 +01:00