From 660f0f27005efa938c40953272bfeaa1984abe7c Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 28 Sep 2020 14:27:33 +0200 Subject: [PATCH] test: move run-koji-container.sh to test/ Move the run-koji-container.sh helper into the `test/` sub-directory. It is mainly needed for testing together with the other test scripts. --- HACKING.md | 4 ++-- test/integration.sh | 4 ++-- run-koji-container.sh => test/run-koji-container.sh | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename run-koji-container.sh => test/run-koji-container.sh (100%) diff --git a/HACKING.md b/HACKING.md index ff525a8..b90c725 100644 --- a/HACKING.md +++ b/HACKING.md @@ -47,7 +47,7 @@ and koji hub. This will also create the kerberos keytabs needed for the koji builder to authorize itself to koji hub. ```sh -sudo ./run-koji-container.sh start +sudo test/run-koji-container.sh start ``` Koji web will now be running at: http://localhost:8080/koji/ @@ -152,7 +152,7 @@ sudo podman exec -it org.osbuild.koji.kojid /bin/bash Stopping the container: ```sh -sudo ./run-koji-container.sh stop +sudo test/run-koji-container.sh stop ``` Cleanup of kerberos tickets: diff --git a/test/integration.sh b/test/integration.sh index 9ff569b..75a1749 100755 --- a/test/integration.sh +++ b/test/integration.sh @@ -47,7 +47,7 @@ sudo podman build -t koji.hub -f container/hub/Dockerfile.${ID} . sudo podman build -t koji.builder -f container/builder/Dockerfile.${ID} . greenprint "Starting containers" -sudo ./run-koji-container.sh start +sudo test/run-koji-container.sh start greenprint "Print logs" sudo podman logs org.osbuild.koji.koji @@ -71,7 +71,7 @@ greenprint "Stopping koji builder" sudo ./run-builder.sh stop greenprint "Stopping containers" -sudo ./run-koji-container.sh stop +sudo test/run-koji-container.sh stop greenprint "Removing generated CA cert" sudo rm \ diff --git a/run-koji-container.sh b/test/run-koji-container.sh similarity index 100% rename from run-koji-container.sh rename to test/run-koji-container.sh