containers / conmon-rs

An OCI container runtime monitor written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RPM Packaging

rphillips opened this issue · comments

What happened?

I received some tips for packaging conmon-rs RPMs from @cgwalters. Generally bootupd looks like a good example. The bootupd github releases contain a source tar and a vendor tar. The bootupd.spec uses both tarballs to generate the resulting rpm.

Starting points could be:

  • On conmon-rs tag, create a release with a vendor tarball and a source tarball using a GH action

What did you expect to happen?

None

How can we reproduce it (as minimally and precisely as possible)?

None

Anything else we need to know?

No response

conmon-rs version

NONE

$ conmonrs --version
# paste output here

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

Additional environment details (AWS, VirtualBox, physical, etc.)

Sounds good, would it make sense for us to generate the RPM for every commit?

The RPM generation can be done on https://src.fedoraproject.org/ or other build servers... I don't think we actually have to build the RPMs in this repo.

Tagged releases now upload the vendor and source payloads.

@lsm5 also added a copr build #602

I added a spec on pagure here https://pagure.io/conmon-rs to use the Releases.