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

Merge branch 'fix-ci' into 'master'

remove documentation stage in CI

See merge request cocsn/gosdn!135
parents f9cfc571 611ba682
No related branches found
No related tags found
No related merge requests found
Pipeline #68021 passed
...@@ -17,7 +17,6 @@ default: ...@@ -17,7 +17,6 @@ default:
include: include:
- local: '/build/ci/.code-quality-ci.yml' - local: '/build/ci/.code-quality-ci.yml'
- local: '/build/ci/.documentation-ci.yml'
- local: '/build/ci/.security-and-compliance-ci.yml' - local: '/build/ci/.security-and-compliance-ci.yml'
- local: '/build/ci/.build-container.yml' - local: '/build/ci/.build-container.yml'
- local: '/build/ci/.test.yml' - local: '/build/ci/.test.yml'
......
documentation:pdf:
before_script:
- pwd
image:
name: pandoc/latex
entrypoint:
- ''
stage: deploy
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- documentation/design/*.md
script:
- cd documentation/design
- pandoc --citeproc --bibliography=bibliography.bib --csl=acm-sig-proceedings.csl
--variable papersize=a4paper -s *.md -o documentation.pdf
artifacts:
paths:
- documentation.pdf
.mdbook_common: &rust
image:
name: $CI_REGISTRY/danet/internetworking/mdbook:latest
entrypoint:
- ''
stage: deploy
script:
- mdbook build documentation --dest-dir public
documentation:website:
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- documentation/design/*.md
artifacts:
paths:
- public
expire_in: 1 week
<<: *rust
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment