forked from sample-accelerators/tanzu-java-web-app
-
Notifications
You must be signed in to change notification settings - Fork 1
/
accelerator.yaml
45 lines (43 loc) · 1.16 KB
/
accelerator.yaml
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
44
45
accelerator:
displayName: Hugo Java Web App
description: A sample Spring Boot web application built with Tanzu supply-chain
iconUrl: https://github.com/sample-accelerators/icons/raw/master/icon-boot.png
tags:
- java
- spring
- web
- tanzu
options:
- name: repositoryPrefix
inputType: text
label: Prefix for the container image repository
defaultValue: dev.local
required: true
engine:
merge:
- include: [ "**/*" ]
exclude: [ "config/*.yaml", "Tiltfile", "README.md", "catalog/*.yaml", ".github/workflows/**" ]
- include: [ "config/*.yaml", "Tiltfile" ]
chain:
- type: ReplaceText
substitutions:
- text: tanzu-java-web-app
with: "#artifactId"
- type: ReplaceText
substitutions:
- text: your-registry.io/project
with: "#repositoryPrefix"
- include: [ "README.md" ]
chain:
- type: ReplaceText
substitutions:
- text: tanzu-java-web-app
with: "#artifactId"
- include: [ "catalog/*.yaml" ]
chain:
- type: ReplaceText
substitutions:
- text: tanzu-java-web-app
with: "#artifactId"
- type: RewritePath
rewriteTo: "#filename"