Skip to content

Commit

Permalink
Merge branch 'master' into feat/excludeExecutionForDisabledPipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
christosarvanitis committed Jan 17, 2025
2 parents adf9f48 + ab81739 commit a838fe7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
fiatVersion=1.53.0
korkVersion=7.247.0
korkVersion=7.248.0
kotlinVersion=1.6.21
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx4g
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class DualExecutionRepository(
return (
primary.retrievePipelineConfigIdsForApplicationWithCriteria(application, criteria) +
previous.retrievePipelineConfigIdsForApplicationWithCriteria(application, criteria)
)
).distinct()
}

override fun retrievePipelinesForPipelineConfigIdsBetweenBuildTimeBoundary(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ protected void tick() {
.retrieveAllApplicationNames(PIPELINE)
.forEach(
app -> {
log.info("Evaluating " + app + " for unused pipelines");
log.debug("Evaluating " + app + " for unused pipelines");
List<String> pipelineConfigIds =
front50service.getPipelines(app, false, true).stream()
.map(p -> (String) p.get("id"))
Expand Down Expand Up @@ -205,9 +205,11 @@ public void disableAppPipelines(
+ app);
front50PipelineConfigIdsNotExecuted.forEach(
p -> {
log.info("Disabling pipeline execution " + p);
if (!dryRun) {
log.debug("Disabling pipeline execution " + p);
disableFront50PipelineConfigId(p);
} else {
log.info("Disabling pipeline execution " + p);
}
});
}
Expand Down

0 comments on commit a838fe7

Please sign in to comment.