Add Makefile for running CI jobs locally.

This commit is contained in:
Tom Alexander
2024-09-28 22:32:20 -04:00
parent efe37f020a
commit c20927b726
9 changed files with 85 additions and 69 deletions

View File

@@ -24,7 +24,12 @@ pub(crate) async fn run_pipelines(
tracing::debug!("Using crd: {}", serde_json::to_string(&PipelineRun::crd())?);
for mut pipeline in pipelines {
debug!("Kicking off {}", pipeline.name);
info!(
"Kicking off {} for repo {}/{}",
pipeline.name,
hook.get_repo_owner()?,
hook.get_repo_name()?,
);
if pipeline.pipeline.spec.params.is_none() {
pipeline.pipeline.spec.params = Some(Vec::new());
}