Run codespell only on docs changes (#55064)

This commit is contained in:
Dimitris Sotirakis 2022-09-14 16:32:08 +03:00 committed by GitHub
parent 896eeb65a9
commit 8b38f9408d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 77 deletions

View File

@ -167,18 +167,6 @@ steps:
- verify-gen-cue
image: grafana/build-container:1.6.2
name: wire-install
- commands:
- |-
echo -e "unknwon
referer
errorstring
eror
iam
wan" > words_to_ignore.txt
- codespell -I words_to_ignore.txt docs/
- rm words_to_ignore.txt
image: grafana/build-container:1.6.2
name: codespell
- commands:
- make lint-go
depends_on:
@ -921,18 +909,6 @@ steps:
- verify-gen-cue
image: grafana/build-container:1.6.2
name: wire-install
- commands:
- |-
echo -e "unknwon
referer
errorstring
eror
iam
wan" > words_to_ignore.txt
- codespell -I words_to_ignore.txt docs/
- rm words_to_ignore.txt
image: grafana/build-container:1.6.2
name: codespell
- commands:
- make lint-go
depends_on:
@ -2071,18 +2047,6 @@ steps:
CGO_ENABLED: 0
image: golang:1.19.1
name: compile-build-cmd
- commands:
- |-
echo -e "unknwon
referer
errorstring
eror
iam
wan" > words_to_ignore.txt
- codespell -I words_to_ignore.txt docs/
- rm words_to_ignore.txt
image: grafana/build-container:1.6.2
name: codespell
- commands:
- make lint-go
depends_on:
@ -2736,18 +2700,6 @@ steps:
- init-enterprise
image: grafana/build-container:1.6.2
name: verify-gen-cue
- commands:
- |-
echo -e "unknwon
referer
errorstring
eror
iam
wan" > words_to_ignore.txt
- codespell -I words_to_ignore.txt docs/
- rm words_to_ignore.txt
image: grafana/build-container:1.6.2
name: codespell
- commands:
- make lint-go
depends_on:
@ -4008,18 +3960,6 @@ steps:
CGO_ENABLED: 0
image: golang:1.19.1
name: compile-build-cmd
- commands:
- |-
echo -e "unknwon
referer
errorstring
eror
iam
wan" > words_to_ignore.txt
- codespell -I words_to_ignore.txt docs/
- rm words_to_ignore.txt
image: grafana/build-container:1.6.2
name: codespell
- commands:
- make lint-go
depends_on:
@ -4637,18 +4577,6 @@ steps:
- init-enterprise
image: grafana/build-container:1.6.2
name: verify-gen-cue
- commands:
- |-
echo -e "unknwon
referer
errorstring
eror
iam
wan" > words_to_ignore.txt
- codespell -I words_to_ignore.txt docs/
- rm words_to_ignore.txt
image: grafana/build-container:1.6.2
name: codespell
- commands:
- make lint-go
depends_on:
@ -5127,6 +5055,6 @@ kind: secret
name: packages_secret_access_key
---
kind: signature
hmac: f8201ab7fe1632df9158ee66cc0a9bff140e9a7e4b2044b34b8e4e30d424aaad
hmac: 5ddbaf0b3a60ffec387d728b2141c59a4875d72108a71b2ee0baf278d2b4e939
...

View File

@ -12,7 +12,6 @@ load(
'publish_image',
'lint_backend_step',
'lint_frontend_step',
'codespell_step',
'test_backend_step',
'test_backend_integration_step',
'test_frontend_step',
@ -171,7 +170,6 @@ def get_steps(edition, ver_mode):
test_steps = []
test_steps.extend([
codespell_step(),
lint_backend_step(edition=edition),
lint_frontend_step(),
test_backend_step(edition=edition),

View File

@ -3,7 +3,6 @@ load(
'identify_runner_step',
'download_grabpl_step',
'wire_install_step',
'codespell_step',
'lint_backend_step',
'lint_drone_step',
'test_backend_step',
@ -26,7 +25,6 @@ def test_backend(trigger, ver_mode):
wire_install_step(),
]
test_steps = [
codespell_step(),
lint_backend_step(edition="oss"),
test_backend_step(edition="oss"),
test_backend_integration_step(edition="oss"),