-
Notifications
You must be signed in to change notification settings - Fork 7
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
patch: .github/workflows #47
Labels
Comments
Actually, when cherry-picking this, don't. Instead just tar up the old directory and re-add it to the new tree. Otherwise don't forget any other edits to it, e.g. 954407f. |
bradfitz
pushed a commit
that referenced
this issue
Apr 18, 2023
We started emitting this segment in 2012 in CL 6326054 for #47. It disabled three kinds of protection: mprotect, randexec, and emutramp. The randexec protection was deprecated some time ago, replaced by PIE. The emutramp and mprotect protection was because we used to rely on being able to create writable executable memory to implement function closures, but that is not true since https://go.dev/s/go11func was implemented. Change-Id: I5e3a5279d76d642b0423d26195b891479a235763 Reviewed-on: https://go-review.googlesource.com/c/go/+/471199 Run-TryBot: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Cherry Mui <[email protected]>
mpminardi
added a commit
that referenced
this issue
Jan 7, 2025
Use `ubuntu-24.04` instead of `20.04` as the latter is EOL in May 2025. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
mpminardi
added a commit
that referenced
this issue
Jan 29, 2025
Use `ubuntu-24.04` instead of `20.04` as the latter is EOL in May 2025. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
mpminardi
added a commit
that referenced
this issue
Jan 29, 2025
Change to use `action-gh-release` instead of `upload-release-asset` as the repo for `upload-release-asset` is in public archive and recommends swapping over to `action-gh-release`. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
mpminardi
added a commit
that referenced
this issue
Jan 29, 2025
Change to use `action-gh-release` instead of `upload-release-asset` as the repo for `upload-release-asset` is in public archive and recommends swapping over to `action-gh-release`. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
mpminardi
added a commit
that referenced
this issue
Jan 29, 2025
Change to use `action-gh-release` instead of the `create-release` and `upload-release-asset` actions as the repos for these actions are in public archive and recommend swapping over to `action-gh-release`. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
Example updating ts1.24 from the old go1.24 gitbub files:
|
bradfitz
added a commit
that referenced
this issue
Feb 13, 2025
Signed-off-by: Brad Fitzpatrick <[email protected]>
bradfitz
added a commit
that referenced
this issue
Feb 13, 2025
Signed-off-by: Brad Fitzpatrick <[email protected]>
mpminardi
added a commit
that referenced
this issue
Feb 26, 2025
Remove pruning of old builds to ensure that we can use `tool/go` in our repos with for older revisions when `TS_USE_TOOLCHAIN` is enabled. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
bradfitz
pushed a commit
that referenced
this issue
Feb 26, 2025
Use `ubuntu-24.04` instead of `20.04` as the latter is EOL in May 2025. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
mpminardi
added a commit
that referenced
this issue
Feb 26, 2025
Remove pruning of old builds to ensure that we can use `tool/go` in our repos with for older revisions when `TS_USE_TOOLCHAIN` is enabled. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
mpminardi
added a commit
that referenced
this issue
Feb 27, 2025
Add `skipTests` option to build.yml to allow for skipping tests in extraordinary circumstances. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
mpminardi
added a commit
that referenced
this issue
Feb 27, 2025
Add `skipTests` option to build.yml to allow for skipping tests in extraordinary circumstances. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
mpminardi
added a commit
that referenced
this issue
Feb 27, 2025
Add logic to ensure that `create_release` is run if we are intentionally skipping tests. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
mpminardi
added a commit
that referenced
this issue
Feb 27, 2025
It seems like using the `always()` hack in an upstream `needs` dependency may force downstream jobs to also use `always()`, presumably because GitHub is doing transitive dependency checking upstream and sees that the original `test` job was skipped. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
mpminardi
added a commit
that referenced
this issue
Feb 27, 2025
Add `always()` logic to `upload_release` job as it seems like using the `always()` hack in an upstream `needs` dependency may force downstream jobs to also use `always()`, presumably because GitHub is doing transitive dependency checking upstream and sees that the original `test` job was skipped. Pass explicit `commitsh` argument to the `create-release` action to ensure the resulting tag / release is tied to the intended SHA and not the branch the job was triggered from. As an example, before this change triggering the workflow from the `tailscale.go1.24` branch would always result in the tag being added to the head of `tailscale.go1.24` instead of at the `ref` that the release was actually built from. Updates #47 Signed-off-by: Mario Minardi <[email protected]>
mpminardi
added a commit
that referenced
this issue
Mar 4, 2025
Use a GitHub application token for create-release to give it the necessary permissions to do historical releases. Updates #47 Updates tailscale/corp#26875 Signed-off-by: Mario Minardi <[email protected]>
mpminardi
added a commit
that referenced
this issue
Mar 5, 2025
Embed the commit SHA that we have checked out instead of `github.sha` into `mod.go` at build time as `github.sha` will point to the incorrect commit when running as a workflow_dispatch with `ref` specified. Updates #47 Updates tailscale/corp#26875 Signed-off-by: Mario Minardi <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary: add the
.github/workflows
directory for TailscaleUpstream status: not applicable. Forever forked.
Example prior commit: 4865b81
When cherry-picking that commit, be sure to add additional tailscale.go1.NN branches to build.yml as needed.
The text was updated successfully, but these errors were encountered: