Parse the pipeline templates.
This commit is contained in:
@@ -59,12 +59,13 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
.get_tree(
|
||||
"talexander",
|
||||
"webhook_bridge",
|
||||
"c32a8650f509b5e4bbf6df0c210a3a01ad405eb5",
|
||||
"6d3b9e9db82d7857baa114d89efcb1bf470f448d",
|
||||
)
|
||||
.await?;
|
||||
let in_repo_config = discover_webhook_bridge_config(&gitea, &repo_tree).await?;
|
||||
|
||||
discover_matching_push_triggers(&gitea, &repo_tree, "refs/heads/main", &in_repo_config).await?;
|
||||
let pipelines =
|
||||
discover_matching_push_triggers(&gitea, &repo_tree, "refs/heads/main", &in_repo_config)
|
||||
.await?;
|
||||
|
||||
// let jobs: Api<PipelineRun> = Api::namespaced(kubernetes_client, "lighthouse");
|
||||
// let jobs: Api<PipelineRun> = Api::default_namespaced(kubernetes_client);
|
||||
|
||||
Reference in New Issue
Block a user