Skip to content

Commit

Permalink
fix: compilation error
Browse files Browse the repository at this point in the history
chore: removed old dependencies
  • Loading branch information
JeremyTheocharis committed Oct 22, 2024
1 parent b617d7e commit 85d0a3a
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 12,688 deletions.
49 changes: 0 additions & 49 deletions .devcontainer/Dockerfile

This file was deleted.

36 changes: 0 additions & 36 deletions .devcontainer/devcontainer.json

This file was deleted.

9 changes: 0 additions & 9 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,8 @@ tasks:
&& sudo apt-get update -q \
&& sudo apt-get install -yq tailscale jq \
&& sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-nft
- init: |
nvm install
npm install
sudo apt-get install zip
echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list
sudo apt update
sudo apt install goreleaser=1.26.2 --yes
make
- command: |
gp sync-await docker
npm run lint
make test
- command: |
cd tests
Expand Down
28 changes: 0 additions & 28 deletions .golangci.yml

This file was deleted.

1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

17 changes: 0 additions & 17 deletions .vscode/launch.json

This file was deleted.

16 changes: 7 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,20 @@ clean:

target:
@mkdir -p tmp/bin
@goreleaser build --single-target --snapshot --id benthos \
--output ./tmp/bin/benthos
@go build \
-ldflags "-s -w \
-X github.com/redpanda-data/benthos/v4/internal/cli.Version=temp \
-X github.com/redpanda-data/benthos/v4/internal/cli.DateBuilt=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
-o tmp/bin/benthos \
cmd/benthos/main.go

test:
@ginkgo -r --output-interceptor-mode=none --github-output -vv -trace -p --randomize-all --cover --coverprofile=cover.profile --repeat=2 ./...

lint:
@golangci-lint run

format:
@golangci-lint run --fix

update-benthos:
@go get github.com/redpanda-data/connect/public/bundle/free/v4@latest && \
go get github.com/redpanda-data/connect/v4@latest && \
go get github.com/redpanda-data/benthos/v4@latest && \
go mod tidy

.PHONY: clean target test lint format update-benthos
.PHONY: clean target test update-benthos
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ require (
github.com/RuneRoven/benthosADS v1.0.4
github.com/RuneRoven/benthosAlarm v1.0.0
github.com/RuneRoven/benthosSMTP v0.0.1
github.com/goccy/go-json v0.10.2
github.com/gopcua/opcua v0.5.3
github.com/grid-x/modbus v0.0.0-20240503115206-582f2ab60a18
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/gomega v1.34.1
github.com/redpanda-data/benthos/v4 v4.38.0
github.com/redpanda-data/connect/public/bundle/free/v4 v4.31.0
github.com/x448/float16 v0.8.4
go.uber.org/zap v1.27.0
)

require (
Expand Down Expand Up @@ -156,7 +158,6 @@ require (
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
github.com/go-sql-driver/mysql v1.8.1 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/gocql/gocql v1.6.0 // indirect
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
Expand Down Expand Up @@ -308,7 +309,6 @@ require (
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/mod v0.20.0 // indirect
golang.org/x/oauth2 v0.22.0 // indirect
golang.org/x/term v0.23.0 // indirect
Expand Down
17 changes: 0 additions & 17 deletions index.js

This file was deleted.

Loading

0 comments on commit 85d0a3a

Please sign in to comment.