Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
arosics
Commits
946afe7b
Commit
946afe7b
authored
Nov 20, 2017
by
Daniel Scheffler
Browse files
Adapted docker installer to new external base image.
parent
707d25b7
Pipeline
#1560
passed with stages
in 2 minutes and 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
946afe7b
...
...
@@ -19,8 +19,8 @@ stages:
test_arosics
:
stage
:
test
script
:
-
source /root/
ana
conda3/bin/activate
-
export GDAL_DATA=/root/
ana
conda3/share/gdal
-
source /root/
mini
conda3/bin/activate
-
export GDAL_DATA=/root/
mini
conda3/share/gdal
-
export PYTHONPATH=$PYTHONPATH:/root
# /root <- directory needed later
-
make nosetests
-
make docs
...
...
@@ -36,8 +36,8 @@ test_arosics:
test_styles
:
stage
:
test
script
:
-
source /root/
ana
conda3/bin/activate
-
export GDAL_DATA=/root/
ana
conda3/share/gdal
-
source /root/
mini
conda3/bin/activate
-
export GDAL_DATA=/root/
mini
conda3/share/gdal
-
export PYTHONPATH=$PYTHONPATH:/root
# /root <- directory needed later
-
make lint
artifacts
:
...
...
@@ -51,8 +51,8 @@ test_styles:
test_arosics_install
:
stage
:
test
script
:
-
source /root/
ana
conda3/bin/activate
-
export GDAL_DATA=/root/
ana
conda3/share/gdal
-
source /root/
mini
conda3/bin/activate
-
export GDAL_DATA=/root/
mini
conda3/share/gdal
-
conda create -y -q --name arosics python=3
-
source activate arosics
# resolve some requirements with conda
...
...
@@ -106,7 +106,7 @@ deploy_pypi:
dependencies
:
-
test_arosics
script
:
# Configure the PyPI credentials, then push the package, and cleanup the creds.
-
source /root/
ana
conda3/bin/activate
-
source /root/
mini
conda3/bin/activate
-
mkdir -p public/images/
-
cp -r docs/images/* public/images/
-
printf "[distutils]\nindex-servers =\n pypi\n\n" >> ~/.pypirc
...
...
tests/CI_docker/context/arosics_ci.docker
View file @
946afe7b
FROM
conda_pyenv
:pinned_v0.1
FROM
gms_base_centos
:pinned_v0.1
# copy some needed stuff to /root
COPY
*.yml /root/
RUN
/bin/bash
-i
-c
"
\
source /root/miniconda3/bin/activate ;
\
source activate py3;
\
conda env update -f /root/environment_arosics.yml"
conda env update -n root -f /root/environment_arosics.yml"
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment