Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
gajim-plugins
Commits
d7a7f378
Commit
d7a7f378
authored
May 06, 2022
by
Philipp Hörist
Browse files
CI: Handle missing package index
parent
ff3a0a65
Pipeline
#9788
failed with stage
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.ci/deploy.py
View file @
d7a7f378
...
...
@@ -61,6 +61,9 @@ def is_manifest_valid(manifest: ManifestT) -> bool:
def
download_package_index
()
->
ManifestT
:
console
.
print
(
'Download package index'
)
r
=
requests
.
get
(
PACKAGE_INDEX_URL
)
if
r
.
status_code
==
404
:
return
{}
r
.
raise_for_status
()
index
=
r
.
json
()
return
index
...
...
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