Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
Template
Commits
4c5c5911
Commit
4c5c5911
authored
4 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Release via GitLab CI.
parent
955525bf
No related branches found
No related tags found
No related merge requests found
Pipeline
#232
passed
4 years ago
Stage: lint
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+31
-1
31 additions, 1 deletion
.gitlab-ci.yml
README.rst
+0
-5
0 additions, 5 deletions
README.rst
with
31 additions
and
6 deletions
.gitlab-ci.yml
+
31
−
1
View file @
4c5c5911
...
...
@@ -2,6 +2,7 @@
stages
:
-
lint
-
test
-
release
pre-commit
:
stage
:
lint
...
...
@@ -25,7 +26,7 @@ pre-commit:
test
:
stage
:
test
image
:
$project:$version-slim
before_script
:
before_script
:
&before_script
-
apt-get update
-
>-
apt-get install -y
...
...
@@ -66,3 +67,32 @@ test:
-
"
2.7"
-
"
3.6"
-
"
3.7"
upload
:
stage
:
release
image
:
python:3.6
before_script
:
*before_script
script
:
-
mv pypirc $HOME/.pypirc
-
pipenv run build
-
pipenv run upload
variables
:
*variables
cache
:
*cache
rules
:
-
if
:
$CI_COMMIT_TAG
artifacts
:
paths
:
-
dist/*.whl
release
:
stage
:
release
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
script
:
-
echo GitLab release
rules
:
-
if
:
$CI_COMMIT_TAG
release
:
name
:
Release $CI_COMMIT_TAG
tag_name
:
$CI_COMMIT_TAG
ref
:
$CI_COMMIT_TAG
description
:
GitLab release $CI_COMMIT_TAG
This diff is collapsed.
Click to expand it.
README.rst
+
0
−
5
View file @
4c5c5911
...
...
@@ -93,8 +93,3 @@ Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website
<https://www.shore.co.il/>`_. Patches are welcome via `git send-email
<http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located
at: https://git.shore.co.il/nimrod/.
Pending tasks
-------------
- Release on tagged commits to PyPI in CI.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment