fix(ci): complete gitea→git rename + hadolint SC suppression
Some checks failed
CI / skinny-install (aco) (push) Successful in 1m8s
CI / skinny-install (api) (push) Successful in 34s
CI / skinny-install (bcda) (push) Successful in 36s
CI / skinny-install (bib) (push) Successful in 36s
CI / skinny-install (bls) (push) Successful in 35s
CI / skinny-install (ccw) (push) Successful in 37s
CI / skinny-install (cli) (push) Successful in 38s
CI / skinny-install (cms) (push) Successful in 42s
CI / skinny-install (conf) (push) Successful in 32s
CI / skinny-install (opps) (push) Successful in 37s
CI / skinny-install (perf) (push) Successful in 36s
CI / skinny-install (pfs) (push) Successful in 39s
CI / skinny-install (rex) (push) Successful in 33s
Deploy / build-scan-report (push) Failing after 40s
Infra CI / notebooks (push) Failing after 11s
Infra CI / zotero (push) Successful in 12s
Infra CI / docs (push) Failing after 15s
Infra CI / api (push) Successful in 15s
Infra CI / mc (push) Successful in 11s
CI / lint-test (push) Failing after 11m6s

- cfg.services.gitea → cfg.services.git in api/clients/gitea,
  api/auth/provision, api/auth/deploy (stack.toml already had the
  key as `git` but code still referenced `gitea` → AttributeError
  in all 3 CI pipelines)
- .hadolint.yaml: suppress SC2015 + SC2012 (info-level shellcheck
  findings in notebooks.Dockerfile that the hadolint-action treats
  as failures)
This commit is contained in:
kert
2026-04-16 09:59:00 -04:00
parent 16f3b43974
commit ec087900e0
4 changed files with 5 additions and 3 deletions

View File

@@ -4,3 +4,5 @@ ignored:
- DL3007 # Using latest tag (acceptable for uv COPY --from)
- DL3008 # Pin versions in apt-get install (not practical for system deps)
- DL4006 # Pipe to bash (accepted for zotero installer script)
- SC2015 # A && B || C pattern (intentional in multi-stage builds)
- SC2012 # ls vs find (ls is fine for known-safe filenames in our builds)

View File

@@ -75,7 +75,7 @@ def verify_gitea(values: dict[str, str], *, base_url: str = "") -> list[str]:
if not base_url:
from conf import cfg
base_url = f"{cfg.services.gitea}/api/v1"
base_url = f"{cfg.services.git}/api/v1"
token = values.get("GITEA_TOKEN", "")
if not token:
errors.append("gitea: no GITEA_TOKEN")

View File

@@ -218,7 +218,7 @@ def provision_gitea(
if not base_url:
from conf import cfg
base_url = f"{cfg.services.gitea}/api/v1"
base_url = f"{cfg.services.git}/api/v1"
pw = values["GITEA_ADMIN_PASSWORD"]
current_token = values.get("GITEA_TOKEN", "")

View File

@@ -26,7 +26,7 @@ class GiteaClient(Client):
if not base_url:
from conf import cfg
base_url = f"{cfg.services.gitea}/api/v1"
base_url = f"{cfg.services.git}/api/v1"
super().__init__(base_url, **kw)
self._token = token