the rendered meta flake pins each agent config by forge URL at its forge main
This commit is contained in:
parent
fc72bea151
commit
09cabf8398
8 changed files with 432 additions and 163 deletions
|
|
@ -9,7 +9,7 @@ mod tests;
|
|||
|
||||
pub use git::{
|
||||
git, git_authed, git_command, git_command_authed, git_is_ancestor, git_read_tree_reset,
|
||||
git_rev_parse, git_tag, git_update_ref, git_update_ref_cas,
|
||||
git_rev_parse, git_show_file, git_tag, git_update_ref, git_update_ref_cas,
|
||||
};
|
||||
pub use host_config::{hand_permissions, write_dropins};
|
||||
pub use setup::{
|
||||
|
|
@ -335,6 +335,7 @@ async fn agents_for_meta(name_to_add: Option<&str>) -> Result<Vec<crate::meta::A
|
|||
Some(crate::meta::AgentSpec {
|
||||
port: agent_web_port(&name),
|
||||
archetype: archetypes.get(&name).cloned(),
|
||||
pin: None,
|
||||
name,
|
||||
})
|
||||
})
|
||||
|
|
@ -345,6 +346,7 @@ async fn agents_for_meta(name_to_add: Option<&str>) -> Result<Vec<crate::meta::A
|
|||
out.push(crate::meta::AgentSpec {
|
||||
port: agent_web_port(extra),
|
||||
archetype: archetypes.get(extra).cloned(),
|
||||
pin: None,
|
||||
name: extra.to_owned(),
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue