Skip to content

Commit 16d4c66

Browse files
committed
Merge branch 'main' into rolds/properties_allow_list
2 parents ea12e9c + 8f61b5f commit 16d4c66

File tree

10 files changed

+522
-1900
lines changed

10 files changed

+522
-1900
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
demos
44
build
55
dist
6-
testresources
6+
testdata
77

88
.env
99
.gitignore

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ endef
99
define start_demo
1010
mkdir demos/$(1)/build
1111
touch demos/$(1)/build/tests.json
12-
docker-compose -f demos/$(1)/docker-compose.yml up -d
12+
docker compose -f demos/$(1)/docker-compose.yml up -d
1313
env | grep OTEL
1414
endef
1515

1616
define stop_demo
17-
docker-compose -f demos/$(1)/docker-compose.yml down --remove-orphans --volumes
17+
docker compose -f demos/$(1)/docker-compose.yml down --remove-orphans --volumes
1818
rm -fr demos/$(1)/build
1919
endef
2020

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ This tool is able to override the following attributes:
141141

142142
| Attribute | Flag | Default value | Description |
143143
| --------- | ---- | ------------- | ----------- |
144+
| Max Batch Size | --batch-size | `10` | Maximum export batch size allowed when creating a BatchSpanProcessor. |
144145
| Repository Path | --repository-path | `.` | Path to the SCM repository to be read. |
145146
| Service Name | --service-name | `junit2otlp` | Overrides OpenTelemetry's service name. If the `OTEL_SERVICE_NAME` environment variable is set, it will take precedence over any other value. |
146147
| Service Version | --service-version | Empty | Overrides OpenTelemetry's service version. If the `OTEL_SERVICE_VERSION` environment variable is set, it will take precedence over any other value. |

git_test.go

Lines changed: 61 additions & 116 deletions
Large diffs are not rendered by default.

go.mod

Lines changed: 50 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,69 +3,84 @@ module github.com/mdelapenya/junit2otlp
33
go 1.23
44

55
require (
6-
github.com/go-git/go-git/v5 v5.4.2
6+
github.com/avast/retry-go v3.0.0+incompatible
7+
github.com/docker/go-connections v0.5.0
8+
github.com/go-git/go-git/v5 v5.12.0
79
github.com/joshdk/go-junit v1.0.0
810
github.com/pkg/errors v0.9.1
911
github.com/stretchr/testify v1.10.0
10-
github.com/testcontainers/testcontainers-go v0.14.0
12+
github.com/testcontainers/testcontainers-go v0.34.0
1113
go.opentelemetry.io/otel v1.33.0
1214
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.33.0
1315
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.33.0
1416
go.opentelemetry.io/otel/metric v1.33.0
1517
go.opentelemetry.io/otel/sdk v1.33.0
1618
go.opentelemetry.io/otel/sdk/metric v1.33.0
1719
go.opentelemetry.io/otel/trace v1.33.0
18-
gotest.tools/gotestsum v1.8.2
20+
gotest.tools/gotestsum v1.12.0
1921
)
2022

2123
require (
24+
dario.cat/mergo v1.0.0 // indirect
2225
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
23-
github.com/Microsoft/go-winio v0.5.2 // indirect
24-
github.com/Microsoft/hcsshim v0.9.4 // indirect
25-
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
26-
github.com/acomagu/bufpipe v1.0.3 // indirect
27-
github.com/avast/retry-go v3.0.0+incompatible // indirect
26+
github.com/Microsoft/go-winio v0.6.2 // indirect
27+
github.com/ProtonMail/go-crypto v1.0.0 // indirect
28+
github.com/bitfield/gotestdox v0.2.2 // indirect
2829
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
29-
github.com/containerd/cgroups v1.0.4 // indirect
30-
github.com/containerd/containerd v1.6.8 // indirect
30+
github.com/cloudflare/circl v1.3.7 // indirect
31+
github.com/containerd/containerd v1.7.18 // indirect
32+
github.com/containerd/log v0.1.0 // indirect
33+
github.com/containerd/platforms v0.2.1 // indirect
34+
github.com/cpuguy83/dockercfg v0.3.2 // indirect
35+
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
3136
github.com/davecgh/go-spew v1.1.1 // indirect
37+
github.com/distribution/reference v0.6.0 // indirect
3238
github.com/dnephin/pflag v1.0.7 // indirect
33-
github.com/docker/distribution v2.8.1+incompatible // indirect
34-
github.com/docker/docker v20.10.17+incompatible // indirect
35-
github.com/docker/go-connections v0.4.0 // indirect
39+
github.com/docker/docker v27.1.1+incompatible // indirect
3640
github.com/docker/go-units v0.5.0 // indirect
37-
github.com/emirpasic/gods v1.12.0 // indirect
38-
github.com/fatih/color v1.13.0 // indirect
39-
github.com/fsnotify/fsnotify v1.5.4 // indirect
40-
github.com/go-git/gcfg v1.5.0 // indirect
41-
github.com/go-git/go-billy/v5 v5.3.1 // indirect
41+
github.com/emirpasic/gods v1.18.1 // indirect
42+
github.com/fatih/color v1.16.0 // indirect
43+
github.com/felixge/httpsnoop v1.0.4 // indirect
44+
github.com/fsnotify/fsnotify v1.7.0 // indirect
45+
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
46+
github.com/go-git/go-billy/v5 v5.5.0 // indirect
4247
github.com/go-logr/logr v1.4.2 // indirect
4348
github.com/go-logr/stdr v1.2.2 // indirect
49+
github.com/go-ole/go-ole v1.2.6 // indirect
4450
github.com/gogo/protobuf v1.3.2 // indirect
4551
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
4652
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
4753
github.com/google/uuid v1.6.0 // indirect
4854
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 // indirect
49-
github.com/imdario/mergo v0.3.12 // indirect
5055
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
51-
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect
52-
github.com/magiconair/properties v1.8.6 // indirect
53-
github.com/mattn/go-colorable v0.1.12 // indirect
54-
github.com/mattn/go-isatty v0.0.14 // indirect
55-
github.com/mitchellh/go-homedir v1.1.0 // indirect
56-
github.com/moby/sys/mount v0.3.3 // indirect
57-
github.com/moby/sys/mountinfo v0.6.2 // indirect
58-
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
56+
github.com/kevinburke/ssh_config v1.2.0 // indirect
57+
github.com/klauspost/compress v1.17.4 // indirect
58+
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
59+
github.com/magiconair/properties v1.8.7 // indirect
60+
github.com/mattn/go-colorable v0.1.13 // indirect
61+
github.com/mattn/go-isatty v0.0.20 // indirect
62+
github.com/moby/docker-image-spec v1.3.1 // indirect
63+
github.com/moby/patternmatcher v0.6.0 // indirect
64+
github.com/moby/sys/sequential v0.5.0 // indirect
65+
github.com/moby/sys/user v0.1.0 // indirect
66+
github.com/moby/term v0.5.0 // indirect
5967
github.com/morikuni/aec v1.0.0 // indirect
6068
github.com/opencontainers/go-digest v1.0.0 // indirect
61-
github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 // indirect
62-
github.com/opencontainers/runc v1.1.3 // indirect
69+
github.com/opencontainers/image-spec v1.1.0 // indirect
70+
github.com/pjbgf/sha1cd v0.3.0 // indirect
6371
github.com/pmezard/go-difflib v1.0.0 // indirect
64-
github.com/sergi/go-diff v1.1.0 // indirect
65-
github.com/sirupsen/logrus v1.8.1 // indirect
66-
github.com/xanzy/ssh-agent v0.3.0 // indirect
67-
go.opencensus.io v0.23.0 // indirect
72+
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
73+
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
74+
github.com/shirou/gopsutil/v3 v3.23.12 // indirect
75+
github.com/shoenig/go-m1cpu v0.1.6 // indirect
76+
github.com/sirupsen/logrus v1.9.3 // indirect
77+
github.com/skeema/knownhosts v1.2.2 // indirect
78+
github.com/tklauser/go-sysconf v0.3.12 // indirect
79+
github.com/tklauser/numcpus v0.6.1 // indirect
80+
github.com/xanzy/ssh-agent v0.3.3 // indirect
81+
github.com/yusufpapurcu/wmi v1.2.3 // indirect
6882
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
83+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
6984
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.33.0 // indirect
7085
go.opentelemetry.io/proto/otlp v1.4.0 // indirect
7186
golang.org/x/crypto v0.30.0 // indirect
@@ -76,7 +91,8 @@ require (
7691
golang.org/x/term v0.27.0 // indirect
7792
golang.org/x/text v0.21.0 // indirect
7893
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
79-
google.golang.org/genproto v0.0.0-20220617124728-180714bec0ad // indirect
94+
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect
95+
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
8096
google.golang.org/grpc v1.68.1 // indirect
8197
google.golang.org/protobuf v1.35.2 // indirect
8298
gopkg.in/warnings.v0 v0.1.2 // indirect

0 commit comments

Comments
 (0)