Commit 74a59bc8 authored by Jonathan Klimt's avatar Jonathan Klimt
Browse files

removed cache and use text build for dev branches instead

parent c8002029
Pipeline #374979 passed with stages
in 6 minutes and 57 seconds
......@@ -23,22 +23,18 @@ prepare:
- /kaniko/executor --context ${CI_PROJECT_DIR} --dockerfile ${DOCKER_FILE} --destination ${CI_REGISTRY_IMAGE}:${DOCKER_IMAGE_DEV}-base-image --cache=true --snapshotMode=redo --use-new-run
cached-documentation:
text-documentation:
stage: generate
script:
- cd documentation && ./docu.sh
image: ${CI_REGISTRY_IMAGE}:${DOCKER_IMAGE_DEV}-base-image
cache:
key: secret-cimpy
paths:
- documentation
except:
- master
documentation:
html-documentation:
stage: generate
script:
- cd documentation && ./docu.sh
- cd documentation && ./docu.sh --release
image: ${CI_REGISTRY_IMAGE}:${DOCKER_IMAGE_DEV}-base-image
artifacts:
paths:
......@@ -58,7 +54,7 @@ pages:
- public
- .public
dependencies:
- documentation
- html-documentation
only:
- master
......
python3 ../setup.py develop
sphinx-apidoc -F -H "cimpy" --separate -o "../documentation" "../" "../setup.py"
python3 set_inheritance_diagram.py
cd ../documentation
make html
if [ "$1" = "--release" ] || [ "$1" == "" ]; then
python3 ../setup.py develop
sphinx-apidoc -F -H "cimpy" --separate -o "../documentation" "../" "../setup.py"
python3 set_inheritance_diagram.py
if [ "$1" = "--release" ] ; then
make html
else
make text
fi
else
echo "Usage: $0 [--release]"
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment