Skip to content

Automate Katello gem releases #485

@ekohl

Description

@ekohl

For tagging we have tag_{project,push} helper scripts. 457f7f5 intended to make it work, but looks like the process is different enough because Katello submits a PR before and assumes the commit is already made where Foreman has the script make that commit.

Once we resolve that, you should be able to copy the exact same instructions as Foreman:

- Tag the projects
- [ ] Create tags using <%= rel_eng_script('tag_project') %>
- [ ] Push tags using <%= rel_eng_script('tag_push') %>

Then the steps to generate the .mo files and call gem build etc would be equivalent to Foreman's release_tarballs step (since the tarballs are the release artifacts for Foreman). That should be kept in for now.

We can also automate gem releases. We already have that for other plugins after a tag is pushed. See https://community.theforeman.org/t/use-trusted-publishers-to-release-gems/42009 for how we've done that. Only exception is that the .mo file building isn't part of it, but we can move that to RPM packaging instead.

Having said all of that: it would rely on updating the settings to match. Right now the version isn't updated since RC1:

FULLVERSION='4.16.0-rc1'

I'd prefer to capture this in an issue upstream and if you want you can point a JIRA issue at it. Thoughts?

Originally posted by @ekohl in #472 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions