feat: more debugging
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
74569c3b15
commit
984d1fd259
@ -3,6 +3,7 @@ use std::{
|
||||
process::Command,
|
||||
};
|
||||
|
||||
use anyhow::Context;
|
||||
use flux_releaser::{
|
||||
app::{LocalApp, SharedLocalApp},
|
||||
services::flux_local_cluster::extensions::FluxLocalClusterManagerExt,
|
||||
@ -41,13 +42,20 @@ impl Releaser {
|
||||
let local_app =
|
||||
SharedLocalApp::new(LocalApp::new(&self.registry).await?).flux_local_cluster_manager();
|
||||
|
||||
let upload_id = local_app.package_clusters(input_path).await?;
|
||||
let upload_id = local_app
|
||||
.package_clusters(input_path)
|
||||
.await
|
||||
.context("failed to package clustesrs")?;
|
||||
|
||||
local_app
|
||||
.commit_artifact(&self.service, &branch, upload_id)
|
||||
.await?;
|
||||
.await
|
||||
.context("failed to commit artifact")?;
|
||||
|
||||
local_app.trigger_release(&self.service, &branch).await?;
|
||||
local_app
|
||||
.trigger_release(&self.service, &branch)
|
||||
.await
|
||||
.context("failed to trigger release")?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user