Skip to content

Commit

Permalink
kie-issues#2623: Parameterize Quarkus version with
Browse files Browse the repository at this point in the history
  • Loading branch information
treblereel committed Jan 7, 2025
1 parent 48aa133 commit 7f7a066
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/kn-plugin-workflow/e2e-tests/quarkus_convert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ type CfgTestInputQuarkusConvert struct {
input quarkus.CreateQuarkusProjectConfig
}

var quarkusDependencies = metadata.ResolveQuarkusDependencies()

var cfgTestInputQuarkusConvert_Success = []CfgTestInputQuarkusConvert{
{input: quarkus.CreateQuarkusProjectConfig{}},
{input: quarkus.CreateQuarkusProjectConfig{
Expand All @@ -55,8 +57,8 @@ var cfgTestInputQuarkusConvert_Success = []CfgTestInputQuarkusConvert{
{input: quarkus.CreateQuarkusProjectConfig{
Extensions: "quarkus-jsonp,quarkus-smallrye-openapi",
DependenciesVersion: metadata.DependenciesVersion{
QuarkusPlatformGroupId: "io.quarkus.platform",
QuarkusVersion: "3.8.6",
QuarkusPlatformGroupId: &quarkusDependencies.QuarkusPlatformGroupId,
QuarkusVersion: &quarkusDependencies.QuarkusVersion,
},
}},
}
Expand Down
6 changes: 4 additions & 2 deletions packages/kn-plugin-workflow/e2e-tests/quarkus_create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ type CfgTestInputQuarkusCreate struct {
input quarkus.CreateQuarkusProjectConfig
}

var quarkusDependencies = metadata.ResolveQuarkusDependencies()

var cfgTestInputQuarkusCreate_Success = []CfgTestInputQuarkusCreate{
{input: quarkus.CreateQuarkusProjectConfig{}},
{input: quarkus.CreateQuarkusProjectConfig{
Expand All @@ -50,8 +52,8 @@ var cfgTestInputQuarkusCreate_Success = []CfgTestInputQuarkusCreate{
ProjectName: "serverless-workflow-hello-world",
Extensions: "quarkus-jsonp,quarkus-smallrye-openapi",
DependenciesVersion: metadata.DependenciesVersion{
QuarkusPlatformGroupId: "io.quarkus.platform",
QuarkusVersion: "3.8.6",
QuarkusPlatformGroupId: quarkusDependencies.QuarkusPlatformGroupId,
QuarkusVersion: quarkusDependencies.QuarkusVersion,
},
}},
}
Expand Down

0 comments on commit 7f7a066

Please sign in to comment.