-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpipeline-run.yml
43 lines (43 loc) · 1.49 KB
/
pipeline-run.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
generateName: buildpacks-test-pipeline-run-
spec:
serviceAccountName: buildpacks-service-account-gitlab # Only needed if you set up authorization
pipelineRef:
name: buildpacks-test-pipeline
workspaces:
- name: source-workspace
subPath: source
persistentVolumeClaim:
claimName: buildpacks-source-pvc
- name: cache-workspace
subPath: cache
persistentVolumeClaim:
claimName: buildpacks-source-pvc
- name: maven-repo-cache
subPath: maven-repo-cache
persistentVolumeClaim:
claimName: buildpacks-source-pvc
- name: config-workspace
subPath: config
persistentVolumeClaim:
claimName: buildpacks-source-pvc
params:
- name: IMAGE
value: registry.gitlab.com/jonashackt/microservice-api-spring-boot # This defines the name of output image
- name: SOURCE_URL
value: https://gitlab.com/jonashackt/microservice-api-spring-boot
- name: REPO_PATH_ONLY
value: jonashackt/microservice-api-spring-boot
- name: PROJECT_NAME
value: microservice-api-spring-boot
- name: SOURCE_REVISION
value: f83f8de4f3a2877f3d6c0725200b995ad362ba10
# f83f8de4f3a2877f3d6c0725200b995ad362ba10
# 3c4131f8566ef157244881bacc474543ef96755d
# 83eee2ee022cfd0b36e0ada4e1f0e973c426fb99
- name: SOURCE_BRANCH
value: main
- name: CONFIG_URL
value: https://gitlab.com/jonashackt/microservice-api-spring-boot-config.git