Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gvec_to_python
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
Service Desk
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
gvec-group
gvec_to_python
Commits
61d18bae
Commit
61d18bae
authored
2 years ago
by
Stefan Possanner
Browse files
Options
Downloads
Patches
Plain Diff
Remove twine
parent
d55caee0
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!14
Remove twine
Pipeline
#172140
passed
2 years ago
Stage: install_and_test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+14
-16
14 additions, 16 deletions
.gitlab-ci.yml
with
14 additions
and
16 deletions
.gitlab-ci.yml
+
14
−
16
View file @
61d18bae
...
@@ -26,12 +26,10 @@ default:
...
@@ -26,12 +26,10 @@ default:
variables
:
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
TWINE_USERNAME
:
__token__
TWINE_PASSWORD
:
pypi-AgEIcHlwaS5vcmcCJDE4YzU1YzIwLWVhY2QtNDQyZS04ODRjLTJjYTE3OTI3MDQ4YgACKlszLCI4NzYzODllYi05NWE4LTRlOTktYjg2Ny0zNDcwNDM5NjI2ZjciXQAABiD3B8VE_t8BNsezFEMcF2ZLblhgufgnrfXgCSmGuW5H4w
stages
:
stages
:
-
install_and_test
-
install_and_test
-
release
#
- release
# Changes (e.g. apt install, pip install) do not persist across different GitLab CI jobs.
# Changes (e.g. apt install, pip install) do not persist across different GitLab CI jobs.
# => Consolidate everything in GitLab CI into a single job, because the design is dumb.
# => Consolidate everything in GitLab CI into a single job, because the design is dumb.
...
@@ -73,17 +71,17 @@ install_and_test:
...
@@ -73,17 +71,17 @@ install_and_test:
# release
# release
deploy
:
#
deploy:
stage
:
release
#
stage: release
rules
:
#
rules:
-
if
:
$CI_COMMIT_TAG
#
- if: $CI_COMMIT_TAG
when
:
never
#
when: never
-
if
:
$CI_COMMIT_REF_NAME == "master"
#
- if: $CI_COMMIT_REF_NAME == "master"
before_script
:
#
before_script:
-
apt-get -qq update && apt-get -qq install -y gcc gfortran libblas-dev liblapack-dev libopenmpi-dev openmpi-bin
#
- apt-get -qq update && apt-get -qq install -y gcc gfortran libblas-dev liblapack-dev libopenmpi-dev openmpi-bin
-
pip install -U pip build twine
#
- pip install -U pip build twine
script
:
#
script:
-
python -m build
#
- python -m build
-
ls -lah dist
#
- ls -lah dist
-
twine upload dist/*
#
- twine upload dist/*
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