-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from airframesio/matrix-reloaded
Build Matrix Hopefully Working
- Loading branch information
Showing
6 changed files
with
70 additions
and
76 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# gha matrix automation | ||
|
||
## how does this work | ||
|
||
TLDR; it's complicated I'll get back to you. | ||
|
||
it's based on [rpardini's tooling](https://github.com/rpardini/armbian-build/tree/extensions/userpatches/gha) | ||
|
||
as [noted here](https://github.com/rpardini/armbian-build/blob/f487f305753465a058082bf6ccada7588f5b1aac/userpatches/gha/chunks/750.single_repo.yaml#L198-L205) a pair of secrets for GPG signing key was configured in GHA | ||
|
||
## updating matrix | ||
|
||
### light changes | ||
|
||
if just updating board list, this should be sufficient | ||
|
||
update `armbian-userpatches/targets.yaml` | ||
|
||
### broader changes.. | ||
|
||
anything beyond a board item, you need ot regerate everything | ||
|
||
assumes armbian-build is already checked out | ||
|
||
run this from the `airwaves-os/armbian` path | ||
|
||
``` | ||
rclone sync armbian-userpatches armbian-build/userpatches;pushd armbian-build/;./compile.sh gha-matrix;./compile.sh gha-template MATRIX_ARTIFACT_CHUNKS=1 MATRIX_IMAGE_CHUNKS=1;cp output/info/artifact-image-complete-matrix.yml ../../.github/workflows/artifact-image-complete-matrix.yml ;popd | ||
``` |
This file contains 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
This file contains 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
This file contains 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
This file contains 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