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
continuous-everything
ci
Commits
646240e4
Commit
646240e4
authored
Aug 29, 2018
by
Rémi Cailletaud
Browse files
except pour docker dans les branches version-*
parent
f2c245e5
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci-13.yml
→
.gitlab-ci-13
-pypi
.yml
View file @
646240e4
...
...
@@ -34,6 +34,8 @@ pypi:
only
:
-
/^version-.*$/
script
:
-
version=$(echo $CI_COMMIT_REF_NAME|cut -d "-" -f 2)
-
sed -i -e "s/version='.*',/version='$version',/g" setup.py
-
pip install twine
-
pip wheel . -w wheelhouse
-
twine upload --repository-url https://test.pypi.org/legacy/ wheelhouse/*
.gitlab-ci-14-docker.yml
View file @
646240e4
...
...
@@ -37,12 +37,16 @@ pypi:
only
:
-
/^version-.*$/
script
:
-
version=$(echo $CI_COMMIT_REF_NAME|cut -d "-" -f 2)
-
sed -i -e "s/version='.*',/version='$version',/g" setup.py
-
pip install twine
-
pip wheel . -w wheelhouse
-
twine upload --repository-url https://test.pypi.org/legacy/ wheelhouse/*
build
:
stage
:
build
except
:
-
/^version-.*$/
image
:
docker
services
:
-
docker:dind
...
...
@@ -56,6 +60,8 @@ build:
deploy
:
stage
:
deploy
except
:
-
/^version-.*$/
when
:
manual
image
:
docker
variables
:
...
...
.gitlab-ci-15-bluegreen.yml
View file @
646240e4
.job_template
:
&deploy_job
stage
:
deploy
except
:
-
/^version-.*$/
when
:
manual
image
:
docker
before_script
:
...
...
@@ -49,12 +51,16 @@ pypi:
only
:
-
/^version-.*$/
script
:
-
version=$(echo $CI_COMMIT_REF_NAME|cut -d "-" -f 2)
-
sed -i -e "s/version='.*',/version='$version',/g" setup.py
-
pip install twine
-
pip wheel . -w wheelhouse
-
twine upload --repository-url https://test.pypi.org/legacy/ wheelhouse/*
build
:
stage
:
build
except
:
-
/^version-.*$/
image
:
docker
services
:
-
docker:dind
...
...
README.md
View file @
646240e4
Dépôt pour TP CI
note : .gitlab-ci.yml ne peut être un lien symbolique :(
...
...
Write
Preview
Supports
Markdown
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