tftsr-devops_investigation/docs/wiki
Shaun Arman bb0f3eceab perf(ci): use pre-baked images and add cargo/npm caching
Switch all test and release build jobs from raw base images to the
pre-baked images already defined in .docker/ and pushed to the local
Gitea registry. Add actions/cache@v3 for Cargo registry and npm to
eliminate redundant downloads on subsequent runs.

Changes:
- Dockerfile.linux-amd64/arm64: bake in rustfmt and clippy components
- test.yml: rust jobs → trcaa-linux-amd64:rust1.88-node22; drop inline
  apt-get and rustup component-add steps; add cargo cache
- test.yml: frontend jobs → add npm cache
- auto-tag.yml: build-linux-amd64 → trcaa-linux-amd64; drop Install
  dependencies step and rustup target add
- auto-tag.yml: build-windows-amd64 → trcaa-windows-cross; drop Install
  dependencies step and rustup target add
- auto-tag.yml: build-linux-arm64 → trcaa-linux-arm64 (ubuntu:22.04-based);
  drop ~40-line Install dependencies step, . "$HOME/.cargo/env", and
  rustup target add (all pre-baked in image ENV PATH)
- All build jobs: add cargo and npm cache steps
- docs/wiki/CICD-Pipeline.md: document pre-baked images, cache keys,
  and insecure-registries daemon prerequisite

Expected savings: ~70% faster PR test suite (~1.5 min vs ~5 min),
~72% faster release builds (~7 min vs ~25 min) after cache warms up.

NOTE: Trigger build-images.yml via workflow_dispatch before merging
to ensure images contain rustfmt/clippy before workflow changes land.
2026-04-12 20:16:32 -05:00
..
AI-Providers.md chore: remove all proprietary vendor references for public release 2026-04-07 09:46:25 -05:00
Architecture.md feat: add image attachment support with PII detection 2026-04-08 20:03:34 -05:00
CICD-Pipeline.md perf(ci): use pre-baked images and add cargo/npm caching 2026-04-12 20:16:32 -05:00
Database.md feat: add image attachment support with PII detection 2026-04-08 20:03:34 -05:00
Development-Setup.md fix(security): harden secret handling and audit integrity 2026-04-04 23:37:05 -05:00
Home.md feat: add image attachment support with PII detection 2026-04-08 20:03:34 -05:00
Integrations.md docs: update wiki for v0.2.6 - integrations and Custom REST provider 2026-04-03 16:39:49 -05:00
IPC-Commands.md feat: add image attachment support with PII detection 2026-04-08 20:03:34 -05:00
LiteLLM-Bedrock-Setup.md docs: add LiteLLM + AWS Bedrock integration guide 2026-03-31 12:13:26 -05:00
PII-Detection.md fix(security): harden secret handling and audit integrity 2026-04-04 23:37:05 -05:00
Security-Model.md fix(security): harden secret handling and audit integrity 2026-04-04 23:37:05 -05:00
Troubleshooting.md docs: update README and wiki for Gitea Actions migration 2026-03-29 17:46:34 -05:00