Skip to content
Snippets Groups Projects
Commit 0d6fc7636668 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

Add token fallback for CI

parent fa9ea4bf1da3
No related branches found
No related tags found
1 merge request!199✨ docker_build_copy: download module from forge if available, Multiprocess for checking/compiling/downloading
...@@ -445,5 +445,5 @@ ...@@ -445,5 +445,5 @@
def xcg_index_url(token: Optional[str] = None): def xcg_index_url(token: Optional[str] = None):
if token: if token is not None:
return ( return (
...@@ -449,6 +449,6 @@ ...@@ -449,6 +449,6 @@
return ( return (
f"--index-url=https://__token__:{token}@orus.io/api/v4/groups/9/-/" f"--index-url=https://__token__:{token}@orus.io/api/v4/groups/9/-/packages/"
f"packages/pypi/simple" f"pypi/simple"
) )
else: else:
return "--extra-index-url=https://pypi.xcg.io/simple" return "--extra-index-url=https://pypi.xcg.io/simple"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment