-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add leviathan prep and device-repo example pseudocode
Change-type: patch Signed-off-by: Ryan Cooke <[email protected]>
- Loading branch information
1 parent
2b2f795
commit a8432c5
Showing
2 changed files
with
71 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Yocto build | ||
# device repo example psuedo code for visualisation purposes | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- master | ||
|
||
jobs: | ||
yocto-generic-amd64: | ||
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build.yml@<tag> | ||
secrets: inherit | ||
with: | ||
machine: generic-amd64 | ||
sign-image: true | ||
development-mode: false | ||
environment: 'production' # used to select prod api key , # prod api url # SSH url = blank | ||
... etc | ||
|
||
generic-aarch64: | ||
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build.yml@<tag> | ||
secrets: inherit | ||
with: | ||
machine: generic-aarch64 | ||
sign-image: false | ||
development-mode: true | ||
environment: 'balena-machine' # have a github env with SSH port , ssh URL | ||
... etc | ||
|
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