From 6b94605786d3fc7314e101ba745ae07dd16f52c5 Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Thu, 11 Jan 2024 10:02:08 +0100 Subject: [PATCH] behave: Update README.md --- behave/README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/behave/README.md b/behave/README.md index a2ea25b4..5cc4bc43 100644 --- a/behave/README.md +++ b/behave/README.md @@ -14,7 +14,6 @@ $ dnf install osc podman python3-behave Build a container with OBS -------------------------- - ``` $ cd behave @@ -25,16 +24,29 @@ $ podman pull opensuse/leap:15.5 $ ./container-build.sh [--no-cache] ``` -We can also use the built container outside the test suite +Use a prebuilt container with OBS +--------------------------------- +``` +$ cd behave +$ ./container-pull.sh +``` + +Use the container +----------------- ``` $ cd behave # run 'obs-server' container on port 1443 +# running this command again replaces the current container with a fresh one $ ./container-run.sh # shell into the started container $ ./container-shell.sh +``` +Cleanup +------- +``` # stop the started container $ podman stop|kill obs-server @@ -63,6 +75,11 @@ $ cd behave behave -Dosc=../osc-wrapper.py --wip -k ``` +Run osc commands +---------------- +``` +osc -A https://localhost:1443 ... +``` Filesystem layout -----------------