Skip to content

Commit 3638de2

Browse files
marcosnilsmatipan
andauthored
Add containerd tests (#49)
* wip: add containerd tests Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com> * E2E exec tests daggerized for containerd Signed-off-by: Matias Pan <gh@matiaspan.dev> --------- Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com> Signed-off-by: Matias Pan <gh@matiaspan.dev> Co-authored-by: Matias Pan <gh@matiaspan.dev>
1 parent 3fe737e commit 3638de2

File tree

9 files changed

+198
-131
lines changed

9 files changed

+198
-131
lines changed

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ on:
77
name: E2E Tests
88

99
jobs:
10-
test-docker:
10+
test-exec:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
1414

15-
- name: Docker E2E Test
16-
uses: dagger/dagger-for-github@v5
15+
- name: Exec E2E Tests
16+
uses: dagger/dagger-for-github@v6
1717
with:
1818
verb: call
1919
module: ./ci
20-
args: test-exec --src . --tool docker stdout
20+
args: test-exec --src .

ci/dagger.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"dependencies": [
55
{
66
"name": "go",
7-
"source": "github.com/vito/daggerverse/go@f7223d2d82fb91622cbb7954177388d995a98d59"
7+
"source": "github.com/vito/daggerverse/go@36e8ce2f9eb52cd73c4d5397ed4ed65912d7b6ac"
88
}
99
],
1010
"source": ".",
11-
"engineVersion": "v0.11.9"
11+
"engineVersion": "v0.12.0"
1212
}

ci/go.mod

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
module dagger/ci
22

3-
go 1.21.7
3+
go 1.22.5
44

55
require (
6-
github.com/99designs/gqlgen v0.17.44
6+
github.com/99designs/gqlgen v0.17.49
77
github.com/Khan/genqlient v0.7.0
8-
github.com/vektah/gqlparser/v2 v2.5.11
8+
github.com/vektah/gqlparser/v2 v2.5.16
99
go.opentelemetry.io/otel v1.27.0
10+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.0.0-20240518090000-14441aefdf88
11+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.3.0
1012
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0
1113
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0
14+
go.opentelemetry.io/otel/log v0.3.0
1215
go.opentelemetry.io/otel/sdk v1.27.0
16+
go.opentelemetry.io/otel/sdk/log v0.3.0
1317
go.opentelemetry.io/otel/trace v1.27.0
18+
go.opentelemetry.io/proto/otlp v1.3.1
1419
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
1520
golang.org/x/sync v0.7.0
1621
google.golang.org/grpc v1.64.0
@@ -23,17 +28,12 @@ require (
2328
github.com/google/uuid v1.6.0 // indirect
2429
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
2530
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
26-
github.com/sosodev/duration v1.2.0 // indirect
27-
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.0.0-20240518090000-14441aefdf88
28-
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.3.0
31+
github.com/sosodev/duration v1.3.1 // indirect
2932
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
30-
go.opentelemetry.io/otel/log v0.3.0
3133
go.opentelemetry.io/otel/metric v1.27.0 // indirect
32-
go.opentelemetry.io/otel/sdk/log v0.3.0
33-
go.opentelemetry.io/proto/otlp v1.3.1
34-
golang.org/x/net v0.25.0 // indirect
35-
golang.org/x/sys v0.20.0 // indirect
36-
golang.org/x/text v0.15.0 // indirect
34+
golang.org/x/net v0.26.0 // indirect
35+
golang.org/x/sys v0.21.0 // indirect
36+
golang.org/x/text v0.16.0 // indirect
3737
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
3838
google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect
3939
google.golang.org/protobuf v1.34.1 // indirect

ci/go.sum

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/99designs/gqlgen v0.17.44 h1:OS2wLk/67Y+vXM75XHbwRnNYJcbuJd4OBL76RX3NQQA=
2-
github.com/99designs/gqlgen v0.17.44/go.mod h1:UTCu3xpK2mLI5qcMNw+HKDiEL77it/1XtAjisC4sLwM=
1+
github.com/99designs/gqlgen v0.17.49 h1:b3hNGexHd33fBSAd4NDT/c3NCcQzcAVkknhN9ym36YQ=
2+
github.com/99designs/gqlgen v0.17.49/go.mod h1:tC8YFVZMed81x7UJ7ORUwXF4Kn6SXuucFqQBhN8+BU0=
33
github.com/Khan/genqlient v0.7.0 h1:GZ1meyRnzcDTK48EjqB8t3bcfYvHArCUUvgOwpz1D4w=
44
github.com/Khan/genqlient v0.7.0/go.mod h1:HNyy3wZvuYwmW3Y7mkoQLZsa/R5n5yIRajS1kPBvSFM=
55
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ=
@@ -27,14 +27,14 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
2727
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
2828
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8=
2929
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
30-
github.com/sosodev/duration v1.2.0 h1:pqK/FLSjsAADWY74SyWDCjOcd5l7H8GSnnOGEB9A1Us=
31-
github.com/sosodev/duration v1.2.0/go.mod h1:RQIBBX0+fMLc/D9+Jb/fwvVmo0eZvDDEERAikUR6SDg=
30+
github.com/sosodev/duration v1.3.1 h1:qtHBDMQ6lvMQsL15g4aopM4HEfOaYuhWBw3NPTtlqq4=
31+
github.com/sosodev/duration v1.3.1/go.mod h1:RQIBBX0+fMLc/D9+Jb/fwvVmo0eZvDDEERAikUR6SDg=
3232
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
3333
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
3434
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
3535
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
36-
github.com/vektah/gqlparser/v2 v2.5.11 h1:JJxLtXIoN7+3x6MBdtIP59TP1RANnY7pXOaDnADQSf8=
37-
github.com/vektah/gqlparser/v2 v2.5.11/go.mod h1:1rCcfwB2ekJofmluGWXMSEnPMZgbxzwj6FaZ/4OT8Cc=
36+
github.com/vektah/gqlparser/v2 v2.5.16 h1:1gcmLTvs3JLKXckwCwlUagVn/IlV2bwqle0vJ0vy5p8=
37+
github.com/vektah/gqlparser/v2 v2.5.16/go.mod h1:1lz1OeCqgQbQepsGxPVywrjdBHW2T08PUS3pJqepRww=
3838
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
3939
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
4040
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.0.0-20240518090000-14441aefdf88 h1:oM0GTNKGlc5qHctWeIGTVyda4iFFalOzMZ3Ehj5rwB4=
@@ -63,14 +63,14 @@ go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
6363
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
6464
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa h1:FRnLl4eNAQl8hwxVVC17teOw8kdjVDVAiFMtgUdTSRQ=
6565
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE=
66-
golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
67-
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
66+
golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ=
67+
golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE=
6868
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
6969
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
70-
golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
71-
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
72-
golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
73-
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
70+
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
71+
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
72+
golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
73+
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
7474
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
7575
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
7676
google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI=

ci/main.go

+45-24
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// A generated module for Ci functions
2+
23
//
34
// This module has been generated via dagger init and serves as a reference to
45
// basic module structure as you get started with Dagger.
@@ -16,42 +17,61 @@ package main
1617

1718
import (
1819
"context"
19-
"fmt"
20+
"dagger/ci/internal/dagger"
21+
22+
"golang.org/x/sync/errgroup"
2023
)
2124

2225
type Ci struct{}
2326

24-
func (m *Ci) Build(ctx context.Context, src *Directory) *File {
25-
return dag.Go().FromVersion("1.22-alpine").Build(src, GoBuildOpts{
27+
func (m *Ci) Build(ctx context.Context, src *dagger.Directory) *dagger.File {
28+
return dag.Go().FromVersion("1.22").Build(src, dagger.GoBuildOpts{
2629
Static: true,
2730
}).File("cdebug")
2831
}
2932

30-
func (m *Ci) TestExec(ctx context.Context,
31-
src *Directory,
32-
// +optional
33-
// +default="docker"
34-
tool string,
35-
) (*Container, error) {
36-
if tool != "docker" && tool != "kubernetes" && tool != "containerd" && tool != "nerdctl" {
37-
return nil, fmt.Errorf("tool %s is not supported. Supported values are: kubernetes,containerd,nerdctl,docker")
38-
}
33+
func (m *Ci) TestExec(ctx context.Context, src *dagger.Directory) error {
34+
var g errgroup.Group
3935

40-
if tool != "docker" {
41-
return nil, fmt.Errorf("tool %s is no yet implemented", tool)
42-
}
36+
g.Go(func() error {
37+
ct, err := m.TestDockerExec(ctx, src)
38+
if err != nil {
39+
return err
40+
}
41+
_, err = ct.Stdout(ctx)
42+
return err
43+
})
44+
g.Go(func() error {
45+
_, err := m.TestContainerdExec(ctx, src).Stdout(ctx)
46+
return err
47+
})
4348

44-
switch tool {
45-
case "docker":
46-
return m.TestDockerExec(ctx, src)
47-
default:
48-
return nil, fmt.Errorf("tool %s is no yet implemented", tool)
49-
}
49+
return g.Wait()
50+
}
51+
52+
func (m *Ci) TestContainerdExec(ctx context.Context, src *dagger.Directory) *dagger.Container {
53+
cdebug := m.Build(ctx, src)
5054

51-
return nil, nil
55+
containerd := dag.
56+
Container().
57+
From("tianon/containerd")
58+
59+
return dag.Go().
60+
FromVersion("1.22").
61+
Base().
62+
With(dag.Go().GlobalCache).
63+
WithDirectory("/usr/local/bin", containerd.Directory("/usr/local/bin")).
64+
WithFile("/usr/local/bin/cdebug", cdebug).
65+
WithDirectory("/app/cdebug", src).
66+
WithWorkdir("/app/cdebug").
67+
WithMountedTemp("/var/lib/containerd").
68+
WithExec([]string{"sh", "-c", `
69+
docker-entrypoint.sh containerd &
70+
go test -v ./e2e/exec/containerd_test.go
71+
`}, dagger.ContainerWithExecOpts{InsecureRootCapabilities: true})
5272
}
5373

54-
func (m *Ci) TestDockerExec(ctx context.Context, src *Directory) (*Container, error) {
74+
func (m *Ci) TestDockerExec(ctx context.Context, src *dagger.Directory) (*dagger.Container, error) {
5575
cdebug := m.Build(ctx, src)
5676

5777
docker := dag.
@@ -70,13 +90,14 @@ func (m *Ci) TestDockerExec(ctx context.Context, src *Directory) (*Container, er
7090
WithEnvVariable("DOCKER_TLS_CERTDIR", "").
7191
WithExec([]string{
7292
"dockerd-entrypoint.sh",
73-
}, ContainerWithExecOpts{
93+
}, dagger.ContainerWithExecOpts{
7494
InsecureRootCapabilities: true,
7595
})
7696

7797
return dag.Go().
7898
FromVersion("1.22-alpine").
7999
Base().
100+
With(dag.Go().GlobalCache).
80101
WithFile("/usr/local/bin/cdebug", cdebug).
81102
WithFile("/usr/local/bin/docker", dockerCli).
82103
WithDirectory("/app/cdebug", src).

e2e/exec/containerd_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func TestExecContainerdSimple(t *testing.T) {
1717

1818
res := icmd.RunCmd(
1919
icmd.Command(
20-
"sudo", "cdebug", "exec", "-n", fixture.ContainerdCtrNamespace, "--rm", "-q",
20+
"cdebug", "exec", "-n", fixture.ContainerdCtrNamespace, "--rm", "-q",
2121
"containerd://"+targetID,
2222
"cat", "/etc/os-release",
2323
),
@@ -34,7 +34,7 @@ func TestExecContainerdHostNamespaces(t *testing.T) {
3434

3535
res := icmd.RunCmd(
3636
icmd.Command(
37-
"sudo", "cdebug", "exec", "-n", fixture.ContainerdCtrNamespace, "--rm", "-q",
37+
"cdebug", "exec", "-n", fixture.ContainerdCtrNamespace, "--rm", "-q",
3838
"containerd://"+targetID,
3939
"cat", "/etc/os-release",
4040
),
@@ -49,7 +49,7 @@ func TestExecContainerdRunAsUser(t *testing.T) {
4949

5050
res := icmd.RunCmd(
5151
icmd.Command(
52-
"sudo", "cdebug", "exec", "-n", fixture.ContainerdCtrNamespace, "--rm", "-q", "-u", "101:101",
52+
"cdebug", "exec", "-n", fixture.ContainerdCtrNamespace, "--rm", "-q", "-u", "101:101",
5353
"containerd://"+targetID,
5454
"id", "-u",
5555
),
@@ -60,7 +60,7 @@ func TestExecContainerdRunAsUser(t *testing.T) {
6060

6161
res = icmd.RunCmd(
6262
icmd.Command(
63-
"sudo", "cdebug", "exec", "-n", fixture.ContainerdCtrNamespace, "--rm", "-q", "-u", "101:101",
63+
"cdebug", "exec", "-n", fixture.ContainerdCtrNamespace, "--rm", "-q", "-u", "101:101",
6464
"containerd://"+targetID,
6565
"busybox",
6666
),
@@ -75,7 +75,7 @@ func TestExecContainerdNixery(t *testing.T) {
7575

7676
res := icmd.RunCmd(
7777
icmd.Command(
78-
"sudo", "cdebug", "exec", "-n", fixture.ContainerdCtrNamespace, "--rm", "-q",
78+
"cdebug", "exec", "-n", fixture.ContainerdCtrNamespace, "--rm", "-q",
7979
"--image", "nixery.dev/shell/vim",
8080
"containerd://"+targetID,
8181
"vim", "--version",

e2e/internal/fixture/fixture.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const (
2222

2323
func ctrCmd(args ...string) icmd.Cmd {
2424
return icmd.Command(
25-
"sudo", append([]string{"-E", "ctr", "--namespace", ContainerdCtrNamespace}, args...)...,
25+
"ctr", append([]string{"--namespace", ContainerdCtrNamespace}, args...)...,
2626
)
2727
}
2828

go.mod

+36-17
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,25 @@ require (
1616
github.com/opencontainers/runtime-spec v1.2.0
1717
github.com/sirupsen/logrus v1.9.3
1818
github.com/spf13/cobra v1.8.0
19-
golang.org/x/sys v0.19.0
19+
golang.org/x/sys v0.21.0
2020
gotest.tools v2.2.0+incompatible
2121
gotest.tools/v3 v3.4.0
2222
k8s.io/api v0.29.3
2323
k8s.io/apimachinery v0.29.3
2424
k8s.io/client-go v0.29.3
2525
)
2626

27+
require github.com/stretchr/objx v0.5.2 // indirect
28+
2729
require (
30+
github.com/99designs/gqlgen v0.17.49
2831
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
2932
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20230306123547-8075edf89bb0 // indirect
3033
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
34+
github.com/Khan/genqlient v0.7.0
3135
github.com/Microsoft/go-winio v0.6.1 // indirect
3236
github.com/Microsoft/hcsshim v0.11.4 // indirect
37+
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
3338
github.com/containerd/cgroups v1.1.0 // indirect
3439
github.com/containerd/cgroups/v3 v3.0.2 // indirect
3540
github.com/containerd/continuity v0.4.2 // indirect
@@ -39,13 +44,13 @@ require (
3944
github.com/containerd/ttrpc v1.2.3 // indirect
4045
github.com/containerd/typeurl/v2 v2.1.1 // indirect
4146
github.com/containernetworking/cni v1.1.2 // indirect
42-
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
47+
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
4348
github.com/davecgh/go-spew v1.1.1 // indirect
4449
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect
4550
github.com/docker/go-units v0.5.0 // indirect
4651
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
4752
github.com/felixge/httpsnoop v1.0.3 // indirect
48-
github.com/go-logr/logr v1.3.0 // indirect
53+
github.com/go-logr/logr v1.4.1 // indirect
4954
github.com/go-logr/stdr v1.2.2 // indirect
5055
github.com/go-openapi/jsonpointer v0.19.6 // indirect
5156
github.com/go-openapi/jsonreference v0.20.2 // indirect
@@ -57,6 +62,7 @@ require (
5762
github.com/google/go-cmp v0.6.0 // indirect
5863
github.com/google/gofuzz v1.2.0 // indirect
5964
github.com/gorilla/websocket v1.5.0 // indirect
65+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
6066
github.com/imdario/mergo v0.3.6 // indirect
6167
github.com/inconshreveable/mousetrap v1.1.0 // indirect
6268
github.com/josharian/intern v1.0.0 // indirect
@@ -80,26 +86,39 @@ require (
8086
github.com/pelletier/go-toml v1.9.5 // indirect
8187
github.com/pkg/errors v0.9.1 // indirect
8288
github.com/russross/blackfriday/v2 v2.1.0 // indirect
89+
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
90+
github.com/sosodev/duration v1.3.1 // indirect
8391
github.com/spf13/pflag v1.0.5 // indirect
8492
github.com/urfave/cli v1.22.12 // indirect
93+
github.com/vektah/gqlparser/v2 v2.5.16
8594
go.opencensus.io v0.24.0 // indirect
8695
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0 // indirect
87-
go.opentelemetry.io/otel v1.19.0 // indirect
88-
go.opentelemetry.io/otel/metric v1.19.0 // indirect
89-
go.opentelemetry.io/otel/trace v1.19.0 // indirect
90-
golang.org/x/mod v0.14.0 // indirect
91-
golang.org/x/net v0.19.0 // indirect
92-
golang.org/x/oauth2 v0.10.0 // indirect
93-
golang.org/x/sync v0.5.0 // indirect
94-
golang.org/x/term v0.15.0 // indirect
95-
golang.org/x/text v0.14.0 // indirect
96+
go.opentelemetry.io/otel v1.27.0
97+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.0.0-20240518090000-14441aefdf88
98+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.3.0
99+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
100+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0
101+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0
102+
go.opentelemetry.io/otel/log v0.3.0
103+
go.opentelemetry.io/otel/metric v1.27.0 // indirect
104+
go.opentelemetry.io/otel/sdk v1.27.0
105+
go.opentelemetry.io/otel/sdk/log v0.3.0
106+
go.opentelemetry.io/otel/trace v1.27.0
107+
go.opentelemetry.io/proto/otlp v1.3.1
108+
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
109+
golang.org/x/mod v0.18.0 // indirect
110+
golang.org/x/net v0.26.0 // indirect
111+
golang.org/x/oauth2 v0.20.0 // indirect
112+
golang.org/x/sync v0.7.0
113+
golang.org/x/term v0.21.0 // indirect
114+
golang.org/x/text v0.16.0 // indirect
96115
golang.org/x/time v0.3.0 // indirect
97-
golang.org/x/tools v0.16.1 // indirect
98-
google.golang.org/appengine v1.6.7 // indirect
116+
golang.org/x/tools v0.22.0 // indirect
99117
google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98 // indirect
100-
google.golang.org/genproto/googleapis/rpc v0.0.0-20230731190214-cbb8c96f2d6d // indirect
101-
google.golang.org/grpc v1.58.3 // indirect
102-
google.golang.org/protobuf v1.33.0 // indirect
118+
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
119+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect
120+
google.golang.org/grpc v1.64.0
121+
google.golang.org/protobuf v1.34.1 // indirect
103122
gopkg.in/inf.v0 v0.9.1 // indirect
104123
gopkg.in/yaml.v2 v2.4.0 // indirect
105124
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)