Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
1145144d by lovetox at 2022-07-27T10:50:19+02:00
ci: Don’t build in the deploy stage
- - - - -
2 changed files:
- .ci/deploy.py
- .gitlab-ci.yml
Changes:
=====================================
.ci/deploy.py
=====================================
@@ -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('build failed')
def upload() -> None:
@@ -41,5 +41,5 @@ def upload() -> None:
if __name__ == '__main__':
- build()
+ # build()
upload()
=====================================
.gitlab-ci.yml
=====================================
@@ -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:
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/1145144d9bbce10b3ca8e8ee3abf981151cbb71e
--
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/1145144d9bbce10b3ca8e8ee3abf981151cbb71e
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits