stages/cloud-init: add new stage for configuring cloud-init

Add new `org.osbuild.cloud-init` stage, which currently allows to create
configuration files for cloud-init under `/etc/cloud/cloud.cfg.d`. The
stage supports only a very limited subset of cloud-init configuration
options, which is covering needs of RHEL AMI images.

The schema mandates that if the 'configuration_files' option is
specified, then at least one configuration file must be defined. In
addition each section of the configuration must contain at least one
property (section or configuration option).

Add `python3-pyyaml` package to the `F34-build` testing manifest,
because it is required for running and testing the new stage.
Regenerate all affected manifests.

Add test for the new stage.

Update the `osbuild-ci` container image used for testing to a new tag,
which includes python3-pyyaml, the dependency of the new stage.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2021-06-23 14:01:42 +02:00 committed by Tomas Hozza
parent 751fd5cd28
commit e96366fb10
52 changed files with 1886 additions and 2 deletions

View file

@ -26,7 +26,7 @@ jobs:
- name: "Run Tests"
uses: osbuild/containers/src/actions/privdocker@e4de123f43b95e99dfe8eed0bd5a1cd58db50715
with:
image: ghcr.io/osbuild/osbuild-ci:latest-202102191311
image: ghcr.io/osbuild/osbuild-ci:latest-202106231345
run: |
python3 -m pytest \
--pyargs "${{ matrix.test }}" \