StepSecurity Bot
bff82e1968
[StepSecurity] ci: Harden GitHub Actions
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
2024-10-16 05:53:03 +00:00
Akihiro Suda
1db0064c6a
CI: install OVMF for Vagrant
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-10-12 05:19:09 +09:00
Akihiro Suda
4d02217b5e
CI: fix "Unable to find a source package for vagrant" error
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-10-12 05:19:08 +09:00
Akihiro Suda
38beeb359a
Revert "use vagrant from jammy in noble"
...
This reverts commit 1bfdccee09 .
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-10-12 05:19:08 +09:00
Akihiro Suda
e2daa20ed5
Revert "use older version of OVMF package"
...
This reverts commit c25183ff19 .
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-10-12 05:19:08 +09:00
Phil Estes
ee921689f7
Switch from actuated.dev to GH Action runners for arm64
...
Signed-off-by: Phil Estes <estesp@amazon.com >
2024-10-11 13:30:43 -04:00
Austin Vazquez
46f5a0d939
update to go1.23.2,go1.22.8
...
Signed-off-by: Austin Vazquez <macedonv@amazon.com >
2024-10-07 15:09:53 +00:00
Austin Vazquez
7b18098513
Update runner images to macOS13
...
This change upgrades the runner images in CI to macOS 13. macOS 12
runners are being deprecated.
See https://github.com/actions/runner-images/issues/10721 for more
information.
Signed-off-by: Austin Vazquez <macedonv@amazon.com >
2024-10-07 01:31:05 +00:00
lengrongfu
095131abf9
add use systemd cgroup e2e
...
Signed-off-by: lengrongfu <lenronfu@gmail.com >
Signed-off-by: rongfu.leng <lenronfu@gmail.com >
2024-10-03 00:37:29 +08:00
Sebastiaan van Stijn
9037069da8
update to go1.23.1, go1.22.7
...
- https://github.com/golang/go/issues?q=milestone%3AGo1.23.1+label%3ACherryPickApproved
- full diff: https://github.com/golang/go/compare/go1.23.0...go1.23.1
These minor releases include 3 security fixes following the security policy:
- go/parser: stack exhaustion in all Parse* functions
Calling any of the Parse functions on Go source code which contains
deeply nested literals can cause a panic due to stack exhaustion.
This is CVE-2024-34155 and Go issue https://go.dev/issue/69138 .
- encoding/gob: stack exhaustion in Decoder.Decode
Calling Decoder.Decode on a message which contains deeply nested
structures can cause a panic due to stack exhaustion.
This is a follow-up to CVE-2022-30635.
Thanks to Md Sakib Anwar of The Ohio State University for reporting
this issue.
This is CVE-2024-34156 and Go issue https://go.dev/issue/69139 .
- go/build/constraint: stack exhaustion in Parse
Calling Parse on a "// +build" build tag line with deeply nested
expressions can cause a panic due to stack exhaustion.
This is CVE-2024-34158 and Go issue https://go.dev/issue/69141 .
View the release notes for more information:
https://go.dev/doc/devel/release#go1.23.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-09-06 16:12:28 +02:00
Akhil Mohan
20ee6de0b5
update golangci-lint to v1.60.1
...
Signed-off-by: Akhil Mohan <akhilerm@gmail.com >
2024-08-14 12:40:37 +05:30
Akhil Mohan
fb8cd045b8
add go1.23.0
...
Signed-off-by: Akhil Mohan <akhilerm@gmail.com >
2024-08-14 12:30:37 +05:30
Sebastiaan van Stijn
a100b055cb
update to go1.22.6
...
- https://github.com/golang/go/issues?q=milestone%3AGo1.22.6+label%3ACherryPickApproved
- full diff: https://github.com/golang/go/compare/go1.22.5...go1.22.6
go1.22.6 (released 2024-08-06) includes fixes to the go command, the compiler,
the linker, the trace command, the covdata command, and the bytes, go/types,
and os/exec packages. See the Go 1.22.6 milestone on our issue tracker for
details.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-08-09 17:02:18 +02:00
Akihiro Suda
cbb2fc78e9
Merge pull request #10436 from AkihiroSuda/fedora-40
...
CI: update Fedora to 40
2024-07-07 11:15:11 +00:00
Akihiro Suda
51f34ff491
CI: update Fedora to 40
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-07-04 23:50:35 +09:00
Akhil Mohan
56495b404d
update go version to 1.22.5
...
Signed-off-by: Akhil Mohan <akhilerm@gmail.com >
2024-07-03 11:55:48 +05:30
Akhil Mohan
c25183ff19
use older version of OVMF package
...
use ovmf 2022.02-3ubuntu0.22.04.2 so that the OVMF_CODE.fd which vagrant
looks for is still available
Signed-off-by: Akhil Mohan <akhilerm@gmail.com >
2024-06-19 22:28:03 +05:30
Akhil Mohan
1bfdccee09
use vagrant from jammy in noble
...
Signed-off-by: Akhil Mohan <akhilerm@gmail.com >
2024-06-19 02:26:02 +05:30
Akhil Mohan
769e0c8c16
add debian sources for ubuntu-24
...
Signed-off-by: Akhil Mohan <akhilerm@gmail.com >
2024-06-19 00:07:28 +05:30
Akhil Mohan
027414ee50
enable ubuntu 24 runners
...
Signed-off-by: Akhil Mohan <akhilerm@gmail.com >
2024-06-19 00:07:27 +05:30
Kohei Tokunaga
939135ae36
CI: golangci-lint v1.59.1
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com >
2024-06-11 20:17:35 +09:00
Akihiro Suda
08c1e12e9b
CI: add back EL 8
...
Add back EL 8 to test legacy compatibility
Follow-up to PR 10297
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-06-08 19:50:39 +09:00
Derek McGowan
1c123efb41
Update Go version to 1.22.4
...
Includes fix for a symlink race on remove.
Updates 1.21 to 1.21.11 for runc install which also includes the
symlink fix.
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-06-04 15:46:09 -07:00
Derek McGowan
e1e793e4ab
Update rockylinux vagrant build
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-06-04 14:38:12 -07:00
dependabot[bot]
8b2a69c19a
build(deps): bump golangci/golangci-lint-action from 5 to 6
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-13 23:54:52 +00:00
Austin Vazquez
25c2f690a8
Update toolchain to Go 1.22.3
...
Go 1.22.3 release includes bug fixes for the core net/http package.
Full release notes: https://go.dev/doc/devel/release#go1.22.minor
Signed-off-by: Austin Vazquez <macedonv@amazon.com >
2024-05-10 15:49:18 +00:00
Maksym Pavlenko
9a9a8c46a6
Don't require vagrant tests in merge queues
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
2024-05-08 15:41:41 -07:00
Kohei Tokunaga
41dc94ee17
CI: bump up golangci-lint to v1.58.0
...
This also fixes the following warnings:
```
WARN [config_reader] The configuration option `run.skip-dirs` is deprecated, please use `issues.exclude-dirs`.
WARN [lintersdb] The name "vet" is deprecated. The linter has been renamed to: govet.
```
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com >
2024-05-08 12:09:30 +09:00
Wei Fu
3b065cdddb
CI: skip test in arm64 CI
...
Co-authored-by: Wei Fu <fuweid89@gmail.com >
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-05-07 21:24:28 +09:00
Akhil Mohan
13f2fa1de1
remove go1.21.9 from CI matrix
...
since go.mod got updated to go1.22, 1.22 is the minimum version to build
containerd. even if 1.21.9 is the version present on the host, go
command will build using 1.22.0 go version.
Signed-off-by: Akhil Mohan <akhilerm@gmail.com >
2024-05-06 16:00:41 +05:30
dependabot[bot]
6df759e243
build(deps): bump golangci/golangci-lint-action from 4 to 5
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 4 to 5.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-29 23:19:10 +00:00
Sebastiaan van Stijn
13e6b2b686
update to go1.21.9, go1.22.2
...
go1.21.9 (released 2024-04-03) includes a security fix to the net/http
package, as well as bug fixes to the linker, and the go/types and
net/http packages. See the Go 1.21.9 milestone for more details;
https://github.com/golang/go/issues?q=milestone%3AGo1.21.9+label%3ACherryPickApproved
These minor releases include 1 security fixes following the security policy:
- http2: close connections when receiving too many headers
Maintaining HPACK state requires that we parse and process all HEADERS
and CONTINUATION frames on a connection. When a request's headers exceed
MaxHeaderBytes, we don't allocate memory to store the excess headers but
we do parse them. This permits an attacker to cause an HTTP/2 endpoint
to read arbitrary amounts of header data, all associated with a request
which is going to be rejected. These headers can include Huffman-encoded
data which is significantly more expensive for the receiver to decode
than for an attacker to send.
Set a limit on the amount of excess header frames we will process before
closing a connection.
Thanks to Bartek Nowotarski (https://nowotarski.info/ ) for reporting this issue.
This is CVE-2023-45288 and Go issue https://go.dev/issue/65051 .
View the release notes for more information:
https://go.dev/doc/devel/release#go1.22.2
- https://github.com/golang/go/issues?q=milestone%3AGo1.21.9+label%3ACherryPickApproved
- full diff: https://github.com/golang/go/compare/go1.21.8...go1.21.9
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-04-22 19:43:32 +02:00
Derek McGowan
357c59b799
Update github actions ci to run on forks
...
Excludes actuated when on fork.
Runs some project tests on fork.
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-03-12 18:20:02 -07:00
Austin Vazquez
7ac9d6909c
Use the Go toolchain in CI matrix to build binaries
...
Signed-off-by: Austin Vazquez <macedonv@amazon.com >
2024-03-08 00:35:36 +00:00
Akihiro Suda
7ecdebff93
update to go 1.21.8, 1.22.1
...
See https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-03-07 08:32:40 +09:00
Wei Fu
5351ad6b4a
.github: windows should use fix critool version
...
Signed-off-by: Wei Fu <fuweid89@gmail.com >
2024-02-24 22:48:53 +08:00
Austin Vazquez
6a759713ad
Update golangci-lint to v1.56.1
...
Signed-off-by: Austin Vazquez <macedonv@amazon.com >
2024-02-19 15:15:01 +00:00
Maksym Pavlenko
a890c8e537
Add job to report statuses from matrix jobs
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
2024-02-15 12:13:58 -08:00
dependabot[bot]
a274439f2e
build(deps): bump golangci/golangci-lint-action from 3 to 4
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-12 23:37:29 +00:00
Kirtana Ashok
87aa9e8008
Drop go 1.20 and build against 1.22
...
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com >
2024-02-08 17:57:51 -08:00
Maksym Pavlenko
360fbf197b
Fix windows integration tests
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
2024-02-07 13:01:43 -08:00
Maksym Pavlenko
488b563610
Extract a composite action to install Go
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
2024-02-07 12:28:17 -08:00
Maksym Pavlenko
32bd8eff9e
Move inline PS scripts into files
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
2024-02-06 18:27:21 -08:00
Akihiro Suda
2369185aac
CI: update Rocky Linux to 8.9
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-01-31 05:56:46 +09:00
dependabot[bot]
378e9f4434
build(deps): bump actions/cache from 3 to 4
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-22 23:52:18 +00:00
Akihiro Suda
d34725f85a
CI: use standard GHA runners
...
"Larger" runners are no longer required for nested virt with Linux
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-01-19 12:33:23 +09:00
dependabot[bot]
18b0d236cb
build(deps): bump actions/upload-artifact from 3 to 4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-16 20:52:30 +00:00
Akhil Mohan
20619a7c9f
ci: make artifact name unique in linux integration
...
actions/upload-artifact@v4 marks artifacts as immutable. Thus, tests
which use matrix should have a unique artifact name while using
upload-artifact github action
Ref: https://github.com/actions/upload-artifact/releases/tag/v4.0.0
Signed-off-by: Akhil Mohan <akhilerm@gmail.com >
2024-01-16 18:30:18 +05:30
Sebastiaan van Stijn
a5d9587061
update to go1.21.6, go1.20.13
...
go1.21.6 (released 2024-01-09) includes fixes to the compiler, the runtime, and
the crypto/tls, maps, and runtime/pprof packages. See the Go 1.21.6 milestone on
our issue tracker for details:
- https://github.com/golang/go/issues?q=milestone%3AGo1.21.6+label%3ACherryPickApproved
- full diff: https://github.com/golang/go/compare/go1.21.5...go1.21.6
go1.20.13 (released 2024-01-09) includes fixes to the runtime and the crypto/tls
package. See the Go 1.20.13 milestone on our issue tracker for details:
- https://github.com/golang/go/issues?q=milestone%3AGo1.20.13+label%3ACherryPickApproved
- full diff: https://github.com/golang/go/compare/go1.20.12...go1.20.13
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-10 10:42:07 +01:00
Kirtana Ashok
21640c57a8
Uninstall mingw before attempting upgrade
...
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com >
2024-01-09 09:14:05 -08:00