diff --git a/module/app_container_test.go b/module/app_container_test.go index ec620fa3..e0193ad0 100644 --- a/module/app_container_test.go +++ b/module/app_container_test.go @@ -467,6 +467,9 @@ func TestAppContainer_AppDeployStepFactory(t *testing.T) { if result.Output["status"] != "active" { t.Errorf("expected status=active, got %v", result.Output["status"]) } + if result.Output["deployed"] != true { + t.Errorf("expected deployed=true, got %v", result.Output["deployed"]) + } if result.Output["app"] != "my-api" { t.Errorf("expected app=my-api, got %v", result.Output["app"]) } diff --git a/module/pipeline_step_app.go b/module/pipeline_step_app.go index 85a93ae0..e685e9ad 100644 --- a/module/pipeline_step_app.go +++ b/module/pipeline_step_app.go @@ -67,6 +67,7 @@ func (s *AppDeployStep) Execute(_ context.Context, pc *PipelineContext) (*StepRe return nil, fmt.Errorf("app_deploy step %q: %w", s.name, err) } return &StepResult{Output: map[string]any{ + "deployed": true, "result": result, "app": s.app, "status": result.Status,