From 611ba682300d1a4f023a83b3a6a213f0ad5f2f05 Mon Sep 17 00:00:00 2001
From: Manuel Kieweg <manuel.kieweg@h-da.de>
Date: Tue, 13 Apr 2021 10:52:57 +0200
Subject: [PATCH] remove documentation stage in CI

---
 .gitlab-ci.yml                 |  1 -
 build/ci/.documentation-ci.yml | 39 ----------------------------------
 2 files changed, 40 deletions(-)
 delete mode 100644 build/ci/.documentation-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0ab1ee498..a72072182 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,7 +17,6 @@ default:
 
 include:
   - local: '/build/ci/.code-quality-ci.yml'
-  - local: '/build/ci/.documentation-ci.yml'
   - local: '/build/ci/.security-and-compliance-ci.yml'
   - local: '/build/ci/.build-container.yml'
   - local: '/build/ci/.test.yml'
diff --git a/build/ci/.documentation-ci.yml b/build/ci/.documentation-ci.yml
deleted file mode 100644
index 2ce234e72..000000000
--- a/build/ci/.documentation-ci.yml
+++ /dev/null
@@ -1,39 +0,0 @@
-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
-- 
GitLab