From 8b29af01c8fe972790286efb8e62735b8269c5cd Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Thu, 23 Jan 2025 12:41:09 +0000 Subject: [PATCH] [v10.4.x] Remove codespell (#99435) --- .codespellignore | 6 ------ .drone.yml | 12 +----------- scripts/drone/pipelines/docs.star | 2 -- scripts/drone/steps/lib.star | 10 ---------- 4 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 .codespellignore diff --git a/.codespellignore b/.codespellignore deleted file mode 100644 index 9ed49bf7d70..00000000000 --- a/.codespellignore +++ /dev/null @@ -1,6 +0,0 @@ -aks -eror -iam -wan -[Operato Windrose](https://grafana.com/grafana/plugins/operato-windrose-panel/) -sergent diff --git a/.drone.yml b/.drone.yml index 12b048c7d0f..6afc06a65b2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1172,11 +1172,6 @@ steps: depends_on: [] image: node:20.9.0-alpine name: yarn-install -- commands: - - pip3 install codespell - - codespell -I .codespellignore docs/ - image: python:3.8 - name: codespell - commands: - yarn run prettier:checkDocs depends_on: @@ -1564,11 +1559,6 @@ steps: depends_on: [] image: node:20.9.0-alpine name: yarn-install -- commands: - - pip3 install codespell - - codespell -I .codespellignore docs/ - image: python:3.8 - name: codespell - commands: - yarn run prettier:checkDocs depends_on: @@ -4901,6 +4891,6 @@ kind: secret name: gcr_credentials --- kind: signature -hmac: 2f35a675be53074c2af9c80d02d69871c7c0c2856b73ac7f6a4ac270a3ad4aa7 +hmac: 07c931502e8c8937fb69a78a2d4c3d92e6d162f1b9958a18a1c13e529011b2f6 ... diff --git a/scripts/drone/pipelines/docs.star b/scripts/drone/pipelines/docs.star index 536749b9e04..7b1f63642bc 100644 --- a/scripts/drone/pipelines/docs.star +++ b/scripts/drone/pipelines/docs.star @@ -5,7 +5,6 @@ This module returns all the pipelines used in the event of documentation changes load( "scripts/drone/steps/lib.star", "build_docs_website_step", - "codespell_step", "identify_runner_step", "verify_gen_cue_step", "yarn_install_step", @@ -33,7 +32,6 @@ def docs_pipelines(ver_mode, trigger): steps = [ identify_runner_step(), yarn_install_step(), - codespell_step(), lint_docs(), build_docs_website_step(), verify_gen_cue_step(), diff --git a/scripts/drone/steps/lib.star b/scripts/drone/steps/lib.star index 1af49ec63e2..6181a8a14d8 100644 --- a/scripts/drone/steps/lib.star +++ b/scripts/drone/steps/lib.star @@ -746,16 +746,6 @@ def frontend_metrics_step(trigger = None): step = dict(step, when = trigger) return step -def codespell_step(): - return { - "name": "codespell", - "image": images["python"], - "commands": [ - "pip3 install codespell", - "codespell -I .codespellignore docs/", - ], - } - def grafana_server_step(): """Runs the grafana-server binary as a service.