-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): upgrade quarkus deps (#336)
* chore(deps): upgrade quarkus deps Signed-off-by: Ruben Romero Montes <[email protected]> * chore(deps): create dedicated task with more memory Signed-off-by: Ruben Romero Montes <[email protected]> --------- Signed-off-by: Ruben Romero Montes <[email protected]>
- Loading branch information
Showing
4 changed files
with
60 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
apiVersion: tekton.dev/v1 | ||
kind: Task | ||
metadata: | ||
name: openjdk-redis-6gb | ||
labels: | ||
app.kubernetes.io/version: "0.1" | ||
annotations: | ||
tekton.dev/pipelines.minVersion: "0.12.1" | ||
tekton.dev/tags: image-build | ||
tekton.dev/platforms: "linux/amd64" | ||
spec: | ||
description: >- | ||
OpenJDK 21 task with a Redis sidecar. The task requests 4Gi of memory with a limit of 6Gi | ||
params: | ||
- name: JDK_IMAGE | ||
description: Reference of the image buildah will produce. | ||
default: registry.redhat.io/ubi9/openjdk-21:1.18 | ||
- name: REDIS_IMAGE | ||
description: The location of the buildah builder image. | ||
default: docker.io/redis/redis-stack:7.2.0-v7 | ||
- name: SCRIPT | ||
description: The script to execute in the jdk image | ||
default: | | ||
mvn -B verify | ||
workspaces: | ||
- name: source | ||
steps: | ||
- name: run-tests | ||
image: $(params.JDK_IMAGE) | ||
workingDir: $(workspaces.source.path)/source | ||
script: | | ||
$(params.SCRIPT) | ||
computeResources: | ||
requests: | ||
memory: 4Gi | ||
limits: | ||
memory: 6Gi | ||
workspaces: | ||
- name: source | ||
workspace: workspace | ||
sidecars: | ||
- image: $(params.REDIS_IMAGE) | ||
name: redis-stack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters