Skip to content

Kamel CLI wait-for-build#6707

Open
Evynglais wants to merge 1 commit into
apache:mainfrom
Evynglais:main
Open

Kamel CLI wait-for-build#6707
Evynglais wants to merge 1 commit into
apache:mainfrom
Evynglais:main

Conversation

@Evynglais

@Evynglais Evynglais commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Add the ability to wait for the Integration Phase "Build Complete" during kamel run.

Related issue: 6706

@Evynglais

Evynglais commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Example:

kamel run ./integrations/pipes/pre-ingress.camel.yaml -n default --dont-run-after-build --wait
Modeline options have been loaded from source files
Full command: kamel run ./integrations/pipes/pre-ingress.camel.yaml -n default --dont-run-after-build --wait --name=pre-ingress --dependency=mvn:io.quarkus:quarkus-kubernetes-config [...traits]
Integration "pre-ingress" created
Progress: integration "pre-ingress" in phase Initialization
Progress: integration "pre-ingress" in phase Building Kit
Progress: integration "pre-ingress" in phase Build Complete

Without dont-run-after-build (standard):

kamel run ./integrations/pipes/pre-ingress.camel.yaml -n default --wait
Modeline options have been loaded from source files
Full command: kamel run ./integrations/pipes/pre-ingress.camel.yaml -n default --wait --name=pre-ingress --dependency=mvn:io.quarkus:quarkus-kubernetes-config [...traits]
Integration "pre-ingress" created
Condition "IntegrationPlatformAvailable" is "True" for Integration pre-ingress: camel-k/camel-k
Progress: integration "pre-ingress" in phase Initialization
Condition "LoggingTraitInfo" is "True" for Integration pre-ingress: Logging trait is deprecated and may be removed in future versions. Use Quarkus properties directly (e.g., quarkus.log.level, quarkus.log.console.json). See https://quarkus.io/guides/logging for more details.
Condition "TelemetryTraitInfo" is "True" for Integration pre-ingress: Telemetry trait is deprecated and may be removed in future versions. Use properties and dependencies configuration instead.
Condition "TraitInfo" is "True" for Integration pre-ingress: Applied traits: platform,camel,telemetry,deployer
Integration "pre-ingress" in phase "Initialization"
Progress: integration "pre-ingress" in phase Building Kit
Condition "KameletsAvailable" is "True" for Integration pre-ingress: Kamelets [jms-ibm-mq-sink-custom] found in cluster
Condition "PrometheusAvailable" is "False" for Integration pre-ingress: integration container not available
Condition "TraitInfo" is "True" for Integration pre-ingress: Applied traits: init,camel,kamelets,dependencies,telemetry,deployer,container,prometheus,owner
Progress: integration "pre-ingress" in phase Deploying
Integration "pre-ingress" in phase "Building Kit"
Condition "TraitInfo" is "True" for Integration pre-ingress: Applied traits: camel,telemetry,deployer,quarkus
Condition "IntegrationKitAvailable" is "True" for Integration pre-ingress: kit-d95p97rtc8fc73c304mg
Integration "pre-ingress" in phase "Deploying"
Progress: integration "pre-ingress" in phase Running

Updated --help:

kamel run --help
Build and run the Integration on Kubernetes.

Usage:
  kamel run [file to run] [flags]

Flags:
  [Redacted]
  -w, --wait                           Wait for the integration to be running or built (if --dont-run-after-build is enabled)

Global Flags:
      --kube-config string   Path to the kube config file to use for CLI requests
  -n, --namespace string     Namespace to use for all operations
  -V, --verbose              Verbose logging```

@Evynglais
Evynglais force-pushed the main branch 3 times, most recently from f641187 to fc8f982 Compare July 6, 2026 13:46
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.

1 participant