- Python 99.7%
- Dockerfile 0.3%
|
Some checks failed
/ test (push) Failing after 23s
Somewhat recently, Azure images started failing to upload, crashing when calling azure_compute_client.gallery_images.begin_create_or_update with a server-side error of "HttpResponseError: (InvalidParameter) Required parameter 'galleryImageVersionName' is missing (null)." It _seems_ like it no longer allows updating a gallery image (even if there are no actual updates happening, it just declares it as it always was) with features that don't include a version within that gallery where the feature is first enabled. Signed-off-by: Jeremy Cline <jeremycline@microsoft.com> |
||
|---|---|---|
| .forgejo/workflows | ||
| fedora-image-tester | ||
| fedora-image-uploader | ||
| fedora-image-uploader-messages | ||
| .gitignore | ||
| Containerfile | ||
| Containerfile.fit | ||
| fedora-messaging-fit.toml.example | ||
| fedora-messaging.toml.example | ||
| LICENSE | ||
| README.md | ||
cloud-image-uploader
An AMQP consumer that automatically uploads Cloud and container images to their respective homes.
Configuring
The fedora-messaging service is the container entrypoint and is also used to provide most of the configuration. An example configuration file is included and the full list of options are in fedora-messaging's configuration documentation. The FEDORA_MESSAGING_CONF environment variable should be set to the configuration file's location.
In addition to fedora-messaging, the Azure Ansible collection needs Azure credentials provided. It supports using environment variables, a credentials file at ~/.azure/credentials or the azure-cli credentials. For example, to authenticate via environment variables using an app registration in the Microsoft Entra ID service with a client secret, setting the AZURE_TENANT, AZURE_CLIENT_ID, and AZURE_SECRET along with the AZURE_SUBSCRIPTION_ID will be picked up by the Ansible playbook. The app registration needs to be configured in the given subscription's access control settings.
Container image upload to registries uses the skopeo and buildah commands, so for this to work, the system must be in a state such that these commands have the necessary credentials to upload to the registries configured, non-interactively. If no container registries are configured, container images will not be handled.