Skip to content
Snippets Groups Projects
Commit 1066684f authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

Merge branch 'mdbook' into 'master'

Mdbook

See merge request cocsn/gosdn!52
parents bf266b80 813d8ece
No related branches found
No related tags found
2 merge requests!54Resolve "Restructure Project Directory Structure",!52Mdbook
Pipeline #52745 passed
......@@ -3,8 +3,7 @@ variables:
stages:
- test
- compliance
- build
- documentation
before_script:
- git config --global url."https://$GO_MODULES_USER:$GO_MODULES_ACCESS_TOKEN@code.fbi.h-da.de".insteadOf "https://code.fbi.h-da.de"
......@@ -40,14 +39,14 @@ code-quality:
paths:
- gl-code-quality-report.json
Documentation:
documentation:pdf:
before_script:
- pwd
image:
name: pandoc/latex
entrypoint:
- ''
stage: build
stage: documentation
rules:
- changes:
- documentation/design/*.md
......@@ -59,18 +58,39 @@ Documentation:
paths:
- documentation/design/documentation.pdf
.mdbook_common: &rust
before_script:
- cargo install mdbook
image:
name: rustdocker/rust:stable
stage: documentation
script:
- pwd
- ls
- mdbook build documentation --dest-dir public
cache:
paths:
- /root/.cargo/
documentation:static:
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
artifacts:
paths:
- public
expire_in: 1 week
<<: *rust
documentation:test:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
<<: *rust
sast:
variables:
SAST_ANALYZER_IMAGE_TAG: '2'
SAST_EXCLUDED_PATHS: spec, test, tests, tmp
SEARCH_MAX_DEPTH: '4'
stage: compliance
license_scanning:
stage: compliance
gemnasium-dependency_scanning:
stage: compliance
include:
- template: Security/SAST.gitlab-ci.yml
......
# goSDN Documentation
- [Introduction](design/01-introduction.md)
- [Related Work](design/02-related-work.md)
- [Theoretical Background](design/03-theoretical-background.md)
- [Conceptual Design](design/04-conceptual-design.md)
- [Implementation](design/05-implementation.md)
\ No newline at end of file
[book]
authors = []
language = "en"
multilingual = false
src = "."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment