diff --git a/.gitea/workflows/framework-ci.yaml b/.gitea/workflows/framework-ci.yaml index 94c4bcc..832ba2e 100644 --- a/.gitea/workflows/framework-ci.yaml +++ b/.gitea/workflows/framework-ci.yaml @@ -29,6 +29,13 @@ jobs: grep -E '^NoNewPrivs:[[:space:]]+1$' /proc/self/status + test "$(command -v python3)" = /usr/bin/python3 + test "$(command -v git)" = /usr/bin/git + sha256sum --strict --check <<'SUMS' + 52e0a13e60a981d8c4b6478be2ba5176f69da07948a056bf49cf6f077e30cb41 /usr/bin/python3 + 8fb7c4c2a0e5ec847626098c2a375ff01d6a9e5f81352e3ae56f30b41ec850cd /usr/bin/git + SUMS + python3 --version git --version diff --git a/docs/CI-INPUT-PINNING.md b/docs/CI-INPUT-PINNING.md new file mode 100644 index 0000000..9054d89 --- /dev/null +++ b/docs/CI-INPUT-PINNING.md @@ -0,0 +1,14 @@ +# Framework CI inputs + +The ABSDEV-CI runner container uses image +`gitea/runner@sha256:66d80966792e621c9761c47919644198d35fd1c297e9a01e69ed3c1ae37db0c7`. +The `absdev-ci` label maps to +`docker.gitea.com/runner-images@sha256:203ba5eff144b485821fc41c47f29ed24333304660e953e8983b9b852e013ca0`. +The framework workflow checks the resolved paths and SHA-256 digests of +Python and Git before checkout. It then fetches the exact workflow revision +and runs the repository's framework tests. It does not install dependencies +or resolve third-party Actions. + +During a toolchain update, qualify the replacement image by immutable digest +and update the fingerprint checks with its observed binaries before approving +the runner change. Production execution remains disabled.