Compare commits
2
Commits
main
...
cf93e737aa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf93e737aa | ||
|
|
9f7a332fb6 |
@@ -1,4 +1,11 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env -S uv run --script
|
||||||
|
# /// script
|
||||||
|
# requires-python = ">=3.13"
|
||||||
|
# dependencies = [
|
||||||
|
# "authentik-client>=2026.8.5",
|
||||||
|
# "requests>=2.34.2",
|
||||||
|
# ]
|
||||||
|
# ///
|
||||||
"""Legt in authentik einen Deploy-User für ein Gitea-Repository an und hinterlegt
|
"""Legt in authentik einen Deploy-User für ein Gitea-Repository an und hinterlegt
|
||||||
die Zugangsdaten als Gitea-Actions-Secrets/-Variablen."""
|
die Zugangsdaten als Gitea-Actions-Secrets/-Variablen."""
|
||||||
|
|
||||||
@@ -13,7 +20,7 @@ import authentik_client
|
|||||||
import requests
|
import requests
|
||||||
from authentik_client.rest import ApiException
|
from authentik_client.rest import ApiException
|
||||||
|
|
||||||
DEFAULT_AUTHENTIK_URL = "https://auth.systems.cogsys.wiai.uni-bamberg.de/api/v3"
|
DEFAULT_AUTHENTIK_URL = "https://auth.share-fix.de/api/v3"
|
||||||
DEFAULT_GITEA_URL = "https://git.share-fix.de"
|
DEFAULT_GITEA_URL = "https://git.share-fix.de"
|
||||||
DEFAULT_SERVER = "H1"
|
DEFAULT_SERVER = "H1"
|
||||||
HOME_DIR_BASE = "/home"
|
HOME_DIR_BASE = "/home"
|
||||||
|
|||||||
Reference in new issue
Block a user