Skip to content

Conversation

@behnazh-w
Copy link
Member

@behnazh-w behnazh-w commented Dec 15, 2025

Summary

Fixes inconsistent output path handling between Docker CLI and Python package CLI in Macaron by introducing a --output option and HOST_OUTPUT env var, ensuring reports/logs use container-external paths when set.

Description of changes

  • Added --output option to the Macaron Python package CLI, aligning it with Docker CLI behavior for consistent output directory specification across invocation methods.
  • Introduced HOST_OUTPUT environment variable, automatically set by run_macaron.sh when running Macaron in a container; if present, all report paths and logs default to this external host path instead of container-internal defaults.
  • This resolves path mismatches in the containerized environment, preventing issues where outputs become inaccessible outside Docker.
  • Added output support to analyze integration test command, which can be visually checked via CI Docker runs to confirm correct external path resolution.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 15, 2025
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@behnazh-w behnazh-w force-pushed the behnazh/fix-output-dir branch 2 times, most recently from be95ba0 to c0e82b9 Compare December 18, 2025 17:01
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@behnazh-w behnazh-w force-pushed the behnazh/fix-output-dir branch from c0e82b9 to 2b801df Compare December 18, 2025 17:38
@behnazh-w behnazh-w marked this pull request as ready for review December 18, 2025 18:09
@behnazh-w behnazh-w merged commit d190f65 into main Dec 19, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants