Skip to content

Commit b01b7a7

Browse files
authored
Merge pull request #121 from voxpupuli/onceover-docs
docs: add more hints for using onceover
2 parents 2e6aab7 + e7e01d1 commit b01b7a7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,36 @@ podman run -it --rm -v $PWD:/repo:Z --entrypoint onceover ghcr.io/voxpupuli/voxb
202202

203203
Onceover allows you to run tests against your control-repository.
204204

205+
Initialize onceover:
206+
207+
```shell
208+
podman run -it --rm -v $PWD:/repo:Z --entrypoint onceover ghcr.io/voxpupuli/voxbox:latest init
209+
```
210+
205211
Running spec tests:
206212

207213
```shell
208214
podman run -it --rm -v $PWD:/repo:Z --entrypoint onceover ghcr.io/voxpupuli/voxbox:8 run spec
209215
```
210216

217+
Running spec test with internal git+ssh modules in Puppetfile:
218+
219+
```shell
220+
podman run -it --rm \
221+
-v ~/.ssh:/root/.ssh:Z \
222+
-v $PWD:/repo:Z \
223+
--entrypoint onceover ghcr.io/voxpupuli/voxbox:latest run spec
224+
```
225+
226+
Running spec tests with puppet output:
227+
228+
```shell
229+
podman run -it --rm \
230+
-v $PWD:/repo:Z \
231+
-e SHOW_PUPPET_OUTPUT=true \
232+
--entrypoint onceover ghcr.io/voxpupuli/voxbox:latest run spec
233+
```
234+
211235
Other commands are:
212236

213237
| Command | What it does |

0 commit comments

Comments
 (0)