Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unordered parallel build logs #530

Merged
merged 6 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions aws_lambda_builders/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,10 @@ def run(self):

for action in self.actions:
action_info = "{}:{}".format(self.NAME, action.NAME)

LOG.info("Running %s", action_info)
function_name = ""
if self.options and "build_logical_id" in self.options:
function_name = "{}: ".format(self.options["build_logical_id"])
LOG.info("%sRunning %s", function_name, action_info)
jysheng123 marked this conversation as resolved.
Show resolved Hide resolved

try:
action.execute()
Expand Down
2 changes: 1 addition & 1 deletion aws_lambda_builders/workflows/custom_make/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def execute(self):

try:
current_env = self.osutils.environ()
LOG.info("Current Artifacts Directory : %s", self.artifact_dir_path)
LOG.info("%s: Current Artifacts Directory : %s", self.build_logical_id, self.artifact_dir_path)
current_env.update({"ARTIFACTS_DIR": self.artifact_dir_path})
# Export environmental variables that might be needed by other binaries used
# within the Makefile and also specify the makefile to be used as well.
Expand Down
Loading