-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buildmaster: consolidate builder info into single file per builder
* Add an example builder definition. * The only external file is a single pool of trusted known_hosts which the builders and jump hosts are validated against. I'd like to also base64 encode these.. but paramiko doesn't give you the ability to process multiple known_hosts when you do string-based injection... you have to them one-by-one knowing the key format. * Refactor jump host structure to an optional level within ssh * Assist tools need updated for new design, as well as the existing on-disk builder definitions. * Tightens up a bunch of validations, and is a little more chatty on what it is doing.
- Loading branch information
Showing
4 changed files
with
67 additions
and
41 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
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,22 @@ | ||
{ | ||
"name": "builder_riscv64", | ||
"portstree": { | ||
"path": "/boot/home/haikuports" | ||
}, | ||
"haikuporter": { | ||
"path": "/boot/home/haikuporter/haikuporter", | ||
"args": "-j1" | ||
}, | ||
"ssh": { | ||
"jump": { | ||
"host": "optional jumphost", | ||
"port": "22", | ||
"user": "username", | ||
"privateKey": "private key base64" | ||
}, | ||
"privateKey": "private key base64", | ||
"host": "haikuhost", | ||
"port": "22", | ||
"user": "user" | ||
} | ||
} |