-
Notifications
You must be signed in to change notification settings - Fork 10
/
LuaJobTemplate.yml
58 lines (56 loc) · 1.58 KB
/
LuaJobTemplate.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
48
49
50
51
52
53
54
55
56
57
58
# JOB LEVEL TEMPLATE:
# Used to build Lua
# Reusable
# Meant to be run from the single LuaTemplate pipeline (default), or
# from a multi-pipeline such as publishing (should specify alternate params)
parameters:
- name: ApiSpecSource
displayName: ApiSpecSource
type: string
default: -apiSpecGitUrl https://raw.githubusercontent.com/PlayFab/API_Specs/master/
- name: CommitMessage
displayName: CommitMessage
type: string
default: Automated build from ADO Pipeline
- name: GitDestBranch
displayName: GitDestBranch
type: string
default: doNotCommit
- name: GitJSetupBranch
displayName: GitJSetupBranch
type: string
default: master
- name: GitSdkGenBranch
displayName: GitSdkGenBranch
type: string
default: master
- name: isVersioned
displayName: isVersioned
type: boolean
default: false
- name: BuildCorona
displayName: BuildCorona
type: boolean
default: true
- name: SelfTemplateResource
displayName: SelfTemplateResource
type: string
default: self
jobs:
- job: LuaJobTemplate
steps:
- bash: echo LuaJobTemplate
- job: LuaTemplate
pool:
vmImage: 'windows-latest'
steps:
- template: LuaStepTemplate.yml
parameters:
ApiSpecSource: ${{ parameters.ApiSpecSource }}
CommitMessage: ${{ parameters.CommitMessage }}
GitDestBranch: ${{ parameters.GitDestBranch }}
GitJSetupBranch: ${{ parameters.GitJSetupBranch }}
GitSdkGenBranch: ${{ parameters.GitSdkGenBranch }}
isVersioned: ${{ parameters.isVersioned }}
BuildCorona: ${{ parameters.BuildCorona }}
SelfTemplateResource: ${{ parameters.SelfTemplateResource }}