From 5f7d11f1864823d5bee142b0670342da084fdbfb Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 8 Mar 2024 11:45:42 -0500 Subject: Makes docker builds, artifactory uploads, and testing optional via CLI arguments. * Remove [DEBUG] from debug summary * Add enable_* states to debug summary --- src/deliverable.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/deliverable.c') diff --git a/src/deliverable.c b/src/deliverable.c index fca3892..77aa619 100644 --- a/src/deliverable.c +++ b/src/deliverable.c @@ -689,8 +689,11 @@ int delivery_format_str(struct Delivery *ctx, char **dest, const char *fmt) { void delivery_debug_show(struct Delivery *ctx) { printf("\n====DEBUG====\n"); - printf("%-20s %-10s\n", "[DEBUG] system configuration directory:", globals.sysconfdir); - printf("%-20s %-10s\n", "[DEBUG] mission directory:", ctx->storage.mission_dir); + printf("%-20s %-10s\n", "System configuration directory:", globals.sysconfdir); + printf("%-20s %-10s\n", "Mission directory:", ctx->storage.mission_dir); + printf("%-20s %-10s\n", "Testing enabled:", globals.enable_testing ? "Yes" : "No"); + printf("%-20s %-10s\n", "Docker image builds enabled:", globals.enable_docker ? "Yes" : "No"); + printf("%-20s %-10s\n", "Artifact uploading enabled:", globals.enable_artifactory ? "Yes" : "No"); } void delivery_meta_show(struct Delivery *ctx) { -- cgit