Commit Graph
8 Commits
Author SHA1 Message Date
timmyhadwen bdc70e87fc fix: replace GitLab-only CI variables
CI_PROJECT_DIR and CI_COMMIT_SHORT_SHA do not exist on Gitea Actions.
user_templates was resolving to /.gitlab/templates, and the rev
fallback echoed an empty string. Use WORKDIR (already exported into
the KiBot container) and GITHUB_SHA.
2026-08-23 18:57:58 +10:00
timmyhadwen e43814ca45 fix: replace GitLab-only CI variables
CI_PROJECT_DIR and CI_COMMIT_SHORT_SHA do not exist on Gitea Actions.
user_templates was resolving to /.gitlab/templates, and the rev
fallback echoed an empty string. Use WORKDIR (already exported into
the KiBot container) and GITHUB_SHA.
2026-08-23 18:57:57 +10:00
timmyhadwen 18cc35f923 fix: replace GitLab-only CI variables
CI_PROJECT_DIR and CI_COMMIT_SHORT_SHA do not exist on Gitea Actions.
user_templates was resolving to /.gitlab/templates, and the rev
fallback echoed an empty string. Use WORKDIR (already exported into
the KiBot container) and GITHUB_SHA.
2026-08-23 18:57:57 +10:00
timmyhadwen 6f4239337e fix: replace GitLab-only CI variables
CI_PROJECT_DIR and CI_COMMIT_SHORT_SHA do not exist on Gitea Actions.
user_templates was resolving to /.gitlab/templates, and the rev
fallback echoed an empty string. Use WORKDIR (already exported into
the KiBot container) and GITHUB_SHA.
2026-08-23 18:57:56 +10:00
timmyhadwen 58293d12fe ci: only pass readable files to the Astable upload
A glob that matched a directory or a zero-byte file still reached curl,
which failed the whole job with exit 26 and lost the upload even though
every fab artifact had been produced. add() now requires a non-empty
regular file and logs what it skipped.
2026-08-23 18:51:11 +10:00
timmyhadwen a7ac0dbadb ci: check out submodules non-recursively
The fab pipeline needs .gitlab/configs and the two KiCad libraries, but
not kicad-ci's own nested submodules (kicad-footprint-generator,
ki-ntree) — those are footprint-generation and InvenTree tooling.
Recursive checkout pulled them and failed on an SSH gitlab.com URL
baked into older kicad-ci commits.
2026-08-23 18:06:03 +10:00
timmyhadwen 4b42299571 ci: take a read-only PAT for private submodule checkout
Gitea's per-job token is scoped to the calling repo, so cross-repo
private submodules (micromelon-kicadlibs, micromelon_3d) fail with
'Repository not found'. Callers now pass SUBMODULE_TOKEN, a PAT scoped
to read:repository, through to actions/checkout.
2026-08-23 17:58:06 +10:00
timmyhadwen 236b53a129 ci: port working pipeline from cookietronics/keeb@dev
The previous reusable used container: jobs, which cannot work on this
runner — the kicad_auto images have no Node, so actions/checkout's post
step dies with exit 127. It had never run successfully. This replaces it
with the docker-run design that keeb debugged into working, plus the
kicad10_auto bump and the artifact-path and @v3 pinning fixes.
2026-08-23 16:03:38 +10:00