Mike Kruskal
be99767a69
Clear repository cache between bazel runs
...
PiperOrigin-RevId: 632621361
7 months ago
Mike Kruskal
b28d9d4144
Migrate bazel tests to protobuf-ci.
...
This will allow them to reuse our bazelrc and remote caching setup. This also silences the non-bzlmod windows test that's hitting the windows path length.
PiperOrigin-RevId: 626390416
7 months ago
Mike Kruskal
119e71c40a
Run C# tests with non-Bazel protobuf-ci actions.
...
The Bazel action currently isn't setup to regenerate the proto gencode itself, meaning that it won't actually be running on changes in the pending PR. Long-term, we should migrate this back to Bazel after enabling proto codegen properly.
PiperOrigin-RevId: 611238217
9 months ago
Mike Kruskal
92513fa853
Upgrade setup-dotnet action to hopefully improve network flakes.
...
PiperOrigin-RevId: 572595942
1 year ago
Mike Kruskal
4ce04206fc
Update our tests to use a custom checkout action.
...
This will retry up to 3 times if we hit networks flakes updating our submodules. It will also allow us to easily inject other stability fixes to this step in the future.
PiperOrigin-RevId: 568306356
1 year ago
Mike Kruskal
fff4905588
Drop support for Bazel 5.
...
This moves all our CI to Bazel 6 and drops the additional parameterization we had on Bazel version.
PiperOrigin-RevId: 551986376
1 year ago
Mike Kruskal
a80daa2a2c
Drop support for Bazel 5.
...
This moves all our CI to Bazel 6 and drops the additional parameterization we had on Bazel version.
PiperOrigin-RevId: 551986376
1 year ago
Joyce
010fde9a18
Set top level permissions to read only on GitHub Workflows ( #12971 )
...
Hi, here is Joyce from Google again.
I'd like starting suggesting the [Token-Permission check](https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions ) fix.
Let me know if I might be missing any permission. Thanks!
### Security Reason
This is needed because, by default, github grants write-all permission to all workflows, which could be exploit by an attacker in case of a compromised workflow. Limiting permissions is a simple and effective way to also limit the impact of an eventual compromised workflow.
Thus, it is both a recommendation from [OpenSSF Scorecard](https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions ) and the [Github](https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions ) to always use credentials that are minimally scoped.
Closes #12971
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12971 from joycebrum:main 6d6dac5678
PiperOrigin-RevId: 537973051
2 years ago
Mike Kruskal
0b73dd44a3
Add -ex switch to all docker bash commands. ( #12601 )
...
Without this, certain failures will be silently ignored.
PiperOrigin-RevId: 527718574
2 years ago
Mike Kruskal
f6c7fdf88c
Add -ex switch to all docker bash commands.
...
Without this, certain failures will be silently ignored.
PiperOrigin-RevId: 527718574
2 years ago
Romfos
09f094c811
[dotnet, csharp] Run tests for supported platforms .NET 6, .NET Framework 4.6.2 ( #12378 )
...
What's changed?
- Update some nuget packages (for test projects)
- Run unit tests for supported platforms: .NET 6 + .NET Framework 4.6.2
Notes:
.NET Framework 4.6.1 is out of support, .NET Framework 4.6.2 is the older version that is still supported
https://devblogs.microsoft.com/dotnet/net-framework-4-5-2-4-6-4-6-1-will-reach-end-of-support-on-april-26-2022/
.NET 5 is out of support
https://devblogs.microsoft.com/dotnet/dotnet-5-end-of-support-update/
.NET Core 3.1 is out of support
https://devblogs.microsoft.com/dotnet/net-core-3-1-will-reach-end-of-support-on-december-13-2022/
Visual studio 2012 is out of support
https://devblogs.microsoft.com/visualstudio/support-ends-for-older-versions-of-visual-studio-feb2022
Closes #12378
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12378 from Romfos:main 227661e02c
PiperOrigin-RevId: 523196896
2 years ago
Mike Kruskal
8ad6cdd007
Modify release artifacts for protoc to statically link system libraries.
...
Closes #12063
PiperOrigin-RevId: 513034570
2 years ago
Mike Kruskal
723bd4c3c1
Modify release artifacts for protoc to statically link system libraries.
...
Closes #12063
PiperOrigin-RevId: 513034570
2 years ago
Mike Kruskal
ef8ebe6c19
Migrate our shared github actions to a separate repository.
...
This will make PRs from forked repositories significantly less painful, since they'll agree on which version of each action to use. OTOH, we'll have a separate repo that needs to be maintained, and changes to it will need to be coordinated and versioned carefully. This will likely need to be done less often though now that our infrastructure is stable.
PiperOrigin-RevId: 512117705
2 years ago
Mike Kruskal
9104075c10
Migrate remaining cross-architecture tests to GHA
...
PiperOrigin-RevId: 506995031
2 years ago
Mike Kruskal
27f4ecd9e5
Migrate Java and C# Linux tests to GHA
...
PiperOrigin-RevId: 506782714
2 years ago
Mike Kruskal
f1e746c491
Migrate remaining Windows tests to GHA
...
PiperOrigin-RevId: 506766851
2 years ago