Skip to content

Commit 6bf413f

Browse files
Merge pull request #4 from eucp-project/pin_dependencies
Pin dependencies on original docker image
2 parents 6cab6a7 + 965429e commit 6bf413f

3 files changed

Lines changed: 538 additions & 32 deletions

File tree

Dockerfile

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -49,32 +49,32 @@ USER $NB_UID
4949
# - Downgrade Matplotlib to 2.2 for Iris
5050
# - pyngl and pynio have incompatible dependencies with some other packages
5151
RUN conda install --quiet --yes --channel esmvalgroup --channel conda-forge --channel pcmdi/label/nightly --override-channels \
52-
'ipyleaflet' \
53-
'ipywidgets' \
54-
'iris' \
55-
'iris-sample-data' \
56-
'cftime' \
57-
'nc-time-axis' \
58-
'h5py' \
59-
'netcdf4' \
60-
'pyproj' \
61-
'cartopy' \
62-
'dask' \
63-
'xarray' \
64-
'boost' \
65-
'gdal' \
66-
'cdo' \
67-
'nco' \
68-
'pcraster' \
69-
'rasterio' \
70-
'zarr' \
71-
'imod' \
72-
'cdms2' \
73-
'eofs' \
74-
'esmpy' \
52+
'python=3.7.6' \
53+
'boost=1.72.0'\
54+
'cartopy=0.17.0' \
55+
'cdms2=3.1.3' \
56+
# 'cdo=1.5.3' \
57+
'cftime=1.1.1.2' \
58+
'cmor=2019.05.16.master.numpy' \
59+
'dask=2.2.0' \
60+
'eofs=1.4.0' \
61+
'esmpy=8.0.0' \
62+
'gdal=3.0.4' \
63+
'h5py=2.10.0' \
64+
'imod=0.9.0' \
65+
'ipyleaflet=0.12.4' \
66+
'ipywidgets=7.5.1' \
67+
'iris=2.4.0' \
68+
'iris-sample-data=2.2.0' \
69+
'nc-time-axis=1.2.0' \
70+
'nco=4.9.1' \
71+
'netcdf4=1.5.3' \
72+
'pcraster=4.3.0' \
73+
'pyproj=2.6.0' \
74+
'rasterio=1.1.3' \
75+
'xarray=0.15.1' \
76+
'zarr=2.4.0' \
7577
# 'esmvalcore' \
76-
'cmor' \
77-
'python=3.7' \
7878
&& conda clean --all -f -y \
7979
&& fix-permissions $CONDA_DIR \
8080
&& fix-permissions /home/$NB_USER

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,28 @@ Dockerfile for the EUCP project - based on the Jupyter datascience notebook\
44

55
## Branches
66
- master: for regular development and updates. Merging via approved pull requests. Linked to 'latest' tag on dockerhub.
7-
- stable: standard branch for jupyterhub deployment. Linked to the 'stable' tag on dockerhub.
8-
- feature branches: make a separate branch for each PR/feature that you want to add.
7+
- feature branches: make a separate branch for each PR/feature that you want to add.
8+
9+
## Releases
10+
- We'll configure the login environment such that you can select which release you want to use for your compute environment.
911

1012
## Update process
1113
1. Checkout, build and run the docker image locally
12-
2. Make desired changes to the environment
13-
3. Build and run updated docker image locally for testing
14-
4. Document changes made to the environment in the changelog below
15-
4. Make a pull request to the master branch of this repository
14+
1. Make desired changes to the environment
15+
1. Build and run updated docker image locally for testing
16+
1. Use `conda list --export > package_list_for_change_diffs.txt`, download and commit the result
17+
1. Summarize changes made to the environment in the changelog below
18+
1. Make a pull request to the master branch of this repository
19+
1. Once the PR is merged, test changed in the 'live' environment by choosing 'latest'.
20+
1. Consider making a new release and adding it to the ansible setup
1621

1722
## Changelog
1823

19-
May 18, 2020:
24+
May 20, 2020:
25+
- Pin versions to current environment configuration
26+
- Add `package_list_for_change_diffs.txt` for keeping track of environment changes.
27+
28+
May 18, 2020:
2029
- Start changelog
2130
- Enable autobuild on dockerhub
2231
- Create master and stable branches

0 commit comments

Comments
 (0)