From 7e75ba7798f3cbcf5917b511e4858911c9c1202f Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Thu, 23 Jan 2025 12:41:19 +0000 Subject: [PATCH] [v11.2.x] Remove codespell (#99431) --- .drone.yml | 12 +----------- docs/.codespellignore | 6 ------ scripts/drone/pipelines/docs.star | 2 -- scripts/drone/steps/lib.star | 10 ---------- 4 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 docs/.codespellignore diff --git a/.drone.yml b/.drone.yml index 55b536ef30a..7c4012c82dc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1306,11 +1306,6 @@ steps: depends_on: [] image: node:20.9.0-alpine name: yarn-install -- commands: - - pip3 install codespell - - codespell -I docs/.codespellignore docs/ - image: python:3.8 - name: codespell - commands: - yarn run prettier:checkDocs depends_on: @@ -1691,11 +1686,6 @@ steps: depends_on: [] image: node:20.9.0-alpine name: yarn-install -- commands: - - pip3 install codespell - - codespell -I docs/.codespellignore docs/ - image: python:3.8 - name: codespell - commands: - yarn run prettier:checkDocs depends_on: @@ -5705,6 +5695,6 @@ kind: secret name: gcr_credentials --- kind: signature -hmac: a63863f55ce7646ca090c519b4ba3c4ff8103b071097f827eafb7bad1aafcaac +hmac: ad2d35082af600bbcedefbc506dd4cd49bb89b48da000c0a840cc57256405f09 ... diff --git a/docs/.codespellignore b/docs/.codespellignore deleted file mode 100644 index 9ed49bf7d70..00000000000 --- a/docs/.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/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 1750d1dcf47..709c2efb038 100644 --- a/scripts/drone/steps/lib.star +++ b/scripts/drone/steps/lib.star @@ -733,16 +733,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 docs/.codespellignore docs/", - ], - } - def grafana_server_step(): """Runs the grafana-server binary as a service.