Update linter versions #308

Merged
alexvanin merged 2 commits from alexvanin/frostfs-s3-gw:fix/linter-per-pr into master 2024-02-20 10:57:46 +00:00
There is no content yet.
alexvanin added 1 commit 2024-02-08 15:07:47 +00:00
/ Builds (1.20) (pull_request) Has been cancelled Details
/ Builds (1.21) (pull_request) Has been cancelled Details
/ Vulncheck (pull_request) Has been cancelled Details
/ DCO (pull_request) Has been cancelled Details
/ Lint (pull_request) Failing after 5m36s Details
/ Tests (1.20) (pull_request) Successful in 5m2s Details
/ Tests (1.21) (pull_request) Successful in 4m49s Details
9812b2ce9f
[#xxx] Use new-from-rev flag for linter check
Improves check speed and ignores linter error
(should be fixed after TrueCloudLab/linters#16)

Signed-off-by: Alex Vanin <a.vanin@yadro.com>

Just wondering, what was the trigger to do this? Do we have some problems or is it time/resources of the runner?

Just wondering, what was the trigger to do this? Do we have some problems or is it time/resources of the runner?
alexvanin force-pushed fix/linter-per-pr from 9812b2ce9f to 5088448048 2024-02-08 15:26:57 +00:00 Compare
Poster
Owner

Do we have some problems or is it time/resources of the runner?

While TrueCloudLab/linters#16 is in-progress, I decided to see if new-from-rev approach is working, after seeing you using ${{ github.event.pull_request.base.ref }} in dco.yml.

Unfortunately, runner uses fork branches. event.pull_request.base.ref is resolved to origin/master and my forked master branch is a bit outdated. Therefore linter checks multiple commits instead of one in this PR.

> Do we have some problems or is it time/resources of the runner? While https://git.frostfs.info/TrueCloudLab/linters/issues/16 is in-progress, I decided to see if `new-from-rev` approach is working, after seeing you using `${{ github.event.pull_request.base.ref }}` in `dco.yml`. Unfortunately, runner uses fork branches. `event.pull_request.base.ref` is resolved to `origin/master` and my forked `master` branch is a bit outdated. Therefore linter checks multiple commits instead of one in this PR.
alexvanin added 2 commits 2024-02-16 15:10:57 +00:00
/ DCO (pull_request) Has been cancelled Details
/ Builds (1.20) (pull_request) Has started running Details
/ Builds (1.21) (pull_request) Has started running Details
/ Vulncheck (pull_request) Has been cancelled Details
/ Lint (pull_request) Failing after 1m38s Details
/ Tests (1.20) (pull_request) Successful in 2m12s Details
/ Tests (1.21) (pull_request) Successful in 2m4s Details
2ea0265160
Update linter version
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
alexvanin force-pushed fix/linter-per-pr from 2ea0265160 to b5bcdbe087 2024-02-16 15:20:19 +00:00 Compare
alexvanin force-pushed fix/linter-per-pr from b5bcdbe087 to 563c1d9bd7 2024-02-16 15:25:17 +00:00 Compare
Poster
Owner

With the new linter release, everything works just fine, so I dropped all other changes in this PR.

With the new linter release, everything works just fine, so I dropped all other changes in this PR.
alexvanin changed title from WIP: Use new-from-rev flag for linter check to Use new-from-rev flag for linter check 2024-02-16 15:32:54 +00:00
alexvanin changed title from Use new-from-rev flag for linter check to Update linter versions 2024-02-16 15:33:02 +00:00
alexvanin requested review from dkirillov 2024-02-16 15:33:20 +00:00
alexvanin requested review from pogpp 2024-02-16 15:33:20 +00:00
alexvanin requested review from ironbee 2024-02-16 15:33:20 +00:00
alexvanin requested review from achuprov 2024-02-16 15:33:21 +00:00
alexvanin requested review from mbiryukova 2024-02-16 15:33:21 +00:00
alexvanin requested review from r.loginov 2024-02-16 15:33:21 +00:00
mbiryukova approved these changes 2024-02-16 15:49:49 +00:00
ironbee approved these changes 2024-02-16 15:56:36 +00:00
dkirillov approved these changes 2024-02-19 06:29:04 +00:00
alexvanin merged commit 563c1d9bd7 into master 2024-02-20 10:57:46 +00:00
alexvanin deleted branch fix/linter-per-pr 2024-02-20 10:57:47 +00:00
alexvanin referenced this issue from a commit 2024-02-20 10:57:48 +00:00
Sign in to join this conversation.
There is no content yet.