Skip to content

Commit

Permalink
a tak?
Browse files Browse the repository at this point in the history
Signed-off-by: Yuriy Losev <[email protected]>
  • Loading branch information
yalosev committed Dec 1, 2023
1 parent 5671d41 commit 1553f69
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/ci_templates/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ docker_options: '-w /deckhouse/dhctl -v ~/go-pkg-cache:/go/pkg'

{!{ define "golangci_lint_run_args" }!}
# <template: golangci_lint_run_args>
args: 'sh -c "go generate tools/register.go && golangci-lint run --build-tags=\"-buildvcs=false\""'
args: 'sh -c "go generate tools/register.go && GOFLAGS=\"-buildvcs=false\" golangci-lint run"'
docker_options: '-w /deckhouse -v ${{github.workspace}}:/deckhouse -e "TERM=xterm-256color" -v ~/go-pkg-cache:/go/pkg'
# </template: golangci_lint_run_args>
{!{- end -}!}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ jobs:
echo "⚓️ 📥 [$(date -u)] Pull 'tests' image..."
docker pull ${TESTS_IMAGE_NAME}
echo "⚓️ 🏎 [$(date -u)] Run tests..."
docker run -w /deckhouse -v ${{github.workspace}}:/deckhouse -e "TERM=xterm-256color" -v ~/go-pkg-cache:/go/pkg ${TESTS_IMAGE_NAME} sh -c "go generate tools/register.go && golangci-lint run --build-tags=\"-buildvcs=false\""
docker run -w /deckhouse -v ${{github.workspace}}:/deckhouse -e "TERM=xterm-256color" -v ~/go-pkg-cache:/go/pkg ${TESTS_IMAGE_NAME} sh -c "go generate tools/register.go && GOFLAGS=\"-buildvcs=false\" golangci-lint run"
# </template: tests_template>

openapi_test_cases:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test_pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ jobs:
echo "⚓️ 📥 [$(date -u)] Pull 'tests' image..."
docker pull ${TESTS_IMAGE_NAME}
echo "⚓️ 🏎 [$(date -u)] Run tests..."
docker run -w /deckhouse -v ${{github.workspace}}:/deckhouse -e "TERM=xterm-256color" -v ~/go-pkg-cache:/go/pkg ${TESTS_IMAGE_NAME} sh -c "go generate tools/register.go && golangci-lint run --build-tags=\"-buildvcs=false\""
docker run -w /deckhouse -v ${{github.workspace}}:/deckhouse -e "TERM=xterm-256color" -v ~/go-pkg-cache:/go/pkg ${TESTS_IMAGE_NAME} sh -c "go generate tools/register.go && GOFLAGS=\"-buildvcs=false\" golangci-lint run"
# </template: tests_template>

openapi_test_cases:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1930,7 +1930,7 @@ jobs:
echo "⚓️ 📥 [$(date -u)] Pull 'tests' image..."
docker pull ${TESTS_IMAGE_NAME}
echo "⚓️ 🏎 [$(date -u)] Run tests..."
docker run -w /deckhouse -v ${{github.workspace}}:/deckhouse -e "TERM=xterm-256color" -v ~/go-pkg-cache:/go/pkg ${TESTS_IMAGE_NAME} sh -c "go generate tools/register.go && golangci-lint run --build-tags=\"-buildvcs=false\""
docker run -w /deckhouse -v ${{github.workspace}}:/deckhouse -e "TERM=xterm-256color" -v ~/go-pkg-cache:/go/pkg ${TESTS_IMAGE_NAME} sh -c "go generate tools/register.go && GOFLAGS=\"-buildvcs=false\" golangci-lint run"
# </template: tests_template>
# <template: update_comment_on_finish>
- name: Update comment on finish
Expand Down

0 comments on commit 1553f69

Please sign in to comment.