Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Commits
43277516
Commit
43277516
authored
3 years ago
by
bikerdanny
Browse files
Options
Downloads
Patches
Plain Diff
Added Dockerfile for linter and linkchecker
parent
8f456146
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+7
-3
7 additions, 3 deletions
.gitlab-ci.yml
linkchecker/Dockerfile
+8
-0
8 additions, 0 deletions
linkchecker/Dockerfile
linter/Dockerfile
+12
-0
12 additions, 0 deletions
linter/Dockerfile
linter/config.json
+22
-0
22 additions, 0 deletions
linter/config.json
with
49 additions
and
3 deletions
.gitlab-ci.yml
+
7
−
3
View file @
43277516
# Datei: .gitlab-ci.yml
variables
:
GIT_STRATEGY
:
clone
TEST_IMAGE
:
webpage:${CI_COMMIT_REF_NAME}
TEST_NETWORK
:
testnet
TEST_IMAGE
:
webpage:base
LINTER_IMAGE
:
webpage:linter
LINKCHECKER_IMAGE
:
webpage:linkchecker
stages
:
-
build
...
...
@@ -13,5 +14,8 @@ build:
-
pwd
-
ls -l
-
'
echo
"TEST_IMAGE:
${TEST_IMAGE}"'
-
'
echo
"TEST_NETWORK:
${TEST_NETWORK}"'
-
'
echo
"LINTER_IMAGE:
${LINTER_IMAGE}"'
-
'
echo
"LINKCHECKER_IMAGE:
${LINKCHECKER_IMAGE}"'
-
docker build -t ${TEST_IMAGE} .
-
docker build -t ${LINTER_IMAGE} linter/
-
docker build -t ${LINKCHECKER_IMAGE} linkchecker/
This diff is collapsed.
Click to expand it.
linkchecker/Dockerfile
0 → 100644
+
8
−
0
View file @
43277516
FROM
webpage:base
RUN
apt update
&&
apt
install
-y
nodejs npm
RUN
npm
install
-g
markdown-link-check
WORKDIR
/src/linkchecker
This diff is collapsed.
Click to expand it.
linter/Dockerfile
0 → 100644
+
12
−
0
View file @
43277516
FROM
webpage:base
RUN
apt update
&&
apt
install
-y
nodejs npm
RUN
npm
install
-g
markdownlint-cli
WORKDIR
/src/linter
ENTRYPOINT
["/usr/local/bin/markdownlint"]
CMD
["--help"]
This diff is collapsed.
Click to expand it.
linter/config.json
0 → 100644
+
22
−
0
View file @
43277516
{
"default"
:
false
,
"first-heading-h1"
:
true
,
"header-increment"
:
true
,
"heading-style"
:
{
"style"
:
"atx"
},
"no-missing-space-atx"
:
true
,
"no-multiple-space-atx"
:
true
,
"blanks-around-headings"
:
true
,
"no-emphasis-as-heading"
:
true
,
"first-line-heading"
:
true
,
"single-title"
:
true
,
"no-empty-links"
:
true
,
"no-alt-text"
:
true
,
"no-multiple-blanks"
:
true
,
"single-trailing-newline"
:
true
,
"blanks-around-fences"
:
true
,
"blanks-around-lists"
:
true
,
"commands-show-output"
:
true
,
"line-length"
:
{
"line_length"
:
100
,
"code_blocks"
:
false
,
"tables"
:
false
},
"no-missing-space-atx"
:
true
,
"no-multiple-space-atx"
:
true
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment