mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2026-08-20 07:42:40 +00:00
Added docker compose to check broken links
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
FROM node:latest
|
||||||
|
|
||||||
|
WORKDIR /usr/app
|
||||||
|
RUN npm install linkinator
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
npx linkinator https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/ --config config.json
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
npx linkinator https://flightcontrol-master.github.io/MOOSE_DOCS/ --config /moose/config.json
|
||||||
@@ -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
|
||||||
|
}
|
||||||
@@ -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/
|
||||||
Reference in New Issue
Block a user