From b3ce967d0d08de81fc39404e0b4c375326f5fe2f Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Thu, 23 Jan 2025 12:41:24 +0000 Subject: [PATCH] [v11.1.x] Remove codespell (#99433) --- .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 2b76626f415..65904658e31 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1216,11 +1216,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: @@ -1601,11 +1596,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: @@ -4981,6 +4971,6 @@ kind: secret name: gcr_credentials --- kind: signature -hmac: 27e32d34ccdca70ed66bb8e2a0a118deb2c00380fb20218844fa5f402bc5436b +hmac: a90a2d08c346acd26e9b894cfb516d5d96e57e03adc885bb64c5e8c1e8942cae ... 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 c0bc138c809..6f2f6150ad5 100644 --- a/scripts/drone/steps/lib.star +++ b/scripts/drone/steps/lib.star @@ -725,16 +725,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.