Pete Fotheringham
68490248cc
Use new_build.sh for 20.0 builds
2024-09-15 12:55:56 +01:00
Pete Fotheringham
a311f3967f
Handle OTA_URL
2024-09-05 18:26:43 +01:00
Pete Fotheringham
2475c7d997
Set RELEASE_TYPE
2024-09-05 18:23:33 +01:00
Pete Fotheringham
566dcf4d56
Disable LOCAL_MIROR & BUILD_OVERLAY for now
2024-09-05 16:15:32 +01:00
Pete Fotheringham
498db885de
We dont need to use REPO_VERSION
2024-09-05 16:01:32 +01:00
Pete Fotheringham
b8705d2b99
Tweak calls to repo sync
...
- add retry-fetches
- -c to --current-branch
2024-09-02 21:57:15 +01:00
Pete
707508ddbe
DEVICE -> codename
2024-09-02 18:33:56 +01:00
Pete
eb2e8ae2ec
Initialise userscriptfail
2024-09-02 18:33:56 +01:00
Pete
c1e0512c9f
cd to SRCDIR/branchdir before handling manifests"
2024-09-02 18:33:56 +01:00
Pete
38000b6628
Set DEBUG_LOG after setup overlays
2024-09-02 18:01:53 +01:00
Pete
bbceafb66b
MOve branch specific stuff before handling manifests
2024-09-02 17:50:56 +01:00
Pete Fotheringham
77f209cd0d
new_build.sh must be executable
2024-09-02 17:38:23 +01:00
Pete Fotheringham
c4fe3d74d3
Another shellcheck error
2024-09-02 16:05:07 +01:00
Pete Fotheringham
800cfad229
Call end.sh
2024-09-02 16:03:49 +01:00
Pete Fotheringham
eb1b7fa107
Check userscriptfail *for each device*. Exit immediately if true
2024-09-02 16:00:14 +01:00
Pete Fotheringham
5b66b04504
Fix shellcheck errors
2024-09-02 15:54:17 +01:00
Pete Fotheringham
1f7c41500f
Call post-build.sh and clean up
2024-09-02 15:39:14 +01:00
Pete Fotheringham
926866cb32
Remove old zips and logs
2024-09-02 15:27:46 +01:00
Pete Fotheringham
3f1fdc1928
Call mka and handle the outcome
2024-09-02 15:23:46 +01:00
Pete Fotheringham
264eee5c36
Call pre-build.sh
2024-09-02 15:06:46 +01:00
Pete Fotheringham
f2ceed579c
Call breakfast
2024-09-02 15:05:15 +01:00
Pete Fotheringham
bc6051d962
Call before.sh (and correct doc comment)
2024-09-02 15:03:00 +01:00
Pete Fotheringham
f5df79adc2
Custom packages, keys and environment setup
2024-09-02 14:09:51 +01:00
Pete Fotheringham
571d8d4567
Add repo sync
2024-09-02 13:56:41 +01:00
Pete Fotheringham
b8b65c657b
Add repo init
2024-09-02 13:54:23 +01:00
Pete Fotheringham
87964b2ad2
Setup subdirectories
2024-09-02 13:44:21 +01:00
Pete Fotheringham
0e081d03ec
Setup overlays
2024-09-02 13:38:30 +01:00
Pete Fotheringham
048dcb7884
Add main per-device loop
2024-09-02 13:27:43 +01:00
Pete Fotheringham
2515eebd4e
Handle BRANCH_NAME and DEVICE_LIST earlier
2024-09-02 13:08:02 +01:00
Pete Fotheringham
b053978b38
Branch-specific stuff
2024-09-02 13:05:20 +01:00
Pete Fotheringham
d202e8ec05
Init & sync the mirror
2024-09-02 13:03:30 +01:00
Pete Fotheringham
0e99bf6486
Handle local manifests
2024-09-02 12:49:35 +01:00
Pete Fotheringham
e4a99b43c0
Handle PARALLEL_JOBS and RETRY_FETCHES
2024-09-02 11:51:16 +01:00
Pete Fotheringham
3e3f2365e5
Handle CLEAN_OUTDIR
2024-09-02 11:49:45 +01:00
Pete Fotheringham
e71904ff3b
Add call to begin.sh
2024-09-02 11:44:57 +01:00
Pete Fotheringham
8b67dbd91f
Add do_cleanup
function
2024-09-02 11:39:24 +01:00
Pete Fotheringham
b76678c67b
Add outline documentation
2024-09-02 11:36:26 +01:00
Pete Fotheringham
cada06e48e
For 21.0 builds, call new_build.sh
2024-09-02 08:17:59 +01:00
Pete Fotheringham
685f897d30
Add new_build.sh
2024-09-02 08:10:57 +01:00
Pete Fotheringham
c0c3ac7fc2
Make boot_init.img available if it exists
...
Fixes #661
2024-08-30 22:24:59 +01:00
Pete Fotheringham
653a0d68f4
Correct the description of what is built
2024-08-30 22:19:17 +01:00
Pete Fotheringham
1232b209cd
Update README.md: typ
2024-08-30 22:19:17 +01:00
Pete Fotheringham
abb2fff405
Add words about running docker as non-root user
2024-08-30 22:19:17 +01:00
ryneeverett
5a35f88de9
Improve userscript error handling
...
Resolve #665 .
The current behavior of merely logging a warning when a hook fails is
not ideal. For many (if not all) use cases a failure of these hooks
effectively means a failure of the build because the output files are
not aligned with intent.
An improvement of this behavior should have the following
characteristics:
- facilitate programmatic detection of failures without parsing the
output
- avoid building images for devices/branches that already have failed
hooks
This PR tries to strike a balance between exiting immediately on failure
and continuing the build matrix:
- if begin.sh fails, end the process immediately
- if before.sh fails, skip the branch
- if pre-build.sh fails, skip the branch/device
- if any userscript fails, give a non-zero exit code
With this change, I would also question whether running post-build.sh
twice is still necessary for visibility.
I tested the changes by creating all 5 userscript files, setting them to
`exit 0`, running the build and confirming it succeeded. I then re-ran
the build 5 times, each time setting one of the files to `exit 1` and
verifying that the build failed with appropriate output.
2024-08-30 22:19:17 +01:00
Pete Fotheringham
dd018f817b
Add some words on Failed updates and 'boot loops'
2024-08-18 15:50:07 +01:00
Pete Fotheringham
faf4c902f0
Add some words about upgrading and downgrading
2024-08-16 21:52:15 +01:00
dependabot[bot]
17f045eb3e
Bump docker/build-push-action from 6.5.0 to 6.7.0
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6.5.0 to 6.7.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](5176d81f87...5cd11c3a4c
)
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 18:29:47 +01:00
Pete Fotheringham
3ebd52f84d
Update README.md: changes LOS branch names master -> main
2024-08-13 18:20:31 +01:00
Pete Fotheringham
98e91c2d93
Update README.md: We've moved the archive of old builds
2024-07-30 08:33:39 +01:00
dependabot[bot]
6f2a914287
Bump docker/build-push-action from 6.2.0 to 6.5.0
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6.2.0 to 6.5.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](15560696de...5176d81f87
)
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 07:18:06 +01:00