Aurélien Bombo
33d08a8417
Merge pull request #9825 from microsoft/mahuber/main
...
osbuilder: allow rootfs builds w/o git or version file deps
2024-07-02 09:38:13 -07:00
Manuel Huber
62fd84dfd8
build: allow rootfs builds w/o git or VERSION file deps
...
We set the VERSION variable consistently across Makefiles to
'unknown' if the file is empty or not present.
We also use git commands consistently for calculating the COMMIT,
COMMIT_NO variables, not erroring out when building outside of
a git repository.
In create_summary_file we also account for a missing/empty VERSION
file.
This makes e.g. the UVM build process in an environment where we
build outside of git with a minimal/reduced set of files smoother.
Signed-off-by: Manuel Huber <mahuber@microsoft.com>
2024-06-13 22:46:52 +00:00
dependabot[bot]
391bc35805
build(deps): bump the go_modules group across 5 directories with 8 updates
...
Bumps the go_modules group with 2 updates in the /src/runtime directory: [github.com/containerd/containerd](https://github.com/containerd/containerd ) and [github.com/containers/podman/v4](https://github.com/containers/podman ).
Bumps the go_modules group with 4 updates in the /src/tools/csi-kata-directvolume directory: [golang.org/x/sys](https://github.com/golang/sys ), google.golang.org/protobuf, [golang.org/x/net](https://github.com/golang/net ) and [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
Bumps the go_modules group with 2 updates in the /src/tools/log-parser directory: [golang.org/x/sys](https://github.com/golang/sys ) and gopkg.in/yaml.v3.
Bumps the go_modules group with 2 updates in the /tests directory: [golang.org/x/sys](https://github.com/golang/sys ) and gopkg.in/yaml.v3.
Bumps the go_modules group with 2 updates in the /tools/testing/kata-webhook directory: [golang.org/x/sys](https://github.com/golang/sys ) and [golang.org/x/net](https://github.com/golang/net ).
Updates `github.com/containerd/containerd` from 1.7.2 to 1.7.11
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.7.2...v1.7.11 )
Updates `github.com/containers/podman/v4` from 4.2.0 to 4.9.4
- [Release notes](https://github.com/containers/podman/releases )
- [Changelog](https://github.com/containers/podman/blob/v4.9.4/RELEASE_NOTES.md )
- [Commits](https://github.com/containers/podman/compare/v4.2.0...v4.9.4 )
Updates `google.golang.org/protobuf` from 1.29.1 to 1.33.0
Updates `github.com/cyphar/filepath-securejoin` from 0.2.3 to 0.2.4
- [Release notes](https://github.com/cyphar/filepath-securejoin/releases )
- [Commits](https://github.com/cyphar/filepath-securejoin/compare/v0.2.3...v0.2.4 )
Updates `golang.org/x/sys` from 0.15.0 to 0.19.0
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.19.0 )
Updates `google.golang.org/protobuf` from 1.31.0 to 1.33.0
Updates `golang.org/x/net` from 0.19.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.23.0 )
Updates `google.golang.org/grpc` from 1.59.0 to 1.63.2
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.59.0...v1.63.2 )
Updates `golang.org/x/sys` from 0.0.0-20191026070338-33540a1f6037 to 0.1.0
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.19.0 )
Updates `gopkg.in/yaml.v3` from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0
Updates `golang.org/x/sys` from 0.0.0-20220429233432-b5fbb4746d32 to 0.19.0
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.19.0 )
Updates `gopkg.in/yaml.v3` from 3.0.0-20210107192922-496545a6307b to 3.0.0
Updates `golang.org/x/sys` from 0.15.0 to 0.19.0
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.19.0 )
Updates `golang.org/x/net` from 0.19.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.19.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: github.com/containers/podman/v4
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: github.com/cyphar/filepath-securejoin
dependency-type: indirect
dependency-group: go_modules
- dependency-name: golang.org/x/sys
dependency-type: indirect
dependency-group: go_modules
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
dependency-group: go_modules
- dependency-name: golang.org/x/net
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
dependency-group: go_modules
- dependency-name: golang.org/x/sys
dependency-type: indirect
dependency-group: go_modules
- dependency-name: gopkg.in/yaml.v3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: golang.org/x/sys
dependency-type: indirect
dependency-group: go_modules
- dependency-name: gopkg.in/yaml.v3
dependency-type: indirect
dependency-group: go_modules
- dependency-name: golang.org/x/sys
dependency-type: indirect
dependency-group: go_modules
- dependency-name: golang.org/x/net
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-30 09:46:13 +01:00
Bin Liu
e723bad0af
ci: let static checks don't depend on build
...
Build is a time consumable operation, skip build while let
ci run faster.
Fixes : #5777
Signed-off-by: Bin Liu <bin@hyper.sh>
2022-11-28 15:26:04 +08:00
Fabiano Fidêncio
2f5f575a43
log-parser: Simplify check
...
```
14:13:15 parse.go:306:5: S1009: should omit nil check; len() for github.com/kata-containers/kata-containers/src/tools/log-parser.kvPairs is defined as zero (gosimple)
14:13:15 if pairs == nil || len(pairs) == 0 {
14:13:15 ^
```
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
2022-11-17 14:17:29 +01:00
Fabiano Fidêncio
d94718fb30
runtime: Fix gofmt issues
...
It seems that bumping the version of golang and golangci-lint new format
changes are required.
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
2022-11-17 14:16:12 +01:00
Fabiano Fidêncio
16b8375095
golang: Stop using io/ioutils
...
The package has been deprecated as part of 1.16 and the same
functionality is now provided by either the io or the os package.
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
2022-11-17 13:43:25 +01:00
Peng Tao
eab8d6be13
build: update golang version to 1.19.2
...
So that we get the latest language fixes.
There is little use to maitain compiler backward compatibility.
Let's just set the default golang version to the latest 1.19.2.
Fixes : #5494
Signed-off-by: Peng Tao <bergwolf@hyper.sh>
2022-11-16 19:02:39 +01:00
Snir Sheriber
271933fec0
log-parser: fix some of the documentation
...
minor fixes of links and text
Signed-off-by: Snir Sheriber <ssheribe@redhat.com>
2022-05-10 13:23:25 +03:00
Snir Sheriber
c7dacb1211
log-parser: move the kata-log-parser from the tests repo
...
to the kata-containers repo under the src/tools/log-parser folder
and vendor the modules
Fixes : #4100
Signed-off-by: Snir Sheriber <ssheribe@redhat.com>
2022-05-10 13:23:25 +03:00