Skip to content
Snippets Groups Projects
Verified Commit ef20faae authored by Timm Fitschen's avatar Timm Fitschen
Browse files

PIPELINE: update Dockerfile to install extras

parent c48dd53b
Branches
Tags
1 merge request!31Draft: F json schema
Pipeline #20582 failed
...@@ -29,6 +29,6 @@ RUN pip3 install recommonmark sphinx-rtd-theme ...@@ -29,6 +29,6 @@ RUN pip3 install recommonmark sphinx-rtd-theme
COPY . /git COPY . /git
RUN rm -r /git/.git \ RUN rm -r /git/.git \
&& mv /git/.docker/pycaosdb.ini /git/integrationtests && mv /git/.docker/pycaosdb.ini /git/integrationtests
RUN cd /git && pip3 install .[h5-crawler] RUN cd /git && pip3 install .[h5-crawler,data-model-schema]
WORKDIR /git/integrationtests WORKDIR /git/integrationtests
CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- ./test.sh --force CMD /wait-for-it.sh caosdb-server:10443 -t 500 -- ./test.sh --force
...@@ -161,9 +161,13 @@ def setup_package(): ...@@ -161,9 +161,13 @@ def setup_package():
"xlrd>=2.0", "xlrd>=2.0",
], ],
extras_require={"h5-crawler": ["h5py>=3.3.0", ], extras_require={"h5-crawler": ["h5py>=3.3.0", ],
"data-model-schema": ["jsonschema>=4.4.0"]
}, },
packages=find_packages('src'), packages=find_packages('src'),
package_dir={'': 'src'}, package_dir={'': 'src'},
package_data={
'caosadvancedtools': ['models/schema-model.yml'],
},
setup_requires=["pytest-runner>=2.0,<3dev"], setup_requires=["pytest-runner>=2.0,<3dev"],
tests_require=["pytest", "pytest-pythonpath", "pytest-cov", "coverage>=4.4.2"], tests_require=["pytest", "pytest-pythonpath", "pytest-cov", "coverage>=4.4.2"],
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment