From 92acd858f4f9aa0205c701d11e1c9b301d41b70d Mon Sep 17 00:00:00 2001 From: "Jose A. Rivera" Date: Wed, 8 May 2024 11:15:35 -0500 Subject: [PATCH] fix: operation --- .github/workflows/ocs-operator-ci.yaml | 2 +- tools/volume-migration/Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ocs-operator-ci.yaml b/.github/workflows/ocs-operator-ci.yaml index 4f43597ba6..f98e348cdd 100644 --- a/.github/workflows/ocs-operator-ci.yaml +++ b/.github/workflows/ocs-operator-ci.yaml @@ -38,7 +38,7 @@ jobs: - uses: golangci/golangci-lint-action@v3 with: version: v1.54.2 - args: "--out-format=colored-line-number --timeout=6m --skip-dirs='tools/volume-migration' ./..." + args: "--out-format=colored-line-number --timeout=6m ./..." go-test: name: go test diff --git a/tools/volume-migration/Dockerfile b/tools/volume-migration/Dockerfile index fe503eac7b..cc22089a59 100644 --- a/tools/volume-migration/Dockerfile +++ b/tools/volume-migration/Dockerfile @@ -30,6 +30,7 @@ COPY services/ services/ COPY tools/ tools/ +# RUN GOOS="$GOOS" GOARCH="$GOARCH" go test -ldflags "$LDFLAGS" -v -cover ./tools/volume-migration/ RUN GOOS="$GOOS" GOARCH="$GOARCH" go build -ldflags "$LDFLAGS" -tags netgo,osusergo -o volume-migration ./tools/volume-migration/ RUN chmod +x volume-migration