mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2025-08-15 10:37:49 +00:00
Added docker compose to check broken links
This commit is contained in:
parent
9d72c56595
commit
9f4b94f9f6
4
docker/gh-pages-check/Dockerfile
Normal file
4
docker/gh-pages-check/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
FROM node:latest
|
||||
|
||||
WORKDIR /usr/app
|
||||
RUN npm install linkinator
|
||||
3
docker/gh-pages-check/check-dev.sh
Normal file
3
docker/gh-pages-check/check-dev.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
npx linkinator https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/ --config config.json
|
||||
3
docker/gh-pages-check/check.sh
Normal file
3
docker/gh-pages-check/check.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
npx linkinator https://flightcontrol-master.github.io/MOOSE_DOCS/ --config /moose/config.json
|
||||
15
docker/gh-pages-check/config.json
Normal file
15
docker/gh-pages-check/config.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"concurrency": 100,
|
||||
"config": "string",
|
||||
"recurse": true,
|
||||
"skip": "(wiki.hoggit.us|wiki.hoggitworld.com|Ops.FlightGroup|Ops.NavyGroup|Ops.ArmyGroup|Ops.Intel|Ops.Legion|Ops.Cohort|Ops.AirWing|Ops.PlayerTask|Ops.FlightControl|Ops.OpsGroup|Ops.OpsZone)",
|
||||
"Xskip": "(wiki.hoggit.us|wiki.hoggitworld.com|Ops.FlightGroup|Ops.NavyGroup|Ops.ArmyGroup|Ops.Intel|Ops.Legion|Ops.Cohort|Ops.AirWing|Ops.PlayerTask|Ops.FlightControl|Ops.OpsGroup|Ops.OpsZone|AI.AI_A2A_|AI.AI_A2G)",
|
||||
"Yskip": "(wiki.hoggit.us|wiki.hoggitworld.com)",
|
||||
"verbosity": "error",
|
||||
"Xsilent": true,
|
||||
"timeout": 1000,
|
||||
"retry": true,
|
||||
"retryErrors": true,
|
||||
"retryErrorsCount": 3,
|
||||
"retryErrorsJitter": 5
|
||||
}
|
||||
17
docker/gh-pages-check/docker-compose.yml
Normal file
17
docker/gh-pages-check/docker-compose.yml
Normal file
@ -0,0 +1,17 @@
|
||||
version: "3.5"
|
||||
|
||||
services:
|
||||
moose-gh-pages-checks:
|
||||
image: moose/gh-pages-checks
|
||||
#image: node:latest
|
||||
#image: joskfg/np
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: moose-gh-pages-checks
|
||||
volumes:
|
||||
- .:/moose
|
||||
stdin_open: true
|
||||
tty: true
|
||||
command: /bin/bash -c /moose/check.sh
|
||||
#command: npx linkinator https://flightcontrol-master.github.io/MOOSE/
|
||||
Loading…
x
Reference in New Issue
Block a user