Attention is currently required from: pespin.
1 comment:
File _testenv/testenv/podman.py:
Patch Set #1, Line 60: logging.debug("Building anyway since --force was used")
oh, so there's already a cmdline param for that? then this commit is just adding yet another way to […]
The `--force` parameter does something different, it allows force-rebuilding the image with `./testenv.py init podman` even if we detected that the image should be up-to-date.
The environment variable will automatically rebuild the image if we detect it is outdated during `./testenv.py run ...`.
```
./testenv.py init podman
[testenv] + ['podman', 'image', 'exists', 'debian-bookworm-osmo-ttcn3-testenv']
[testenv] + ['podman', 'history', 'debian-bookworm-osmo-ttcn3-testenv', '--format', 'json']
[testenv] Image creation date: 2024-08-21 14:02:19
[testenv] Dockerfile last modified: 2024-08-21 14:01:23
[testenv] Podman image is up-to-date: debian-bookworm-osmo-ttcn3-testenv
```
```
./testenv.py init podman --force
[testenv] + ['podman', 'image', 'exists', 'debian-bookworm-osmo-ttcn3-testenv']
[testenv] + ['podman', 'history', 'debian-bookworm-osmo-ttcn3-testenv', '--format', 'json']
[testenv] Image creation date: 2024-08-21 14:02:19
[testenv] Dockerfile last modified: 2024-08-21 14:01:23
[testenv] Podman image is up-to-date: debian-bookworm-osmo-ttcn3-testenv
[testenv] Building anyway since --force was used
[testenv] Building podman image: debian-bookworm-osmo-ttcn3-testenv
[testenv] + ['buildah', 'build', '--build-arg', 'DISTRO=debian:bookworm', '-t', 'debian-bookworm-osmo-ttcn3-testenv', '/home/user/code/osmo-dev/src/osmo-ttcn3-hacks/_testenv/data/podman']
```
To view, visit change 37887. To unsubscribe, or for help writing mail filters, visit settings.