From 9aeea0b974f4c5e065ed31e74d6c813e6e2dfcac Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Tue, 21 Mar 2023 11:54:22 +0300 Subject: [PATCH] [#153] ci: Minor pipeline fixes - We can skip full pre-commit run - On a very slow agent golangci run may take up to 10 minutes Signed-off-by: Stanislav Bogatyrev --- .golangci.yml | 2 +- .woodpecker/full-pre-commit.yml | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 .woodpecker/full-pre-commit.yml diff --git a/.golangci.yml b/.golangci.yml index ac77301b6..fae355a3d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,7 +4,7 @@ # options for analysis running run: # timeout for analysis, e.g. 30s, 5m, default is 1m - timeout: 5m + timeout: 10m # include test files or not, default is true tests: false diff --git a/.woodpecker/full-pre-commit.yml b/.woodpecker/full-pre-commit.yml deleted file mode 100644 index 4aa62c1c0..000000000 --- a/.woodpecker/full-pre-commit.yml +++ /dev/null @@ -1,11 +0,0 @@ -pipeline: - # Kludge for non-root containers under WoodPecker - fix-ownership: - image: alpine:latest - commands: chown -R 1234:1234 . - - full-pre-commit: - image: git.frostfs.info/truecloudlab/frostfs-ci:v0.36 - commands: - - export HOME="$(getent passwd $(id -u) | cut '-d:' -f6)" - - pre-commit run -a