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

actions: run build-gluon for all master* branches #2997

Conversation

herbetom
Copy link
Contributor

This means the build-gluon workflow will also run automatically for master-updates branches.

This allows getting a workflow run inside the own fork on GitHub without having to patch this, opening a PR towards the own Repo or the upstream repo and eating into the limited concurrent worker limit there.

This means the build-gluon workflow will also run automatically for
master-updates branches.

This allows getting a workflow run inside the own fork on GitHub
without having to patch this, opening a PR towards the own Repo
or the upstream repo and eating into the limited concurrent worker
limit there.
@neocturne
Copy link
Member

In my opinion, matching on temporary branch names is a bit too arbitrary.

@blocktrron
Copy link
Member

I second @neocturne in this case.

For build-testing on all targets, using manually triggered workflows sound like the saner approach - see https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow

Copy link
Member

@skorpy2009 skorpy2009 left a comment

Choose a reason for hiding this comment

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

👎 I think using manually triggered workflows is the way to go.

@herbetom
Copy link
Contributor Author

While i agree that it's not a clean solution, i also think that the extra step to trigger an workflow is an unneceary burden and i don't really see a diffrence to next* and v20*. We could of course also just run it for every branch.

@blocktrron
Copy link
Member

@herbetom Please keep the intention of these patterns in mind. v20* denotes all release branches, actually we can reduce the scope of these (Will open a PR). For next, I'm actually not sure why we allow arbitrary suffixes. I'll also fix that.

blocktrron added a commit to blocktrron/gluon that referenced this pull request Oct 19, 2023
In freifunk-gluon#2997 it was pointed out the current branch-trigger matches more
branches than the release-branches. Retrict the match-pattern to only
cover release-branches

Also only trigger builds on the next-branch and not branches prefixed
with this name.

Link: freifunk-gluon#2997 (comment)

Signed-off-by: David Bauer <[email protected]>
@blocktrron
Copy link
Member

I've just remembered why the next-branch also matches on prefixed branches - THis was to support building of next-release branches.

Possibly, we were not yet as experienced with working with actions - This change could have been done in the next branch itself.

Possibly we could also remove the match on next from the master-branch itself. For the release branches, I see sense in keeping the pattern, as we will keep forking them from master in the future.

@neocturne
Copy link
Member

I don't think we should include wildcards at all. We often have temporary branches that happen to match on the v20* pattern.

@blocktrron
Copy link
Member

Closed by #3030

@blocktrron blocktrron closed this Oct 21, 2023
herbetom pushed a commit to herbetom/gluon that referenced this pull request Mar 17, 2024
In freifunk-gluon#2997 it was pointed out the current branch-trigger matches more
branches than the release-branches. Retrict the match-pattern to only
cover release-branches

Also only trigger builds on the next-branch and not branches prefixed
with this name.

Link: freifunk-gluon#2997 (comment)

Signed-off-by: David Bauer <[email protected]>
(cherry picked from commit b590487)
Signed-off-by: Tom Herbers <[email protected]>
hafu pushed a commit to Freifunk-Potsdam/gluon that referenced this pull request Jun 2, 2024
In freifunk-gluon#2997 it was pointed out the current branch-trigger matches more
branches than the release-branches. Retrict the match-pattern to only
cover release-branches

Also only trigger builds on the next-branch and not branches prefixed
with this name.

Link: freifunk-gluon#2997 (comment)

Signed-off-by: David Bauer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants