Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
emzed-ext-mzmine2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
sispub
emzed
emzed-ext-mzmine2
Commits
1ccb22c2
Commit
1ccb22c2
authored
4 years ago
by
schmittu
Browse files
Options
Downloads
Patches
Plain Diff
[CI][DOCS] fix .gitlab-ci.yml
parent
0b710b64
No related branches found
No related tags found
No related merge requests found
Pipeline
#2089
passed
4 years ago
Stage: style
Stage: test_code
Stage: update_docs
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+12
-5
12 additions, 5 deletions
.gitlab-ci.yml
Makefile
+14
-3
14 additions, 3 deletions
Makefile
with
26 additions
and
8 deletions
.gitlab-ci.yml
+
12
−
5
View file @
1ccb22c2
...
...
@@ -34,7 +34,7 @@ windows_tests:
stage
:
test_code
tags
:
-
docker-executor
script
:
script
:
&ubuntu-script
-
pip install --extra-index-url https://pypi-sissource.ethz.ch/simple emzed3
-
pip install -e .
-
pip install -r requirements_dev.txt
...
...
@@ -54,15 +54,22 @@ ubuntu_19_10:
ubuntu_20_04
:
<<
:
*ubuntu
image
:
sissource.ethz.ch:5005/sispub/emzed/linux_base_images/ubuntu_20_04_for_emzed
script
:
-
*ubuntu-script
-
make build_docs
artifacts
:
paths
:
-
docs/_build/html
update_docs
:
stage
:
update_docs
image
:
sissource.ethz.ch:5005/sispub/emzed/linux_base_images/ubuntu_20_04_for_emzed
tags
:
-
docker-executor
script
:
-
pyenv local $(latest_python 3.7)
-
tox -e docs
-
cp -R htmlcov docs/_build/html
-
rsync -r docs/_build/html/* emzed.ethz.ch:htdocs/3/emzed.ext.mzmine2/
-
chmod 0600 ${SSH_PRIVATE_KEY}
-
scp -r -i ${SSH_PRIVATE_KEY} -o 'StrictHostKeyChecking no' docs/_build/html/* w3_emzed2@emzed.ethz.ch:htdocs/3/emzed.ext.mzmine2
dependencies
:
-
ubuntu_20_04
rules
:
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
14
−
3
View file @
1ccb22c2
...
...
@@ -37,12 +37,23 @@ coverage:
coverage html
open htmlcov/index.html
docs
:
rm
-f
docs/emzed.ext.mzmine2
*
.rst
sphinx-apidoc
--implicit-namespaces
-e
-o
docs/ src/emzed_ext_mzmine2/
build_docs
:
sphinx-apidoc
--implicit-namespaces
-e
-o
docs
-f
src/emzed_ext_mzmine2/
$(
MAKE
)
-C
docs clean
$(
MAKE
)
-C
docs html
cp
-R
htmlcov docs/_build/html
update_docs
:
$(
MAKE
)
-C
docs clean
$(
MAKE
)
-C
docs html
cp
-R
htmlcov docs/_build/html
deploy_docs
:
update_docs
scp
-r
docs/_build/html/
*
w3_emzed2@emzed.ethz.ch:htdocs/3/emzed.ext.mzmine2
docs
:
build_docs
open docs/_build/html/index.html
sdist
:
clean
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment