Skip to content

Commit e52e8b6

Browse files
committed
Allow to ignore stages executions
1 parent 490ffdd commit e52e8b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ecs_files_composer/files_mgmt.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ def handle_sources(
111111
retrieved = self.handle_s3_source(iam_override, session_override)
112112
elif self.source.secret:
113113
retrieved = self.handle_secret_source(iam_override, session_override)
114+
LOG.debug(
115+
f"Return from source for {self.path}: {retrieved}-{ignore_source_download_error}"
116+
)
114117
return retrieved, ignore_source_download_error
115118

116119
def handle_ssm_source(self, iam_override=None, session_override=None) -> bool:
@@ -178,6 +181,7 @@ def handle_s3_source(self, iam_override=None, session_override=None) -> bool:
178181
s3_bucket=bucket_name,
179182
s3_key=key,
180183
)
184+
return True
181185
except Exception as error:
182186
LOG.error("Failed to retrieve file from AWS S3")
183187
LOG.error(error)

0 commit comments

Comments
 (0)