mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Run codespell only on docs changes (#55064)
This commit is contained in:
committed by
GitHub
parent
896eeb65a9
commit
8b38f9408d
74
.drone.yml
74
.drone.yml
@@ -167,18 +167,6 @@ steps:
|
|||||||
- verify-gen-cue
|
- verify-gen-cue
|
||||||
image: grafana/build-container:1.6.2
|
image: grafana/build-container:1.6.2
|
||||||
name: wire-install
|
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:
|
- commands:
|
||||||
- make lint-go
|
- make lint-go
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -921,18 +909,6 @@ steps:
|
|||||||
- verify-gen-cue
|
- verify-gen-cue
|
||||||
image: grafana/build-container:1.6.2
|
image: grafana/build-container:1.6.2
|
||||||
name: wire-install
|
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:
|
- commands:
|
||||||
- make lint-go
|
- make lint-go
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -2071,18 +2047,6 @@ steps:
|
|||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
image: golang:1.19.1
|
image: golang:1.19.1
|
||||||
name: compile-build-cmd
|
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:
|
- commands:
|
||||||
- make lint-go
|
- make lint-go
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -2736,18 +2700,6 @@ steps:
|
|||||||
- init-enterprise
|
- init-enterprise
|
||||||
image: grafana/build-container:1.6.2
|
image: grafana/build-container:1.6.2
|
||||||
name: verify-gen-cue
|
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:
|
- commands:
|
||||||
- make lint-go
|
- make lint-go
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -4008,18 +3960,6 @@ steps:
|
|||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
image: golang:1.19.1
|
image: golang:1.19.1
|
||||||
name: compile-build-cmd
|
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:
|
- commands:
|
||||||
- make lint-go
|
- make lint-go
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -4637,18 +4577,6 @@ steps:
|
|||||||
- init-enterprise
|
- init-enterprise
|
||||||
image: grafana/build-container:1.6.2
|
image: grafana/build-container:1.6.2
|
||||||
name: verify-gen-cue
|
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:
|
- commands:
|
||||||
- make lint-go
|
- make lint-go
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -5127,6 +5055,6 @@ kind: secret
|
|||||||
name: packages_secret_access_key
|
name: packages_secret_access_key
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: f8201ab7fe1632df9158ee66cc0a9bff140e9a7e4b2044b34b8e4e30d424aaad
|
hmac: 5ddbaf0b3a60ffec387d728b2141c59a4875d72108a71b2ee0baf278d2b4e939
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ load(
|
|||||||
'publish_image',
|
'publish_image',
|
||||||
'lint_backend_step',
|
'lint_backend_step',
|
||||||
'lint_frontend_step',
|
'lint_frontend_step',
|
||||||
'codespell_step',
|
|
||||||
'test_backend_step',
|
'test_backend_step',
|
||||||
'test_backend_integration_step',
|
'test_backend_integration_step',
|
||||||
'test_frontend_step',
|
'test_frontend_step',
|
||||||
@@ -171,7 +170,6 @@ def get_steps(edition, ver_mode):
|
|||||||
test_steps = []
|
test_steps = []
|
||||||
|
|
||||||
test_steps.extend([
|
test_steps.extend([
|
||||||
codespell_step(),
|
|
||||||
lint_backend_step(edition=edition),
|
lint_backend_step(edition=edition),
|
||||||
lint_frontend_step(),
|
lint_frontend_step(),
|
||||||
test_backend_step(edition=edition),
|
test_backend_step(edition=edition),
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ load(
|
|||||||
'identify_runner_step',
|
'identify_runner_step',
|
||||||
'download_grabpl_step',
|
'download_grabpl_step',
|
||||||
'wire_install_step',
|
'wire_install_step',
|
||||||
'codespell_step',
|
|
||||||
'lint_backend_step',
|
'lint_backend_step',
|
||||||
'lint_drone_step',
|
'lint_drone_step',
|
||||||
'test_backend_step',
|
'test_backend_step',
|
||||||
@@ -26,7 +25,6 @@ def test_backend(trigger, ver_mode):
|
|||||||
wire_install_step(),
|
wire_install_step(),
|
||||||
]
|
]
|
||||||
test_steps = [
|
test_steps = [
|
||||||
codespell_step(),
|
|
||||||
lint_backend_step(edition="oss"),
|
lint_backend_step(edition="oss"),
|
||||||
test_backend_step(edition="oss"),
|
test_backend_step(edition="oss"),
|
||||||
test_backend_integration_step(edition="oss"),
|
test_backend_integration_step(edition="oss"),
|
||||||
|
|||||||
Reference in New Issue
Block a user