On Wed, Mar 22, 2023 at 10:13:10AM +0000, Daniel P. Berrangé wrote:
On Tue, Mar 21, 2023 at 09:05:12AM -0500, Eric Blake wrote:
>
> $ podman build -f ci/containers/alpine-edge.Dockerfile -t libnbd-alpine-edge
You usually shouldn't need this step when reproducing a problem
on CI. Instead just use the container that gitlab has published
under the project's registry
For any job eg
https://gitlab.com/nbdkit/libnbd/-/jobs/3973002673
you'll see at about line 7/8 in the log a line like
Using Docker executor with image
registry.gitlab.com/nbdkit/libnbd/ci-alpine-edge:latest
That image URL is accessible remotely on your local dev machine eg
podman run -it
registry.gitlab.com/nbdkit/libnbd/ci-alpine-edge:latest
You should only need to do 'podman build' if you're debugging a suspected
problem with the container image itself.
Useful to know; we should probably update ci/README.rst accordingly.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization:
qemu.org |
libvirt.org