diff --git a/configurations/konflux/build-bash-jam-cfg.yaml b/configurations/konflux/build-bash-jam-cfg.yaml index 9814113..93ec151 100644 --- a/configurations/konflux/build-bash-jam-cfg.yaml +++ b/configurations/konflux/build-bash-jam-cfg.yaml @@ -12,7 +12,7 @@ application: name: my-quarkus enable: false component: - name: quarkus-1 + name: my-quarkus-app enable: false job: diff --git a/configurations/konflux/build-bash-pack-cfg.yaml b/configurations/konflux/build-bash-pack-cfg.yaml index ba7e849..2e769dd 100644 --- a/configurations/konflux/build-bash-pack-cfg.yaml +++ b/configurations/konflux/build-bash-pack-cfg.yaml @@ -12,7 +12,7 @@ application: name: my-quarkus enable: false component: - name: quarkus-1 + name: my-quarkus-app enable: false job: diff --git a/configurations/konflux/build-quarkus-app-cfg.yaml b/configurations/konflux/build-quarkus-app-cfg.yaml index bd83fa0..c6cf04b 100644 --- a/configurations/konflux/build-quarkus-app-cfg.yaml +++ b/configurations/konflux/build-quarkus-app-cfg.yaml @@ -12,13 +12,13 @@ application: name: my-quarkus enable: false component: - name: quarkus-1 + name: my-quarkus-app enable: false job: # One of the supported resources: PipelineRun, Pipeline resourceType: PipelineRun - name: quarkus-app-on-push + name: quarkus-1-on-push description: PipelineRun performing a build of a Quarkus application using pack CLI workspaces: diff --git a/configurations/konflux/build-quarkus-app-lifecycle-build-cfg.yaml b/configurations/konflux/build-quarkus-app-lifecycle-build-cfg.yaml index 3e62391..04a512f 100644 --- a/configurations/konflux/build-quarkus-app-lifecycle-build-cfg.yaml +++ b/configurations/konflux/build-quarkus-app-lifecycle-build-cfg.yaml @@ -12,13 +12,13 @@ application: name: my-quarkus enable: false component: - name: quarkus-1 + name: my-quarkus-app enable: false job: # One of the supported resources: PipelineRun, Pipeline resourceType: PipelineRun - name: quarkus-app-on-push + name: quarkus-1-on-push description: PipelineRun performing a build of a Quarkus application using buildpack task and lifecycle workspaces: diff --git a/configurations/konflux/build-quarkus-app-lifecycle-extension-cfg.yaml b/configurations/konflux/build-quarkus-app-lifecycle-extension-cfg.yaml index 7e070ed..ec04c55 100644 --- a/configurations/konflux/build-quarkus-app-lifecycle-extension-cfg.yaml +++ b/configurations/konflux/build-quarkus-app-lifecycle-extension-cfg.yaml @@ -17,7 +17,7 @@ component: job: resourceType: PipelineRun - name: quarkus-app-on-push + name: quarkus-1-on-push description: PipelineRun doing a build of a Quarkus application using buildpack - extension task workspaces: diff --git a/src/main/java/dev/snowdrop/factory/konflux/pipeline/Pipelines.java b/src/main/java/dev/snowdrop/factory/konflux/pipeline/Pipelines.java index a70420b..d59f8cb 100644 --- a/src/main/java/dev/snowdrop/factory/konflux/pipeline/Pipelines.java +++ b/src/main/java/dev/snowdrop/factory/konflux/pipeline/Pipelines.java @@ -169,7 +169,11 @@ public HasMetadata generatePipeline(Configurator cfg) { /* TODO: Code to be reviewed to avoid hard code values */ tasks.stream() - .filter(t -> t.getName().equals("buildpacks-extension-phases") || t.getName().equals("buildpacks-phases") || t.getName().equals(("pack"))) + .filter(t -> + t.getName().equals("buildpacks-extension-phases") || + t.getName().equals("buildpacks-phases") || + t.getName().equals("jam") || + t.getName().equals("pack")) .map(t-> { t.setName("build-container"); return t;}).collect(Collectors.toList()); // @formatter:off