debian-forge-composer/test/cases/api/common
Tomas Hozza 4b96a79935 test: add functions variant usable with JWT without providing ORG ID
Common integration tests should not need to care about specific ORG ID
configured in the worker, but they should be able to get access token
and check compose status without providing a specific ORG ID. The only
integration test that should care about ORG ID is the
`multi-tenancy.sh`.

Modify the `access_token` and `compose_status` functions to hide the
existence of ORG ID from the user and instead read it from the worker's
configuration, specifically `/etc/osbuild-worker/token`.

The original implementations of the functions mentioned above are now
available under `access_token_with_org_id` and
`compose_status_with_org_id` names.

Modify the `multi-tenancy.sh` to use the new function names.
2022-08-04 11:55:43 +02:00
..
aws.sh koji.sh: support testing of upload to the cloud 2022-07-22 11:39:49 +01:00
common.sh test: add functions variant usable with JWT without providing ORG ID 2022-08-04 11:55:43 +02:00
s3.sh tag created vmare VMs 2022-07-16 19:13:09 +02:00