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

Build and publish teemtee images via github action #3599

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lukaszachy
Copy link
Collaborator

I've put it as a separate action triggered manually because I'm out of ideas how to trigger this automatically during the release process. Containers use copr @teemtee/stable to get the builds, and those have to exists at the time we are building the images.

Any ideas?

Pull Request Checklist

  • implement the feature
  • write the documentation

@lukaszachy
Copy link
Collaborator Author

I've tried in my fork for 'mini' (and my repo) and it seems to work https://github.com/lukaszachy/tmt/actions/runs/13834189789/job/38705231266

@lukaszachy
Copy link
Collaborator Author

Currently we do

* Once the non development `copr build`__ is completed, move the

With this PR that bullet will change to ~ Once non development [copr build](https://copr.fedorainfracloud.org/coprs/g/teemtee/stable/builds/) is completed trigger the <LINK THIS ACTION>

But ideally this action will be just mentioned in Handle manually what did not went well:

id: build-image-tmt
with:
image: tmt
tags: latest
Copy link
Collaborator

Choose a reason for hiding this comment

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

latest is already default. Just FTR, not saying it's wrong to have it here explicitly.

Copy link
Collaborator Author

@lukaszachy lukaszachy Mar 19, 2025

Choose a reason for hiding this comment

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

right you are, i'll drop it

Copy link
Collaborator

@martinhoyer martinhoyer left a comment

Choose a reason for hiding this comment

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

I was looking into the build&publish best practices and found nothing useful. The redhat-actions build and push actions seems to be not updated since about a year ago. Are people using tekton/konflux?

One idea - would using github image registry and "registry sync" action make sense?

@martinhoyer
Copy link
Collaborator

fwiw, I've been playing with the tmt images - bf73279 (#3605) Not exactly related, but maybe a little :)

@lukaszachy
Copy link
Collaborator Author

Are people using tekton/konflux?

That would be good for dogfooding purposes, but I don't think it is worth the setup hassle right now.

lukaszachy and others added 2 commits March 19, 2025 06:51
@martinhoyer
Copy link
Collaborator

Containers use copr @teemtee/stable to get the builds, and those have to exists at the time we are building the images.

Any ideas?

For now, I'd trigger them manually once the updates are in the Fedora repos and use those instead od copr. Also would be good to build aarch64.

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.

2 participants