Skip to content

Fix release job #2851

@vilmibm

Description

@vilmibm

Our release job is broken because we upgraded to Ubuntu 20.04 which drops support for a package we
rely on to complete a release called createrepo.

As far as I can tell, createrepo was dropped because it's abandonware and stuck on Python 2, which
has been EOL'd. I can get it to run from source by installing python2.7 but it further depends on
the package python-rpm which has also been dropped from this version of Ubuntu.

Ideally we wouldn't just drop support for rpm based distros in our packaging, but I think we might
need to at least temporarily do that while we figure out a fix for this.

There are a few choices:

  • get createrepo running from source in our release workflow. This is the path I've started down
    and currently need to get an old version of python-rpm installed via source to continue.
  • run createrepo via a container that runs an old version of Ubuntu. This is reasonable but I hate
    working with docker and am unsure what gotchas there are about running docker in Actions.
  • drop support for rpm package repositories (we'd still package RPMs, just not put them in
    repositories)
  • try and run the release (or at least this part of the release) on an older version of Ubuntu. I'm not sure how feasible that is or how much runway it gets us.

I'm going to keep working on the first option but am open to suggestion/discussion.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpackagingpriority-1Affects a large population and inhibits work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions