diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-08 11:45:42 -0500 | 
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-08 11:45:42 -0500 | 
| commit | 5f7d11f1864823d5bee142b0670342da084fdbfb (patch) | |
| tree | c883794bd97f6d9848a53fc19ce1e61752e5828f /src/deliverable.c | |
| parent | 6de32f39ff3a84715788615980e51a709579ad4f (diff) | |
| download | stasis-5f7d11f1864823d5bee142b0670342da084fdbfb.tar.gz | |
Makes docker builds, artifactory uploads, and testing optional via CLI arguments.
* Remove [DEBUG] from debug summary
* Add enable_* states to debug summary
Diffstat (limited to 'src/deliverable.c')
| -rw-r--r-- | src/deliverable.c | 7 | 
1 files changed, 5 insertions, 2 deletions
| 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) { | 
