initial commit

This commit is contained in:
allard
2025-11-23 18:58:51 +01:00
commit 376a944abc
1553 changed files with 314731 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
---
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:
name: maven
spec:
workspaces:
- name: maven-repo
inputs:
params:
- name: GOALS
description: The Maven goals to run
type: array
default: ["package"]
- name: MAVEN_SETTINGS_CONFIGMAP
description: The configmap containing Maven settings.xml
type: string
default: maven-settings
resources:
- name: source
type: git
steps:
- name: mvn
image: gcr.io/cloud-builders/mvn
workingDir: /workspace/source/bank-app-backend
command: ["/usr/bin/mvn"]
args:
- -DskipITs
- -Dmaven.test.skip=true
- -Dmaven.repo.local=$(workspaces.maven-repo.path)
- -s
- /var/config/settings.xml
- "$(inputs.params.GOALS)"
volumeMounts:
- name: maven-settings
mountPath: /var/config
volumes:
- name: maven-settings
configMap:
name: $(inputs.params.MAVEN_SETTINGS_CONFIGMAP)