tdiesler commented on issue #5095:
URL: https://github.com/apache/camel-k/issues/5095#issuecomment-2018169269
# Testing the upgrade scenario
## On AMD64
```
git checkout v2.2.0
make images
go build ./cmd/kamel
kamel install --olm=false
kubectl describe pod -l app=camel-k
kubectl logs -f --tail=400 -l app=camel-k
cd $HOME/git/camel-k-examples/01-basic
kamel run Basic.java --dev
...
Exchange[ExchangePattern: InOnly, BodyType: String, Body: Hello World! Camel
K route written in Java.
```
Now the upgrade
https://camel.apache.org/camel-k/next/contributing/upgrade.html
```
git checkout ghi5238
make images
go build ./cmd/kamel
kamel install --force --olm=false
Condition "IntegrationPlatformAvailable" is "True" for Integration basic:
camel/camel-k
Integration "basic" in phase "Initialization"
Condition "TraitInfo" is "True" for Integration basic: explicitly disabled
by the user
Integration "basic" in phase "Building Kit"
Condition "IntegrationKitAvailable" is "False" for Integration basic:
creating a new integration kit
Integration Kit "kit-co0ofl7au4vc739aie90", created by Integration "basic",
changed phase to "Build Submitted"
[2] 2024-03-25 14:19:00,696 INFO [info] (Camel (camel-1) thread #1 -
timer://java) Exchange[ExchangePattern: InOnly, BodyType: String, Body: Hello
World! Camel K route written in Java.]
Build "kit-co0ofl7au4vc739aie90", created by Integration "basic", changed
phase to "Scheduling"
Build "kit-co0ofl7au4vc739aie90", created by Integration "basic", changed
phase to "Pending"
Build "kit-co0ofl7au4vc739aie90", created by Integration "basic", changed
phase to "Running"
Integration Kit "kit-co0ofl7au4vc739aie90", created by Integration "basic",
changed phase to "Build Running"
```
It seems that the upgrade works fine with
```
-Djib.from.platforms=linux/amd64,linux/arm64
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]