refact: Split OKD installation score into a simple struct that returns the list of scores. Also refactored discovery logic so it can be used by bootstrap and control plane steps
Some checks failed
Run Check Script / check (pull_request) Failing after 27s

This commit is contained in:
Jean-Gabriel Gill-Couture
2025-09-04 17:23:17 -04:00
parent e7ccfe6969
commit 8bcade27a1
19 changed files with 1187 additions and 985 deletions

View File

@@ -2,7 +2,7 @@ mod topology;
use crate::topology::{get_inventory, get_topology};
use harmony::{
config::secret::SshKeyPair, data::{FileContent, FilePath}, modules::okd::{installation::OKDInstallationScore, ipxe::OKDIpxeScore}, score::Score, topology::HAClusterTopology
config::secret::SshKeyPair, data::{FileContent, FilePath}, modules::okd::{installation::OKDInstallationPipeline, ipxe::OKDIpxeScore}, score::Score, topology::HAClusterTopology
};
use harmony_secret::SecretManager;
@@ -22,7 +22,7 @@ async fn main() {
content: ssh_key.public,
},
}),
Box::new(OKDInstallationScore {}),
Box::new(OKDInstallationPipeline {}),
];
harmony_cli::run(inventory, topology, scores, None)
.await