Skip to content

Commit e2c2169

Browse files
committed
Remove vendor directory
1 parent 008dfd5 commit e2c2169

File tree

2,605 files changed

+7
-1053189
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,605 files changed

+7
-1053189
lines changed

.github/workflows/test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ jobs:
77
runs-on: ubuntu-latest
88
name: Go test
99
steps:
10-
- uses: actions/checkout@master
11-
- uses: actions/setup-go@v3
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-go@v5
1212
with:
1313
go-version: "1.24.2"
1414
- run: |
@@ -17,10 +17,10 @@ jobs:
1717
runs-on: ubuntu-latest
1818
name: Go build
1919
steps:
20-
- uses: actions/checkout@master
21-
- uses: actions/setup-go@v3
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-go@v5
2222
with:
2323
go-version: "1.24.2"
2424
- run: |
25-
go build -mod=vendor -o operator github.com/movetokube/postgres-operator/cmd/manager
25+
go build -o operator github.com/movetokube/postgres-operator/cmd/manager
2626
file operator

Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,17 @@ build:
77
operator-sdk build movetokube/postgres-operator
88
docker push movetokube/postgres-operator
99
unit-test:
10-
go test ./... -mod vendor -coverprofile coverage.out
10+
go test ./... -coverprofile coverage.out
1111
go tool cover -func coverage.out
1212
unit-test-coverage: unit-test
1313
go tool cover -html coverage.out
1414
linux-docker:
1515
@docker run -ti -v $(PWD):/work golang:1.24-bookworm /bin/bash
1616
linux-build:
17-
@GOBIN=/work/bin GO111MODULE=on GOOS=linux GOARC=x86_64 go build --mod=vendor -o operator github.com/movetokube/postgres-operator/cmd/manager
17+
@GOBIN=/work/bin GO111MODULE=on GOOS=linux GOARC=x86_64 go build -o operator github.com/movetokube/postgres-operator/cmd/manager
1818
docker-build:
1919
docker run -ti -v $(PWD):/work -w /work golang:1.24-bookworm make linux-build
2020
e2e-build:
2121
docker buildx build -t postgres-operator:build -f ./build/Dockerfile.dist .
2222
e2e: e2e-build
2323
kubectl kuttl test --config ./tests/kuttl-test-self-hosted-postgres.yaml
24-

vendor/cloud.google.com/go/LICENSE

-202
This file was deleted.

vendor/cloud.google.com/go/compute/metadata/.repo-metadata.json

-12
This file was deleted.

0 commit comments

Comments
 (0)