Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

2163 upgrade to camel K 2.1 with windows and mac tests #1670

Conversation

apupier
Copy link
Member

@apupier apupier commented Oct 24, 2023

Mixing both upgrade directly to Camel K 2.1 and providning new tests with Windows and Mac on CI because some parts depends on the others.

Add Windows and Mac platform on CI matrix for a subset of tests, basically all tests that do not require a Camel K instance.

it is fixing Language Support for standalone Java on Windows #1591

@apupier apupier force-pushed the 2163-upgradeToCamel2.1WithWindowsAndMactests branch 8 times, most recently from 284d376 to e305ffc Compare October 24, 2023 14:34
@apupier apupier force-pushed the 2163-upgradeToCamel2.1WithWindowsAndMactests branch 2 times, most recently from 9c9b0bb to a0d3d72 Compare November 2, 2023 17:42
@apupier apupier requested a review from djelinek November 3, 2023 07:10
@apupier apupier marked this pull request as ready for review November 3, 2023 07:10
basically all tests that do not require a Camel K instance

Use spawn using shell to inherit from path context and have access to
same binaries than an normal system path on Windows

Adapt task definition test for Windows
Increase timeout for activation in tests because it is a lot slower on
Windows

Fix dependency download on Windows

Use Maven 3.8.x on CI as it is required by Quarkus version indirectly
used by Camel K 1.x

Add JBang for CI (which will be required for Camel K 2.x)

Use Camel JBang also for the warmup:
* it allows to get rid of Maven completely and avoid problems on Windows
* requires to apply a workaround inside our codebase due to CAMEL-20033
consisting in replacing backslash by forward slash to the file uri
provided

Changelog camel-tooling#1591 support for standalone Java files on Windows

Double timeout for first integration to be started and visible in Camel
K integration view
- remove command to deploy with a resource as it was provided only for
files and this feature has been deprecated in 2.0 and removed in 2.1
- the telemetry indicates that his feature was almost never used anyway
see apache/camel-k#4853 (comment)

Signed-off-by: Aurélien Pupier <[email protected]>
Signed-off-by: Aurélien Pupier <[email protected]>
@apupier apupier force-pushed the 2163-upgradeToCamel2.1WithWindowsAndMactests branch 2 times, most recently from a80938a to 960b294 Compare November 7, 2023 07:59
Copy link

sonarqubecloud bot commented Nov 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@apupier apupier requested a review from djelinek November 7, 2023 08:55
@apupier apupier merged commit ba20f48 into camel-tooling:main Nov 7, 2023
7 checks passed
@apupier apupier deleted the 2163-upgradeToCamel2.1WithWindowsAndMactests branch November 7, 2023 09:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants