Skip to content

Commit

Permalink
chore(renovate): Ignore additional dependencies in renovate config (#129
Browse files Browse the repository at this point in the history
)

skip ci
  • Loading branch information
mozillazg authored Sep 8, 2024
1 parent b43d192 commit 0747113
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 5 deletions.
29 changes: 28 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,34 @@
],
"pinDigests": true,
"ignorePresets": [":prHourlyLimit2"],
"ignoreDeps": ["github.com/mozillazg/gopacket", "github.com/mozillazg/pktdump"],
"ignoreDeps": [
"github.com/mozillazg/gopacket",
"github.com/mozillazg/pktdump",
"github.com/Microsoft/hcsshim",
"github.com/Microsoft/hcsshim/test",
"github.com/containerd/containerd",
"github.com/docker/docker",
"go.opencensus.io",
"go.opentelemetry.io/contrib",
"go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc",
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp",
"go.opentelemetry.io/otel",
"go.opentelemetry.io/otel/exporters/otlp",
"go.opentelemetry.io/otel/metric",
"go.opentelemetry.io/otel/oteltest",
"go.opentelemetry.io/otel/sdk",
"go.opentelemetry.io/otel/sdk/export/metric",
"go.opentelemetry.io/otel/sdk/metric",
"go.opentelemetry.io/otel/trace",
"go.opentelemetry.io/proto/otlp",
"k8s.io/api",
"k8s.io/apimachinery",
"k8s.io/apiserver",
"k8s.io/client-go",
"k8s.io/component-base",
"k8s.io/cri-api",
"k8s.io/kubernetes"
],
"separateMajorMinor": true,
"separateMultipleMajor": true,
"separateMinorPatch": true,
Expand Down
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ CARCH ?= $(shell uname -m)
LIBPCAP_ARCH = $(CARCH)-unknown-linux-gnu
LIBPCAP_CC ?= gcc

IMAGE_BUILD ?= quay.io/ptcpdump/develop:latest

.PHONY: libpcap
libpcap: $(LIBPCAP_OBJ)

Expand Down Expand Up @@ -70,6 +72,17 @@ build-bpf:
TARGET=amd64 go generate ./...
TARGET=arm64 go generate ./...


.PHONY: build-bpf-via-docker
build-bpf-via-docker:
docker run --rm -v `pwd`:/app quay.io/ptcpdump/develop:latest make build-bpf


.PHONY: build-via-docker
build-via-docker:
docker run --rm -v `pwd`:/app quay.io/ptcpdump/develop:latest make build


.PHONY: lint
lint: deps fmt

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ Flags:
Or:
```
docker run --rm -v `pwd`:/app quay.io/ptcpdump/develop:latest make build-bpf
make build-bpf-via-docker
```
2. Build ptcpdump:
Expand All @@ -354,7 +354,7 @@ Flags:
Or:
```
docker run --rm -v `pwd`:/app quay.io/ptcpdump/develop:latest make build
make build-via-docker
```
<p align="right"><a href="#top">🔝</a></p>
4 changes: 2 additions & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ Flags:
Or:
```
docker run --rm -v `pwd`:/app quay.io/ptcpdump/develop:latest make build-bpf
make build-bpf-via-docker
```
Expand All @@ -375,7 +375,7 @@ Flags:
Or:
```
docker run --rm -v `pwd`:/app quay.io/ptcpdump/develop:latest make build
make build-via-docker
```
<p align="right"><a href="#top">🔝</a></p>

0 comments on commit 0747113

Please sign in to comment.