forked from Ensono/stacks-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stackscli.yml
47 lines (44 loc) · 1.32 KB
/
stackscli.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
44
45
46
47
# Configuration file for setting up the project
framework:
name: dotnet
commands:
- name: dotnet
version: ">= 6.0, < 6.1"
# Pipeline files
pipeline:
# Pipeline files for ADO
- type: azdo
files:
- name: build
path: build/azDevOps/azure/air-api.yml
- name: variable
path: build/azDevOps/azure/air-api-vars.yml
templates:
- name: variable
path: build/azDevOps/azure/air-api-vars_TEMPLATE.yml
replacements:
- pattern: ^.*stacks-credentials-nonprod-kv$
value: ""
# Pipeline files for GHA
- type: gha
files:
- name: build
path: .github/workflows/ci.yml
templates:
- name: build
path: build/github/aws/ci_TEMPLATE.yml
# The init stage are things that are required to run before the template is run
init:
operations:
- action: cmd
cmd: dotnet
args: new -i .
desc: Install "stacks-webapi" template from the repo directory
- action: cmd
cmd: dotnet
args: new stacks-webapi -n {{ .Input.Business.Company }}.{{ .Input.Business.Domain }} -o {{ .Project.Directory.WorkingDir }}
desc: Create a project using the "stacks-webapi" template
- action: cmd
cmd: dotnet
args: new --uninstall {{ .Project.Directory.TempDir }}
desc: Remove the temporary template from dotnet