Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jochem Bijlard
fractalis
Commits
568596f2
Commit
568596f2
authored
Mar 09, 2018
by
Sascha Herzinger
Browse files
New CI pipeline (debug) - removing prepare stage
parent
ae3aa691
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
568596f2
...
...
@@ -14,24 +14,16 @@ variables:
SDIST
:
fractalis-$CI_COMMIT_TAG.tar.gz
stages
:
-
prepare
-
build
-
test
-
release
prepare
:
stage
:
prepare
script
:
-
yum install -y epel-release
-
yum update -y
-
yum install -y python34 python34-pip
-
pip3 install twine
artifacts
:
untracked
:
true
build
:
stage
:
build
script
:
-
yum install -y epel-release
-
yum update -y
-
yum install -y python34
-
python3 setup.py sdist
-
docker build -t $DOCKER_IMAGE_TAG --build-arg SDIST=$SDIST .
-
docker save $DOCKER_IMAGE_TAG -o image.tar
...
...
@@ -55,6 +47,10 @@ test:
release:pypi:
stage
:
release
script
:
-
yum install -y epel-release
-
yum update -y
-
yum install -y python34 python34-pip
-
pip3 install twine
-
twine upload dist/$SDIST -u $PYPI_USER -p $PYPI_PASS
only
:
-
tags
...
...
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