From 166a4bd06db2260a5d92dad1f380e4ce3afa774e Mon Sep 17 00:00:00 2001 From: rschoene <rene.schoene@tu-dresden.de> Date: Thu, 28 Jan 2021 17:03:07 +0100 Subject: [PATCH] using new images with shell as entrypoint --- .gitlab-ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 810481c..399e6d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,15 +20,19 @@ build: stage: build script: - ./gradlew --console=plain --no-daemon assemble + - cp -a src/gen java_files/ artifacts: paths: - - "src/gen" + - "java_files/" ragdoc_build: image: "git-st.inf.tu-dresden.de:4567/jastadd/ragdoc-builder" stage: ragdoc_build + dependencies: + - build script: - - data/ src/ + - JAVA_FILES=$(find java_files/ -name '*.java') + - ./start-build.sh -d data/ $JAVA_FILES artifacts: paths: - "data/" @@ -36,8 +40,11 @@ ragdoc_build: ragdoc_view: image: "git-st.inf.tu-dresden.de:4567/jastadd/ragdoc-view:relations" stage: ragdoc_view + dependencies: + - ragdoc_build script: - - . + - ( cd src/ && ln -s ../data ) + - ./build-view.sh artifacts: paths: - "dist/" @@ -45,6 +52,8 @@ ragdoc_view: pages: image: python:3.7-alpine stage: publish + dependencies: + - ragdoc_view before_script: - pip install -U sphinx sphinx-rtd-theme recommonmark sphinxemoji sphinx-markdown-tables script: -- GitLab