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
remove unneeded jobs for rel/auth-4.9.x branch #13839
remove unneeded jobs for rel/auth-4.9.x branch #13839
Conversation
9d3dac5
to
ce145f5
Compare
Shouldn't this into the rel/auth-4.9.x branch and not into master? |
of course. Fixed :) |
Pull Request Test Coverage Report for Build 8278189299Details
💛 - Coveralls |
.github/workflows/build-tags.yml
Outdated
@@ -1,46 +0,0 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you want to keep this one? Or is the workflow from master used? (I never know that, I wish there was an easy way to tell).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure the one from master is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure that's true, as I remember backporting these files to get proper packages for existing branches. I tried to find a definitive answer in GitHub's documentation but while I think I'm right I cannot find a clear answer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also looked in the docs today and found a 'main branch' note on some other events. No clarity about this one. I'll put it the file back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on: push
is based on the current commit that's pushed
on: pull_request
is based on the merge of the base and head branches
on: pull_request_target
is based on the base branch
on: issue_comment
, on: schedule
and a couple of other odd ones are based on the default branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we need to keep our stable branches up-to-date as far as workflows are concerned, except for the last events, if I reading this right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, so the yml that picks up the push tag event needs to be on the right branch, but then we quickly invoke the actual building workflows from master, so it's not to obad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You definitely need to keep workflows current on any branches that you have, otherwise if there are security risks in them, you're at risk.
You can rely on:
on: workflow_dispatch
and have that take an input, and have your other workflows do an if: ...
to cause them not to do work on branches/tags if you're so inclined.
ce145f5
to
0c22018
Compare
I have redone this from scratch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could also remove tests for rec
and dnsdist
from this workflow, lines 59, 60, 147-247, and 261-268
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the matrix change makes that code dead code, and leaving the dead code in makes backporting patches easier, if we ever have to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing the code makes github actions output easier to read, though.. it's a bit of a coin flip. I'll remove it and we'll see if it ever gets in the way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha, I rebased on the github sysctl workaround and now I have a conflict (in build-and-test-all, though, but it does show the problem)
0c22018
to
bdffcb7
Compare
bdffcb7
to
e0d6009
Compare
Short description
Checklist
I have: