Don't hard-fail on a failed stage - this is rather normal

main
Simon Quigley 5 days ago
parent 643c02279c
commit 8fa2d80fa4

@ -974,7 +974,6 @@ int main(int argc, char** argv) {
}
// Stage 2: Build all packages in parallel
if(!has_failures) {
log_info("Starting Stage 2: Building all packages.");
std::vector<std::future<void>> build_futures;
for(auto &pkg : packages) {
@ -1000,10 +999,8 @@ int main(int argc, char** argv) {
has_failures = true;
}
}
}
// Stage 3: Dput upload all packages in parallel
if(!has_failures) {
log_info("Starting Stage 3: Uploading all packages with dput.");
std::vector<std::future<void>> upload_futures;
for(auto &pkg : packages) {
@ -1029,10 +1026,8 @@ int main(int argc, char** argv) {
has_failures = true;
}
}
}
// Stage 4: Run Lintian on all packages in parallel
if(!has_failures) {
log_info("Starting Stage 4: Running Lintian on all packages.");
std::vector<std::future<void>> lintian_futures;
for(auto &pkg : packages) {
@ -1051,7 +1046,6 @@ int main(int argc, char** argv) {
}
}
log_info("Completed Stage 4: All Lintian runs completed.");
}
// Proceed to summary and cleanup
summary(skip_cleanup);

Loading…
Cancel
Save