Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
CIM
CIMpy
Commits
74a59bc8
Commit
74a59bc8
authored
Dec 09, 2020
by
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
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
74a59bc8
...
...
@@ -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
...
...
documentation/docu.sh
View file @
74a59bc8
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment