-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build-Push: Install pip and wait-for-copr #292
Conversation
28a1feb
to
e6e99fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
oh, you need to |
e6e99fa
to
7f18918
Compare
done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooooo, spotted a problem (glad I looked at the build log):
build-push:
WARNING: The script wait-for-copr is installed in '/home/packer/.local/bin' which is not on PATH.
build-push: Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
I think maybe stick a $SUDO
in front of the pip3
and that should stick it somewhere more generally usable?
oh, and you'll want to rebase since I just merged a PR. |
7f18918
to
421eef5
Compare
Cirrus CI build successful. Found built image names and IDs:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Maybe try this out in your podman PR, then if the image is okay, just go ahead and merge this.
One (maybe) minor thing of note (in case anybody goes hunting through PRs), I don't remember seeing this before (I could be mistaken):
build-push:
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
build-push:
Alias= settings in the [Install] section, and DefaultInstance= for template
build-push:
units). This means they are not meant to be enabled or disabled using systemctl.
build-push:
build-push:
Possible reasons for having this kind of units are:
build-push:
• A unit may be statically enabled by being symlinked from another unit's
build-push:
.wants/ or .requires/ directory.
build-push:
• A unit's purpose may be to act as a helper for some other unit which has
build-push:
a requirement dependency on it.
build-push:
• A unit may be started when needed via activation (socket, path, timer,
build-push:
D-Bus, udev, scripted systemctl call, ...).
build-push:
• In case of template units, the unit is meant to be enabled with some
build-push:
instance name specified.
421eef5
to
265f70e
Compare
Oof, need one more rebase. |
Clarification: Rebase + run |
Podman-Desktop team would like fcos images built with packages from rhcontainerbot/podman-next for MacOS testing with the latest unreleased bits. Ref: containers/podman#19448 This commit installs pip and wait-for-copr in the build-push images. wait-for-copr, as the name suggests, waits for a build with a specified string to become available on a copr repo. Ref: https://github.com/packit/wait-for-copr Signed-off-by: Lokesh Mandvekar <[email protected]>
265f70e
to
de41aa6
Compare
Commit moved into #294 |
Podman-Desktop team would like fcos images built with packages from rhcontainerbot/podman-next for MacOS testing with the latest unreleased bits.
Ref: containers/podman#19477
This commit installs pip and wait-for-copr in the build-push images. wait-for-copr, as the name suggests, waits for a build with a specified string to become available on a copr repo.
Ref: https://github.com/packit/wait-for-copr