schutzbot: start also the remote socket

The following commits will add testing of authentication on this socket.

This commit also sets up the config for composer other it won't start
with remote socket enabled.
This commit is contained in:
Ondřej Budai 2020-09-23 08:43:26 +02:00 committed by Tom Gundersen
parent e296a3dea7
commit 28aff2259a
2 changed files with 8 additions and 4 deletions

View file

@ -76,11 +76,18 @@ if [[ -f "rhel-8-beta.json" ]]; then
sudo cp rhel-8-beta.json /etc/osbuild-composer/repositories/
fi
greenprint "Copying custom composer config"
# Remote worker needs this
sudo mkdir -p /etc/osbuild-composer
sudo cp test/image-tests/osbuild-composer.toml \
/etc/osbuild-composer/
greenprint "Generating SSL certificates"
sudo make composer-key-pair
sudo make worker-key-pair
greenprint "Starting services"
sudo systemctl enable --now osbuild-remote-worker.socket
sudo systemctl enable --now osbuild-composer.socket
sudo systemctl enable --now osbuild-composer-koji.socket