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 local builds from directory for containerized and non-containerized uses. #2654

Merged
merged 2 commits into from
Sep 23, 2021

Conversation

doru1004
Copy link
Contributor

@doru1004 doru1004 commented Sep 21, 2021

Fix building of integrations starting from local integration directories i.e. the output of a kamel local build command.

Step 1: Build local files for integrations:

kamel local build --integration-directory <directory-name> <input_file>

kamel local run can run the integration by passing the directory to as input:

Step 2: Take the previously-created directory as input to run the integration:

kamel local run --integration-directory <directory-name>

Step 2': The directory can also be used when running a containerized integration:

kamel local run --containerize --network=host --image <registry>/<image_name> --integration-directory <directory-name>

Note that no input files are given to kamel local run in the above steps 2 and 2'.

Release Note

NONE

@doru1004 doru1004 changed the title Fix local builds for containerized and non-containerized uses. Fix local builds from directory for containerized and non-containerized uses. Sep 21, 2021
Copy link
Member

@nicolaferraro nicolaferraro left a comment

Choose a reason for hiding this comment

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

Thanks!

@nicolaferraro nicolaferraro merged commit 65eccb5 into apache:main Sep 23, 2021
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.

2 participants