Commit ee0e7817 authored by René Fritze's avatar René Fritze Committed by René Fritze
Browse files

[ci] build docs for all pythons

parent c3253a46
Pipeline #68532 passed with stages
in 41 minutes and 45 seconds
...@@ -892,8 +892,27 @@ check_wheel 3: ...@@ -892,8 +892,27 @@ check_wheel 3:
image: pymor/deploy_checks:devpi_debian_bullseye image: pymor/deploy_checks:devpi_debian_bullseye
script: devpi install pymor[full] script: devpi install pymor[full]
docs build 3 6:
extends: .test_base
tags: [mike]
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- when: on_success
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.6:f6acb8bdf750d965c15f7f90b01fac4b745b58bd
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/jupyter_py3.6:f6acb8bdf750d965c15f7f90b01fac4b745b58bd
script:
- ${CI_PROJECT_DIR}/.ci/gitlab/test_docs.bash
stage: build
needs: ["ci setup"]
artifacts:
paths:
- docs/_build/html
- docs/error.log
docs build: docs build 3 7:
extends: .test_base extends: .test_base
tags: [mike] tags: [mike]
rules: rules:
...@@ -913,6 +932,27 @@ docs build: ...@@ -913,6 +932,27 @@ docs build:
- docs/_build/html - docs/_build/html
- docs/error.log - docs/error.log
docs build 3 8:
extends: .test_base
tags: [mike]
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- when: on_success
services:
- name: zivgitlab.wwu.io/pymor/docker/pymor/pypi-mirror_stable_py3.8:f6acb8bdf750d965c15f7f90b01fac4b745b58bd
alias: pypi_mirror
image: zivgitlab.wwu.io/pymor/docker/pymor/jupyter_py3.8:f6acb8bdf750d965c15f7f90b01fac4b745b58bd
script:
- ${CI_PROJECT_DIR}/.ci/gitlab/test_docs.bash
stage: build
needs: ["ci setup"]
artifacts:
paths:
- docs/_build/html
- docs/error.log
docs: docs:
extends: .test_base extends: .test_base
# makes sure this doesn't land on the test runner # makes sure this doesn't land on the test runner
...@@ -921,8 +961,8 @@ docs: ...@@ -921,8 +961,8 @@ docs:
stage: deploy stage: deploy
resource_group: docs_deploy resource_group: docs_deploy
dependencies: dependencies:
- docs build - "docs build 3 7"
needs: ["docs build"] needs: ["docs build 3 7"]
before_script: before_script:
- apk --update add make python3 bash - apk --update add make python3 bash
- pip3 install jinja2 pathlib - pip3 install jinja2 pathlib
......
...@@ -366,7 +366,8 @@ check_wheel {{loop.index}}: ...@@ -366,7 +366,8 @@ check_wheel {{loop.index}}:
script: devpi install pymor[full] script: devpi install pymor[full]
{% endfor %} {% endfor %}
docs build: {%- for py in pythons %}
docs build {{py[0]}} {{py[2]}}:
extends: .test_base extends: .test_base
tags: [mike] tags: [mike]
rules: rules:
...@@ -374,9 +375,9 @@ docs build: ...@@ -374,9 +375,9 @@ docs build:
when: never when: never
- when: on_success - when: on_success
services: services:
- name: {{registry}}/pymor/pypi-mirror_stable_py3.7:{{pypi_mirror_tag}} - name: {{registry}}/pymor/pypi-mirror_stable_py{{py}}:{{pypi_mirror_tag}}
alias: pypi_mirror alias: pypi_mirror
image: {{registry}}/pymor/jupyter_py3.7:{{ci_image_tag}} image: {{registry}}/pymor/jupyter_py{{py}}:{{ci_image_tag}}
script: script:
- ${CI_PROJECT_DIR}/.ci/gitlab/test_docs.bash - ${CI_PROJECT_DIR}/.ci/gitlab/test_docs.bash
stage: build stage: build
...@@ -385,6 +386,7 @@ docs build: ...@@ -385,6 +386,7 @@ docs build:
paths: paths:
- docs/_build/html - docs/_build/html
- docs/error.log - docs/error.log
{% endfor %}
docs: docs:
extends: .test_base extends: .test_base
...@@ -394,8 +396,8 @@ docs: ...@@ -394,8 +396,8 @@ docs:
stage: deploy stage: deploy
resource_group: docs_deploy resource_group: docs_deploy
dependencies: dependencies:
- docs build - "docs build 3 7"
needs: ["docs build"] needs: ["docs build 3 7"]
before_script: before_script:
- apk --update add make python3 bash - apk --update add make python3 bash
- pip3 install jinja2 pathlib - pip3 install jinja2 pathlib
......
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