Skip to content

Commit e55ecf9

Browse files
crenshaw-devalexmt
andauthored
chore: remove lint-docs CI task (#8722) (#8858)
* chore: remove lint-docs CI task Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * chore: remove not longer necessary url-allow-list Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
1 parent 21f208f commit e55ecf9

File tree

3 files changed

+0
-91
lines changed

3 files changed

+0
-91
lines changed

.github/workflows/ci-build.yaml

-17
Original file line numberDiff line numberDiff line change
@@ -427,20 +427,3 @@ jobs:
427427
name: e2e-server-k8s${{ matrix.k3s-version }}.log
428428
path: /tmp/e2e-server.log
429429
if: ${{ failure() }}
430-
431-
lint-docs:
432-
name: Lint docs
433-
runs-on: ubuntu-latest
434-
steps:
435-
- name: Checkout code
436-
uses: actions/checkout@v2
437-
- name: Setup Python
438-
uses: actions/setup-python@v2
439-
with:
440-
python-version: '3.x'
441-
- name: Install dependencies
442-
run: |
443-
pip install -r docs/requirements.txt
444-
- name: Lint docs
445-
run: |
446-
make lint-docs

Makefile

-4
Original file line numberDiff line numberDiff line change
@@ -509,10 +509,6 @@ serve-docs-local:
509509
serve-docs:
510510
docker run ${MKDOCS_RUN_ARGS} --rm -it -p 8000:8000 -v ${CURRENT_DIR}:/docs ${MKDOCS_DOCKER_IMAGE} serve -a 0.0.0.0:8000
511511

512-
.PHONY: lint-docs
513-
lint-docs:
514-
# https://github.com/dkhamsing/awesome_bot
515-
find docs -name '*.md' -exec grep -l http {} + | xargs docker run --rm -v $(PWD):/mnt:ro dkhamsing/awesome_bot -t 3 --allow-dupe --allow-redirect --allow-timeout --allow-ssl --allow 502,500,429,400 --white-list `cat docs/url-allow-list | grep -v "#" | tr "\n" ','` --skip-save-results --
516512

517513
# Verify that kubectl can connect to your K8s cluster from Docker
518514
.PHONY: verify-kube-connect

docs/url-allow-list

-70
This file was deleted.

0 commit comments

Comments
 (0)