Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,7 @@ hugo_setup_steps: &hugo_setup_steps
sudo mv hugo /usr/bin/hugo

jobs:
linkcheck_prod:
<<: *defaults_eks
steps:
- checkout
- run:
name: Link Check Production
command: |
make linkcheck

build_staging:
<<: *defaults_py
steps:
Expand Down Expand Up @@ -234,9 +227,3 @@ workflows:
filters:
branches:
only: master
- linkcheck_prod:
requires:
- deploy_sleep
filters:
branches:
only: master
42 changes: 0 additions & 42 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,45 +40,3 @@ setup:
mkdir -p java
curl -o java/swagger2markup-cli-1.3.1.jar http://central.maven.org/maven2/io/github/swagger2markup/swagger2markup-cli/1.3.1/swagger2markup-cli-1.3.1.jar
curl -o java/swagger2markup-1.3.1.jar http://central.maven.org/maven2/io/github/swagger2markup/swagger2markup/1.3.1/swagger2markup-1.3.1.jar


deps_linkcheck:
npm install -g broken-link-checker@0.7.8

# this skips *all* of community, but its a start
# it only really works against prod right now, but with some more exclusions
# it could probably work for staging as well. Notably, we have no community
# in staging. For now just want to run this in prod and see how it feels,
# not blocking any builds yet.
#
# Will try to run deps_linkcheck unless `blc` is installed globally somewhere
linkcheck:
[[ -x "$(shell which blc)" ]] || $(MAKE) deps_linkcheck && \
blc https://help.replicated.com -r \
--host-requests 20 \
--requests 20 \
\
--exclude 'server:8800' \
--exclude '10.128.0.4' \
--exclude 'get.company.com/docker' \
--exclude 'auditlog.mycompany.com' \
--exclude 'registry.mycompany.com' \
--exclude 'tail.mycompany.com' \
\
--exclude 'registry.replicated.com' \
--exclude 'registry-data.replicated.com' \
--exclude 'api.replicated.com' \
--exclude 'get.replicated.com' \
--exclude 'www.replicated.com/ship' \
\
--exclude 'help.replicated.com/community' \
--exclude 'help.replicated.com/tos' \
--exlcude 'help.replicated.com/faq' \
--exclude 'help.replicated.com/privacy' \
--exclude 'help.replicated.com/guidelines' \
\
--exclude 'microsoft.com' \
--exclude 'golang.org' \
--exclude 'circleci.com' \
\
--color=always | grep -E 'Getting|Finished|BROKEN|^$$'