feat: force update, multi-device releases and CI smoke test - #348
Merged
Conversation
- Ignore `^{}` entries from annotated tags when resolving the latest
Magisk version. The next annotated tag would have produced a broken
download URL.
- Fix the `GRAPHENEOS[UPDATE_TYPE]` guard that compared literal text
and never fired.
- Fetch versions in `download_ota` only when the OTA URL is not set,
the inverted check fetched everything twice.
- Verify the signature of the current tool instead of accepting any
signature in the directory. Also fix the `my-avbrot-setup` typo.
Assisted-by: Claude Fable 5
Signed-off-by: PiX <69745008+pixincreate@users.noreply.github.com>
- Split `construct_url` out of `url_constructor` so URLs can be built without downloading. Groundwork for the CI smoke test. - Fix the patch skip check that tested a quoted glob and could never match. - Assign env.toml values with `printf -v` to keep values with spaces or commas intact. - Resolve shellcheck warnings and drop the unused `pkmd` variable. Assisted-by: Claude Fable 5 Signed-off-by: PiX <69745008+pixincreate@users.noreply.github.com>
Scheduled runs can now rebuild the current GrapheneOS version when a module gets an update. Set `FORCE_UPDATE = "true"` in env.toml to opt in. The check compares module versions against the commit that built the existing release asset, and superseded assets are removed after the new upload. The update info on gh-pages is copied on content change instead of version match, so rebuilds with an unchanged version reach the OTA server. A new multi-release workflow starts one release run per device from a comma-separated list, read from the `devices` input or `DEVICES` in env.toml. Each entry can carry its own Magisk preinit device, for example `bluejay:sda8`. release.yml is callable per device through workflow_call, and the publish step rebases before pushing to survive parallel device builds. The release workflow shell logic now lives in `src/ci/` scripts. This keeps the workflow file small and makes the logic testable locally. Assisted-by: Claude Fable 5 Signed-off-by: PiX <69745008+pixincreate@users.noreply.github.com>
Check shell syntax, run shellcheck, parse env.toml, and verify that every constructed download URL still resolves. Catches renamed release assets and version drift before a release run does. Assisted-by: Claude Fable 5 Signed-off-by: PiX <69745008+pixincreate@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
FORCE_UPDATE = "true"inenv.toml. Superseded release assets are removed after the new upload.multi-release.ymlworkflow: one release run per device. Device list comes from thedevicesinput orDEVICESinenv.toml. Each entry can carry its own Magisk preinit device, for examplebluejay:sda8.src/ci/scripts.release.ymlis now glue only and callable per device.env.tomlparsing, and a check that every download URL still resolves.Fixes
^{}tag entry and break the download URLGRAPHENEOS[UPDATE_TYPE]guard compared literal text and never firedCloses #66
Closes #301