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

Add build for local components #207

Merged
merged 3 commits into from
Jun 15, 2023
Merged

Add build for local components #207

merged 3 commits into from
Jun 15, 2023

Conversation

GeorgesLorre
Copy link
Collaborator

No description provided.

if component_op.local_component:
services[safe_component_name][
"build"
] = f"./{Path(component_op.component_spec_path).parent}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can the output_path argument be any location on your filesystem? If so, does it make sense to use the "./{Path()}" format or should make it depend on the output_path? I assume the docker-compose up will be ran from the output_path, which could be in a different directory than the local components.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You mean reference the component code relative from the output_path ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, is this needed?

@RobbeSneyders RobbeSneyders merged commit 1be49dc into main Jun 15, 2023
@RobbeSneyders RobbeSneyders deleted the feature/service-build branch June 15, 2023 14:53
Hakimovich99 pushed a commit that referenced this pull request Oct 16, 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