Skip to content
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

Fix dnf update installing netavark/aardvark-dns #149

Merged
merged 2 commits into from
Jul 15, 2022

Conversation

cevich
Copy link
Member

@cevich cevich commented Jul 14, 2022

These packages should never be pre-installed in the CI images for
testing in the netavark & aardvark-dns repositories. Ensure they aren't
brought in by a package update in addition to the install.

Signed-off-by: Chris Evich [email protected]

@cevich
Copy link
Member Author

cevich commented Jul 14, 2022

@cevich cevich added no_ubuntu no_skopeo_cidev Don't build the skopeo_cidev image no_build-push Don't build the build-push image no_fedora_podman Don't build the fedora_podman image no_prior-fedora_podman Don't build the prior-fedora_podman image no_fedora-podman-py Don't build the fedora-podman-py image no_image-builder Don't build the image-builder image and removed no_ubuntu no_skopeo_cidev Don't build the skopeo_cidev image no_build-push Don't build the build-push image no_fedora_podman Don't build the fedora_podman image no_prior-fedora_podman Don't build the prior-fedora_podman image no_fedora-podman-py Don't build the fedora-podman-py image no_image-builder Don't build the image-builder image labels Jul 14, 2022
cevich added 2 commits July 14, 2022 16:08
The netavark & aardvark-dns binaries should _never_ be present in the
netavark CI images for testing.  However, the packages are needed to
ensure dependencies are properly handled.  Since CI runtime will take
care of installing or building the binaries, just remove the
on-disk files referenced by the packages.

Signed-off-by: Chris Evich <[email protected]>
@cevich
Copy link
Member Author

cevich commented Jul 14, 2022

force-push: Fixed permission-denied problem.

@github-actions
Copy link

Cirrus CI build successful. Image ID c5353795591864320 ready for use.

Copy link

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

flouthoc added a commit to flouthoc/netavark that referenced this pull request Jul 15, 2022
Try using VM image from containers/automation_images#149

Signed-off-by: Aditya R <[email protected]>
@flouthoc
Copy link

I see some failures in build_cross with this image: https://cirrus-ci.com/task/6066640541450240

@lsm5
Copy link
Member

lsm5 commented Jul 15, 2022

shouldn't we install packages from podman-next copr instead?

EDIT: s/pull/install.

@lsm5
Copy link
Member

lsm5 commented Jul 15, 2022

I'm thinking this:

  • Install netavark, aardvark, podman etc. from the podman-next COPR. Do not remove any files here.
  • In the aardvark CI env, rm /usr/libexec/podman/aardvark-dns
  • In the netavark CI env, rm /usr/libexec/podman/netavark

That way we can perhaps get rid of build_cross targets altogether and also not worry about curling zips or tarballs.

@lsm5
Copy link
Member

lsm5 commented Jul 15, 2022

hmm, installing packages here would mean the image would need to get built continuously to test with the latest commits merged upstream? Maybe any package installation from the copr should actually be done in the individual repos and not here?

@cevich
Copy link
Member Author

cevich commented Jul 15, 2022

Maybe any package installation from the copr should actually be done in the individual repos and not here?

Yes, and good on you for observing this. Yes, we want the stuff being tested to come from builds in the PR and/or be very recent builds from podman-next (for dependencies). Otherwise, for the basic environment stuff that doesn't need to be updated constantly, it should be pre-installed in the images.

@cevich
Copy link
Member Author

cevich commented Jul 15, 2022

Ugh, I need to go manually trudging through the tasks and pull out image Id's, need to update that bot. So looks like:

  • GCE image ID is c5353795591864320
  • fedora-aws is ami-09e5978f141900855
  • fedora-netavark-aws-arm64 is ami-00d7ccde5eaacc50e
  • fedora-podman-aws-arm64 is ami-02da46d8fa51e5316

@cevich cevich merged commit 7731369 into containers:main Jul 15, 2022
cevich added a commit to cevich/buildah that referenced this pull request Jul 15, 2022
cevich added a commit to cevich/buildah that referenced this pull request Jul 20, 2022
cevich added a commit to cevich/buildah that referenced this pull request Jul 20, 2022
cevich added a commit to cevich/buildah that referenced this pull request Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants