koji: move run-koji-containers.sh to tools
Also install it is part of he tests subpackage. This a helper-tool, not golang code, so should not live in `internal`. We need access to this from the integration tests, so install it onto the tests system. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
32f66bb539
commit
555934e303
6 changed files with 9 additions and 6 deletions
|
|
@ -35,7 +35,7 @@ if [[ $ID == rhel ]]; then
|
|||
fi
|
||||
|
||||
greenprint "Starting containers"
|
||||
sudo ./internal/upload/koji/run-koji-container.sh start
|
||||
sudo /usr/libexec/osbuild-composer/run-koji-container.sh start
|
||||
|
||||
greenprint "Copying custom worker config"
|
||||
sudo mkdir -p /etc/osbuild-worker
|
||||
|
|
@ -77,7 +77,7 @@ koji --server=http://localhost:8080/kojihub taskinfo 1
|
|||
koji --server=http://localhost:8080/kojihub buildinfo 1
|
||||
|
||||
greenprint "Stopping containers"
|
||||
sudo ./internal/upload/koji/run-koji-container.sh stop
|
||||
sudo /usr/libexec/osbuild-composer/run-koji-container.sh stop
|
||||
|
||||
greenprint "Removing generated CA cert"
|
||||
sudo rm \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue