Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,6 @@ CLAUDE.local.md

# cloud test runs (tools/cloudtest): bundles, manifests, console logs
/cloudtest/

# Python bytecode
__pycache__/
4 changes: 3 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Out of scope -- do not fold into the chain or org overviews: **os402** (dormant
- One canonical branch ruleset, **`lockboot-main`**, is applied to every repo by **`tools/rulesets.sh`**
(`make sync-rulesets` / `make check-rulesets`): PR required (0 approvals), no force-push, no branch
deletion, **no linear history** (merge commits allowed), admin bypass; required checks =
`ci build-x86_64 build-aarch64` (stage0/1/2), `ci` (vaportpm), `build` (DudeFS), none (.github /
`ci build-x86_64 build-aarch64` (stage0/1/2, vaportpm), `build` (DudeFS), none (.github /
workspace). The same script sets each repo's merge settings: merge commits on, squash off, rebase
on, head branch deleted on merge. `sync` also deletes any legacy differently-named ruleset.
`make check-rulesets` catches drift and is the source of truth for branch protection and merge
Expand Down Expand Up @@ -125,6 +125,8 @@ before bumping the Fedora major).
single `--metadata`, so add the key to the existing list. Filter by
`resource.labels.instance_id` (read the id before deleting), not the name: a reused VM name
pulls in earlier runs' logs.
- Every GCE instance is created with metadata `serial-port-enable=true`: without it there is no
serial port and so no console output to read. Settled; not an open question.
- GCP full-chain runs (stage1 onward) need a Confidential VM (SEV / SEV-SNP): stage1 attests
before running stage2, and GCE provisions AK certificates only on Confidential VMs. Plain
Shielded VMs are for stage0 probes only.
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ check-harness: ## Fail if any repo's build.mk / Dockerfile.build drifted from st
# $HOME -- never on disk, never under /src (which every lockboot:build container can read). Don't run
# builds while a logged-in shell is open: the builders are --privileged.
# make deploy-shell LOGIN=aws|gcp|both # sign in, interactive shell, sign out on exit
# make deploy-shell-aws / deploy-shell-gcp # the same, one cloud
# make deploy-shell # tools only, no login
# make deploy-shell LOGIN=gcp CMD='gcloud compute images list --no-standard-images'
# make deploy-exec CMD='aws sts get-caller-identity' # run inside the OPEN shell (its login)
Expand Down Expand Up @@ -172,6 +173,13 @@ deploy-shell: deploy-image ## Shell (or CMD='...') in lockboot:deploy; LOGIN=aws
-v $(DEPLOY_HOST_WS):/src $(DEPLOY_ENV) -e DEPLOY_LOGIN=$(LOGIN) -e DEPLOY_CMD -e GH_TOKEN \
-w /src $(DEPLOY_IMAGE)

.PHONY: deploy-shell-aws deploy-shell-gcp
# deploy-shell signed in to one cloud. Still one session at a time (fixed container name).
deploy-shell-aws: override LOGIN := aws
deploy-shell-gcp: override LOGIN := gcp
deploy-shell-aws: deploy-shell ## deploy-shell signed in to AWS only (= LOGIN=aws)
deploy-shell-gcp: deploy-shell ## deploy-shell signed in to GCP only (= LOGIN=gcp)

.PHONY: deploy-exec
# Run CMD inside the RUNNING deploy-shell (same tmpfs $HOME, so the same live login). Fails if no
# shell is open; the session's lifetime stays with whoever holds the interactive deploy-shell.
Expand Down
187 changes: 0 additions & 187 deletions PLAN-GPT-MEASUREMENT.md

This file was deleted.

Loading