From 8c7d9c537f6c80cbd27d2ffed75837cf119a4f43 Mon Sep 17 00:00:00 2001 From: Cam Hutchison Date: Mon, 6 Jan 2025 17:26:03 +1100 Subject: [PATCH] docs: Update preflight docs for building buildboxes Update the preflight docs to provide instructions for building the buildboxes for the new version that master becomes. The buildboxes build on a schedule and that can mean up to a week will need to pass before the buildboxes are automatically built, given that the assets buildbox is build only once a week (Sundays) and that is needed to build the centos7 buildboxes. The updated instructions describe how to kick off that build automatically. --- docs/preflight.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/preflight.md b/docs/preflight.md index a41bceefcec79..32c3bfc0baeaa 100644 --- a/docs/preflight.md +++ b/docs/preflight.md @@ -14,3 +14,12 @@ This checklist is to be run prior to cutting the release branch. - [ ] Update the `BUILDBOX_VERSION` in `build.assets/images.mk`. Commit and merge. - [ ] Update `e/.github/workflows/build-buildboxes-cron.yaml` to uncomment final pre-release job and ensure it has the correct branch names (two places). Commit and merge. + - [ ] After the `BUILDBOX_VERSION` update in the `build.assets/images.mk` has + merged to master, build the buildboxes for the next `BUILDBOX_VERSION`. The + first run will build the "assets" buildbox and the other builds will likely + fail. Run again after the first has finished to build the others that use + the "assets" buldbox: + + today=$(LOCALE=C TZ=UTC date +%A) + gh workflow run --repo gravitational/teleport.e --field assets-day="${today}" build-buildboxes.yaml + gh workflow run --repo gravitational/teleport.e build-buildboxes.yaml