-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use config options instead of resource files for ssh keys (#328) * Shared agent code location (#329) * Move run_with_logged_errors out of charm.py * Update testflinger source and add action for it * Add integration tests and docs for the update-testflinger action * cleanup * Add update-configs action (#337) * Write out the supervisord configs for all agents (#351) * Write out the supervisord configs for all agents * Update the supervisor services when configs/code is updated * Update README for the agent charm with instructions for test/debug * redirect stderr for all supervisord agents * Fix charm to expect base64 encoded ssh keys as already documented * important fix - reservations won't work without this Any script (like ssh-copy-id) which uses $HOME, or ~ or anything like that won't work without this. Although supervisord execs the process as the specified user, there's no shell. So we need to set certain vars like this in the supervisord config. * Also install the device-connector so that things like reserve work * Rename ssh config options for better consistency * Update testflinger-agent-host-charm README * Update tf-cmd-scripts to work with the new agent-host charm (#355) * Add a config option with a sane default for the agent host ssh config (#370) * Add agent-host terraform module (#362) * Add agent-host terraform module * Separate variables from main.tf * Agent host terraform constraints (#387) * Fix some formatting issues in the README.md * Add variables to build constraints to the agent-host terraform module * Update tf-cleanup for this branch to keep current with PR#382 that was just merged (#405) * Remove vars no longer used from tf-cleanup * Unit/Integration test fixes for testflinger-agent-host-charm
- Loading branch information
Showing
32 changed files
with
1,078 additions
and
152 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,4 @@ | ||
update-configs: | ||
description: Update Testflinger agent configs | ||
update-testflinger: | ||
description: Update Testflinger agent code |
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 @@ | ||
options: | ||
config-repo: | ||
type: string | ||
description: Git repo containing device agent config data | ||
default: "" | ||
config-branch: | ||
type: string | ||
description: Git branch to pull for the config data | ||
default: "main" | ||
config-dir: | ||
type: string | ||
description: Path from the root of the config repo where the directories and configs are located for this agent host | ||
default: "" | ||
ssh-private-key: | ||
type: string | ||
description: ssh private key for connecting to local test devices | ||
default: "" | ||
ssh-public-key: | ||
type: string | ||
description: ssh public key for connecting to local test devices | ||
default: "" | ||
ssh-config: | ||
type: string | ||
description: ssh config for connecting to local test devices | ||
default: | | ||
StrictHostKeyChecking no | ||
UserKnownHostsFile /dev/null | ||
LogLevel QUIET | ||
ConnectTimeout 30 |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
ops >= 1.4.0 | ||
GitPython==3.1.43 | ||
Jinja2==3.1.4 |
Oops, something went wrong.