Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
python-nbxmpp
Commits
1145144d
Commit
1145144d
authored
Jul 27, 2022
by
Philipp Hörist
Browse files
ci: Don’t build in the deploy stage
parent
06c2be5a
Pipeline
#10518
passed with stages
in 43 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.ci/deploy.py
View file @
1145144d
...
...
@@ -22,7 +22,7 @@ def build() -> None:
try
:
subprocess
.
run
(
cmd
,
cwd
=
REPO_DIR
,
check
=
True
)
except
subprocess
.
CalledProcessError
:
sys
.
exit
(
'buid failed'
)
sys
.
exit
(
'bui
l
d failed'
)
def
upload
()
->
None
:
...
...
@@ -41,5 +41,5 @@ def upload() -> None:
if
__name__
==
'__main__'
:
build
()
#
build()
upload
()
.gitlab-ci.yml
View file @
1145144d
...
...
@@ -22,6 +22,7 @@ test-pylint:
build-linux
:
image
:
nbxmpp-deb-build:latest
stage
:
build
dependencies
:
[]
script
:
-
python3 setup.py sdist
-
python3 .ci/debian_build.py "$(find dist/nbxmpp-*)" 1 --pkgprefix=python3-
...
...
@@ -31,9 +32,12 @@ build-linux:
expire_in
:
1 week
paths
:
-
dist/nbxmpp-*.tar.gz
-
dist/nbxmpp-*.whl
deploy-pypi
:
stage
:
deploy
dependencies
:
-
"
build-linux"
rules
:
-
if
:
'
$CI_COMMIT_TAG'
script
:
...
...
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