Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
storjstatus-client
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
James Coyle
storjstatus-client
Commits
e291a48b
Commit
e291a48b
authored
Mar 06, 2018
by
James Coyle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Started for automatic deployment to pipy
parent
9a130058
Pipeline
#1075
passed with stages
in 0 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
0 deletions
+57
-0
.gitlab-ci.yml
.gitlab-ci.yml
+57
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
e291a48b
before_script
:
-
export PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/mvn
variables
:
PYPY_USERNAME
:
SECRET
PYPY_TEST_PASSWORD
:
SECRET
PYPY_LIVE_PASSWORD
:
SECRET
stages
:
-
set-env
-
deploy-test
-
cleanup
set-env
:
stage
:
set-env
when
:
always
script
:
-
echo "[distutils]" >> ~/.pypirc
-
echo "index-servers=" >> ~/.pypirc
-
echo " pypi" >> ~/.pypirc
-
echo " pypitest" >> ~/.pypirc
-
echo "" >> ~/.pypirc
-
echo "[pypi]" >> ~/.pypirc
-
echo "repository=https://pypi.python.org/pypi"
-
echo "username=" ${PYPI_USERNAME} >> ~/.pypirc
-
echo "password=" ${PYPI_LIVE_PASSWORD} >> ~/.pypirc
-
echo "" >> ~/.pypirc
-
echo "[pypitest]" >> ~/.pypirc
-
echo "repository=https://testpypi.python.org/pypi"
-
echo "username=" ${PYPI_USERNAME} >> ~/.pypirc
-
echo "password=" ${PYPI_TEST_PASSWORD} >> ~/.pypirc
-
cp ~/.pypirc /tmp/.pypirc
tags
:
-
storjapi
deploy-test
:
stage
:
deploy-test
script
:
-
echo "need to reg first..."
except
:
-
master
tags
:
-
storjapi
environment
:
name
:
production
cleanup_deploy
:
stage
:
cleanup
when
:
always
script
:
-
rm -vf ~/.pypirc
tags
:
-
storjapi
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