Skip to content

Commit

Permalink
behave: Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Jan 11, 2024
1 parent ec70575 commit fc818b7
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions behave/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ $ dnf install osc podman python3-behave

Build a container with OBS
--------------------------

```
$ cd behave
Expand All @@ -25,7 +24,15 @@ $ 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
Expand All @@ -34,7 +41,11 @@ $ ./container-run.sh
# shell into the started container
$ ./container-shell.sh
```

Cleanup
-------
```
# stop the started container
$ podman stop|kill obs-server
Expand Down Expand Up @@ -63,6 +74,11 @@ $ cd behave
behave -Dosc=../osc-wrapper.py --wip -k
```

Run osc commands
----------------
```
osc -A https://localhost:1443 ...
```

Filesystem layout
-----------------
Expand Down

0 comments on commit fc818b7

Please sign in to comment.