-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nodeinstaller: add nydus-pull container
- Loading branch information
1 parent
35ab185
commit c686eae
Showing
13 changed files
with
653 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ use ( | |
. | ||
./service-mesh | ||
./tools/tdx-measure | ||
./tools/nydus-pull | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Copyright 2024 Edgeless Systems GmbH | ||
# SPDX-License-Identifier: AGPL-3.0-only | ||
|
||
{ buildGoModule }: | ||
|
||
buildGoModule rec { | ||
pname = "nydus-pull"; | ||
version = builtins.readFile ../../../version.txt; | ||
|
||
src = ../../../tools/nydus-pull; | ||
|
||
proxyVendor = true; | ||
vendorHash = "sha256-UFrQPzK2/yWRI5kwGwMVfl3MGBKWAtQOCnpNOYapvQs="; | ||
|
||
subPackages = [ "." ]; | ||
|
||
CGO_ENABLED = 0; | ||
ldflags = [ | ||
"-s" | ||
"-w" | ||
"-X main.version=v${version}" | ||
]; | ||
|
||
preCheck = '' | ||
export CGO_ENABLED=1 | ||
''; | ||
|
||
checkPhase = '' | ||
runHook preCheck | ||
go test -race ./... | ||
runHook postCheck | ||
''; | ||
|
||
meta.mainProgram = "nydus-pull"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
module github.com/edgelesssys/contrast/nydus-pull | ||
|
||
go 1.23.0 | ||
|
||
require ( | ||
github.com/containerd/containerd v1.7.24 | ||
github.com/edgelesssys/contrast v1.2.1 | ||
k8s.io/api v0.32.0 | ||
k8s.io/apimachinery v0.32.0 | ||
k8s.io/client-go v0.32.0 | ||
) | ||
|
||
require ( | ||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect | ||
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20230306123547-8075edf89bb0 // indirect | ||
github.com/Microsoft/go-winio v0.6.2 // indirect | ||
github.com/Microsoft/hcsshim v0.11.7 // indirect | ||
github.com/containerd/cgroups v1.1.0 // indirect | ||
github.com/containerd/containerd/api v1.7.19 // indirect | ||
github.com/containerd/continuity v0.4.2 // indirect | ||
github.com/containerd/errdefs v0.3.0 // indirect | ||
github.com/containerd/fifo v1.1.0 // indirect | ||
github.com/containerd/log v0.1.0 // indirect | ||
github.com/containerd/platforms v0.2.1 // indirect | ||
github.com/containerd/ttrpc v1.2.5 // indirect | ||
github.com/containerd/typeurl/v2 v2.1.1 // indirect | ||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect | ||
github.com/distribution/reference v0.6.0 // indirect | ||
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect | ||
github.com/emicklei/go-restful/v3 v3.11.0 // indirect | ||
github.com/felixge/httpsnoop v1.0.3 // indirect | ||
github.com/fxamacker/cbor/v2 v2.7.0 // indirect | ||
github.com/go-logr/logr v1.4.2 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/go-openapi/jsonpointer v0.21.0 // indirect | ||
github.com/go-openapi/jsonreference v0.20.2 // indirect | ||
github.com/go-openapi/swag v0.23.0 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/protobuf v1.5.4 // indirect | ||
github.com/google/gnostic-models v0.6.8 // indirect | ||
github.com/google/go-cmp v0.6.0 // indirect | ||
github.com/google/go-sev-guest v0.12.1 // indirect | ||
github.com/google/go-tdx-guest v0.3.1 // indirect | ||
github.com/google/gofuzz v1.2.0 // indirect | ||
github.com/google/logger v1.1.1 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/klauspost/compress v1.17.9 // indirect | ||
github.com/mailru/easyjson v0.7.7 // indirect | ||
github.com/moby/locker v1.0.1 // indirect | ||
github.com/moby/sys/mountinfo v0.6.2 // indirect | ||
github.com/moby/sys/sequential v0.5.0 // indirect | ||
github.com/moby/sys/signal v0.7.0 // indirect | ||
github.com/moby/sys/user v0.3.0 // indirect | ||
github.com/moby/sys/userns v0.1.0 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/opencontainers/go-digest v1.0.0 // indirect | ||
github.com/opencontainers/image-spec v1.1.0 // indirect | ||
github.com/opencontainers/runtime-spec v1.1.0 // indirect | ||
github.com/opencontainers/selinux v1.11.0 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/sirupsen/logrus v1.9.3 // indirect | ||
github.com/x448/float16 v0.8.4 // indirect | ||
go.opencensus.io v0.24.0 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0 // indirect | ||
go.opentelemetry.io/otel v1.31.0 // indirect | ||
go.opentelemetry.io/otel/metric v1.31.0 // indirect | ||
go.opentelemetry.io/otel/trace v1.31.0 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
golang.org/x/crypto v0.31.0 // indirect | ||
golang.org/x/net v0.32.0 // indirect | ||
golang.org/x/oauth2 v0.24.0 // indirect | ||
golang.org/x/sync v0.10.0 // indirect | ||
golang.org/x/sys v0.28.0 // indirect | ||
golang.org/x/term v0.27.0 // indirect | ||
golang.org/x/text v0.21.0 // indirect | ||
golang.org/x/time v0.7.0 // indirect | ||
google.golang.org/genproto v0.0.0-20231211222908-989df2bf70f3 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53 // indirect | ||
google.golang.org/grpc v1.69.0 // indirect | ||
google.golang.org/protobuf v1.35.2 // indirect | ||
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
k8s.io/klog/v2 v2.130.1 // indirect | ||
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect | ||
k8s.io/utils v0.0.0-20241210054802-24370beab758 // indirect | ||
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 // indirect | ||
sigs.k8s.io/yaml v1.4.0 // indirect | ||
) |
Oops, something went wrong.