File tree Expand file tree Collapse file tree 6 files changed +58
-31
lines changed
Expand file tree Collapse file tree 6 files changed +58
-31
lines changed Original file line number Diff line number Diff line change 55# the container, local dev needs it in path from mounted src
66# we trick docker into fulfilling both roles via a conditional ONBUILD
77# if you want to use the local dev setup, see docker/docker-compose.yml
8- ARG BASE=pymor/testing_py3.9:133249e1ace233311c1dbcfc2e70b3f8624058a8
8+ ARG BASE=pymor/testing_py3.9:41fca6eecc2a539f73a04be0255f4dc44edc9f43
99ARG BUILD_ENV=binder
1010
1111FROM $BASE as image_binder
@@ -26,13 +26,11 @@ ARG NB_UID
2626ARG PYMOR_JUPYTER_TOKEN
2727
2828USER root
29- RUN useradd -d /home/pymor --shell /bin/bash -u ${NB_UID} -o -c "" -m ${NB_USER} && \
30- chown -R ${NB_USER} /home/pymor /src/ && \
31- apt update && \
32- apt install -y libtbb-dev
29+ # RUN useradd -d /home/pymor --shell /bin/bash -u ${NB_UID} -o -c "" -m ${NB_USER} && \
30+ # chown -R ${NB_USER} /home/pymor /src/
3331
34- RUN bash -c "([[ -e /src/setup.py ]] && pip install /src || echo 'no install needed') && pip install jupyter"
35- USER ${NB_USER}
32+ # # RUN bash -c "([[ -e /src/setup.py ]] && pip install /src || echo 'no install needed') && pip install jupyter"
33+ # USER ${NB_USER}
3634
3735ENV JUPYTER_TOKEN=${PYMOR_JUPYTER_TOKEN} \
3836 USER=${NB_USER} \
Original file line number Diff line number Diff line change @@ -26,13 +26,11 @@ ARG NB_UID
2626ARG PYMOR_JUPYTER_TOKEN
2727
2828USER root
29- RUN useradd -d /home/pymor --shell /bin/bash -u ${NB_UID} -o -c "" -m ${NB_USER} && \
30- chown -R ${NB_USER} /home/pymor /src/ && \
31- apt update && \
32- apt install -y libtbb-dev
29+ # RUN useradd -d /home/pymor --shell /bin/bash -u ${NB_UID} -o -c "" -m ${NB_USER} && \
30+ # chown -R ${NB_USER} /home/pymor /src/
3331
34- RUN bash -c "([[ -e /src/setup.py ]] && pip install /src || echo 'no install needed') && pip install jupyter"
35- USER ${NB_USER}
32+ # # RUN bash -c "([[ -e /src/setup.py ]] && pip install /src || echo 'no install needed') && pip install jupyter"
33+ # USER ${NB_USER}
3634
3735ENV JUPYTER_TOKEN=${PYMOR_JUPYTER_TOKEN} \
3836 USER=${NB_USER} \
Original file line number Diff line number Diff line change 1- pool :
2- vmImage : ' ubuntu-20.04'
3-
4- strategy :
5- matrix :
6- 9.3_3.7 :
7- containerImage : pymor/dealii_py3.7:8b53a0c0ef5397576c1f9800e5e0ad3008536ea8
8- 9.3_3.8 :
9- containerImage : pymor/dealii_py3.8:8b53a0c0ef5397576c1f9800e5e0ad3008536ea8
10- 9.3_3.9 :
11- containerImage : pymor/dealii_py3.9:8b53a0c0ef5397576c1f9800e5e0ad3008536ea8
12-
131schedules :
142- cron : " 0 12 * * 1"
153 displayName : Weekly build
164 branches :
175 include :
186 - main
19- container : $[ variables['containerImage'] ]
207
21- steps :
22- - script : ./.ci/pytest.bash
23- - script : ./.ci/wheel.bash
8+ jobs :
9+ - template : job-template.yml
10+ parameters :
11+ script : pytest
12+ - template : job-template.yml
13+ parameters :
14+ script : wheel
15+ # this currently fails on azure, but works locally
16+ # - template: job-template.yml
17+ # parameters:
18+ # script: install
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+ set -x
5+
6+ BASE_DIR=" $( cd " $( dirname ${BASH_SOURCE[0]} ) " ; cd ../ ; pwd -P ) "
7+
8+ source ${BASE_DIR} /.ci/common_setup.bash
9+
10+ python -m pip install .
11+ python -m pip uninstall -y pymor_dealii
12+
13+ python -m pip install -e .
14+
Original file line number Diff line number Diff line change 1+
2+ parameters :
3+ name : script
4+
5+ jobs :
6+ - job : ${{ parameters.script }}
7+ pool :
8+ vmImage : ' ubuntu-20.04'
9+
10+ strategy :
11+ matrix :
12+ 9.3_3.7 :
13+ containerImage : pymor/dealii_py3.7:47f2bf40dd49a64292e482b59fe6631101fdcc2b
14+ 9.3_3.8 :
15+ containerImage : pymor/dealii_py3.8:47f2bf40dd49a64292e482b59fe6631101fdcc2b
16+ 9.3_3.9 :
17+ containerImage : pymor/dealii_py3.9:47f2bf40dd49a64292e482b59fe6631101fdcc2b
18+
19+ container : $[ variables['containerImage'] ]
20+
21+ steps :
22+ - script : ./.ci/${{ parameters.script }}.bash
Original file line number Diff line number Diff line change 11DOCKER_BASE_PYTHON = 3.9
2- PYPI_MIRROR_TAG = 133249e1ace233311c1dbcfc2e70b3f8624058a8
3- CI_IMAGE_TAG = 133249e1ace233311c1dbcfc2e70b3f8624058a8
2+ PYPI_MIRROR_TAG = 41fca6eecc2a539f73a04be0255f4dc44edc9f43
3+ CI_IMAGE_TAG = 41fca6eecc2a539f73a04be0255f4dc44edc9f43
44PYMOR_TEST_OS = debian_buster
You can’t perform that action at this time.
0 commit comments