debian-forge-composer/tools
Tomas Hozza 02ad5a3199 test: Fix installation of osbuild-worker.toml in provision.sh
The tools/provision.sh script is sourced by all test cases and it sets
up the system and software for running test cases. As part of the setup,
it copied over the whole content of test/data/composer/ to
/etc/osbuild-composer. However the source directory contains not only
osbuild-composer's configuration, but also configuration for the worker.
The worker however expects its configuration in /etc/osbuild-worker.

The fact that provision.sh does not copy the worker configuration to the
correct directory didn't affect the CI, because the only test case that
relied on it is koji.sh, which copies the worker configuration
explicitly.

Move osbuild-worker test configuration to a separate 'test/data/worker/'
subdirectory. Also install the osbuild-worker test configuration to its
own subdirectory in the "-test" RPM.

Move the copying of worker configuration to the correct destination
directory from koji.sh to provision.sh, so that all test cases can rely
on the system being set up properly. Do not use wildcard for copying
osbuild-{composer,worker} configuration files, but explicitly copy each
file to its respective destination directory.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-02-25 18:44:21 +00:00
..
deploy tools: Add script to generate all test cases in VMs 2021-02-01 10:22:28 +01:00
test-case-generators tools: test cases for alt kernel selection 2021-02-16 13:51:26 +00:00
clouddot_build_deploy.sh tools: add delpoy script for clouddot 2020-12-22 15:27:39 +01:00
deploy-openstack tools: add deploy-openstack 2020-10-20 15:43:30 +02:00
deploy-qemu tools: Fix checking of args number in deploy-qemu 2021-01-11 10:33:51 +01:00
gen-certs.sh tools: Add internal container names to certs 2021-01-30 13:20:11 +00:00
gen-user-data tools/gen-user-data: don't depend on python3-pyyaml 2020-11-24 13:08:44 +01:00
image-info distro: Disable RHSM DNF plugins on RHEL qcow2 images 2021-02-11 11:10:47 +01:00
koji-compose.py kojiapi: support multi-build composes 2020-11-11 18:16:42 +01:00
libvirt_test.sh tests: move the libvirt test logic out of Jenkinsfile 2020-12-02 08:44:33 +01:00
prepare-source.sh go: bump to 1.14 2021-02-01 15:32:58 +01:00
provision.sh test: Fix installation of osbuild-worker.toml in provision.sh 2021-02-25 18:44:21 +00:00
run-koji-container.sh tools: move to new utility-container builds 2021-02-23 09:47:17 +01:00