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

fix(cdk): place Python component binary in component root #1419

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

tmac1973
Copy link
Contributor

Summary

The python pyinstaller build command was creating the component binary in subdirectory, not the component root directory. This prevented the lacework cli from executing the component.

How did you test this change?

  1. compiled the lacework cli
  2. tested the creation of a new python component with scaffolding
  3. tested that the cli could execute the component after build

Issue

https://lacework.atlassian.net/browse/GROW-2491

@tmac1973 tmac1973 requested a review from a team as a code owner October 18, 2023 22:06
Modify pyinstaller build scaffolding to place the python component executable in the component root dir rather than a subdir

Signed-off-by: Timothy MacDonald <[email protected]>
@tmac1973 tmac1973 force-pushed the tmacdonald/grow-2491/python-onedir branch from 4cdd31f to 3c221a0 Compare October 18, 2023 22:09
Copy link
Contributor

@PengyuanZhao PengyuanZhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@afiune afiune merged commit 6809238 into main Oct 19, 2023
1 check passed
@afiune afiune deleted the tmacdonald/grow-2491/python-onedir branch October 19, 2023 00:24
@lacework-releng lacework-releng mentioned this pull request Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants