Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
py_tools_ds
Commits
b75e131a
Commit
b75e131a
authored
Aug 20, 2017
by
Daniel Scheffler
Browse files
First setup for Anaconda CD.
parent
1d0b56b4
Pipeline
#721
failed with stages
in 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b75e131a
...
...
@@ -10,8 +10,7 @@ variables:
stages
:
-
test
-
deploy_pages
-
deploy_to_pypi
-
deploy
-
cleanup
...
...
@@ -29,8 +28,8 @@ test_py_tools_ds:
-
docs/_build/html/
pages
:
stage
:
deploy
_pages
deploy_
pages
:
stage
:
deploy
dependencies
:
-
test_py_tools_ds
script
:
...
...
@@ -48,7 +47,7 @@ pages:
deploy_pypi
:
stage
:
deploy
_to_pypi
stage
:
deploy
dependencies
:
-
test_py_tools_ds
script
:
# Configure the PyPI credentials, then push the package, and cleanup the creds.
...
...
@@ -65,6 +64,27 @@ deploy_pypi:
-
dev
deploy_anaconda
:
stage
:
deploy
dependencies
:
-
test_py_tools_ds
#- deploy_pypi
script
:
-
source /root/anaconda3/bin/activate
-
conda skeleton pypi py_tools_ds
# create recipe
-
conda config --set anaconda_upload yes
# enable auto-upload to anaconda
-
anaconda login --username ${ANACONDA_USER} --password ${ANACONDA_PASSWORD}
-
conda build -c conda-forge py_tools_ds
# --output returns package name
#- conda convert --platform all /home/jsmith/miniconda/conda-bld/linux-64/pyinstrument-0.13.1-py27_0.tar.bz2
#-o outputdir/
-
anaconda logout
only
:
-
feature/conda_deployment
#- /^v\d+\.\d+\.\d+([abc]\d*)?$/ # PEP-440 compliant version (tags)
except
:
-
dev
cleanup_pypirc
:
stage
:
cleanup
when
:
always
# this is important; run even if preceding stages failed.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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