139 lines
5.9 KiB
YAML
139 lines
5.9 KiB
YAML
parameters:
|
|
- name: isPublish
|
|
type: boolean
|
|
displayName: 'Alkalmazásból készült csomagok publikálása a Pipeline Artifact-ba'
|
|
default: true
|
|
schedules:
|
|
- cron: '0 4 * * 1-5'
|
|
displayName: Kreta Test CD at 06:00
|
|
branches:
|
|
include:
|
|
- master
|
|
- releases/Release_v2.111
|
|
always: false
|
|
- cron: '0 9 * * 1-5'
|
|
displayName: Kreta Test CD at 11:00
|
|
branches:
|
|
include:
|
|
- master
|
|
- releases/Release_v2.111
|
|
always: false
|
|
- cron: '0 12 * * 1-5'
|
|
displayName: Kreta Test CD on at 14:00
|
|
branches:
|
|
include:
|
|
- master
|
|
- releases/Release_v2.111
|
|
always: false
|
|
trigger: none
|
|
pr: none
|
|
resources:
|
|
repositories:
|
|
- repository: templates
|
|
type: git
|
|
name: KretaCore/Kreta.Core.PipelineYml
|
|
variables:
|
|
- name: buildConfiguration
|
|
value: 'Release'
|
|
- name: buildPlatform
|
|
value: 'AnyCPU'
|
|
- name: migratorProjectName
|
|
value: 'Kreta.DataAccess.Migrations'
|
|
- name: webProjectName
|
|
value: 'Kreta.Web'
|
|
- name: naploWebApiProjectName
|
|
value: 'Kreta.Naplo.WebApi'
|
|
- name: ellenorzoWebApiProjectName
|
|
value: 'Kreta.Ellenorzo.WebApi'
|
|
- name: eUgyintezesWebApiProjectName
|
|
value: 'Kreta.eUgyintezes.WebApi'
|
|
- name: userWebProjectName
|
|
value: 'Kreta.User.WebApi'
|
|
jobs:
|
|
- template: BuildApplication.yml@templates
|
|
parameters:
|
|
versioningScheme: 'framework'
|
|
versioningFilePath: 'Tools'
|
|
artifactName: 'Kreta'
|
|
isPublish: ${{ parameters.isPublish }}
|
|
projectConfigurations:
|
|
[
|
|
{
|
|
sdkType: 'framework',
|
|
projectName: '${{ variables.migratorProjectName }}',
|
|
projectPath: '${{ variables.migratorProjectName }}\${{ variables.migratorProjectName }}.csproj',
|
|
solutionPath: 'KretaBuildSolution.sln',
|
|
nugetConfigPath: 'NuGet\NuGet.config',
|
|
deploySourcePath: '$(Build.BinariesDirectory)\${{ variables.migratorProjectName }}',
|
|
isWebApplication: false,
|
|
runTest: false,
|
|
npmInstall: false,
|
|
gitTagEnabled: false,
|
|
msBuildArguments: '/p:OutputPath=$(Build.BinariesDirectory)\${{ variables.migratorProjectName }}'
|
|
},
|
|
{
|
|
sdkType: 'framework',
|
|
projectName: '${{ variables.webProjectName }}',
|
|
projectPath: 'KretaWeb\${{ variables.webProjectName }}.csproj',
|
|
solutionPath: 'KretaBuildSolution.sln',
|
|
nugetConfigPath: 'NuGet\NuGet.config',
|
|
deploySourcePath: '$(Build.BinariesDirectory)\${{ variables.webProjectName }}\_PublishedWebsites\${{ variables.webProjectName }}',
|
|
isWebApplication: true,
|
|
runTest: false,
|
|
npmInstall: false,
|
|
gitTagEnabled: true,
|
|
msBuildArguments: '/p:OutputPath=$(Build.BinariesDirectory)\${{ variables.webProjectName }}'
|
|
},
|
|
{
|
|
sdkType: 'framework',
|
|
projectName: '${{ variables.naploWebApiProjectName }}',
|
|
projectPath: 'Kreta.WebApi\Naplo\${{ variables.naploWebApiProjectName }}\${{ variables.naploWebApiProjectName }}.csproj',
|
|
solutionPath: 'KretaBuildSolution.sln',
|
|
nugetConfigPath: 'NuGet\NuGet.config',
|
|
deploySourcePath: '$(Build.BinariesDirectory)\${{ variables.naploWebApiProjectName }}\_PublishedWebsites\${{ variables.naploWebApiProjectName }}',
|
|
isWebApplication: true,
|
|
runTest: false,
|
|
npmInstall: false,
|
|
gitTagEnabled: false,
|
|
msBuildArguments: '/p:OutputPath=$(Build.BinariesDirectory)\${{ variables.naploWebApiProjectName }}'
|
|
},
|
|
{
|
|
sdkType: 'framework',
|
|
projectName: '${{ variables.ellenorzoWebApiProjectName }}',
|
|
projectPath: 'Kreta.WebApi\Ellenorzo\${{ variables.ellenorzoWebApiProjectName }}\${{ variables.ellenorzoWebApiProjectName }}.csproj',
|
|
solutionPath: 'KretaBuildSolution.sln',
|
|
nugetConfigPath: 'NuGet\NuGet.config',
|
|
deploySourcePath: '$(Build.BinariesDirectory)\${{ variables.ellenorzoWebApiProjectName }}\_PublishedWebsites\${{ variables.ellenorzoWebApiProjectName }}',
|
|
isWebApplication: true,
|
|
runTest: false,
|
|
npmInstall: false,
|
|
gitTagEnabled: false,
|
|
msBuildArguments: '/p:OutputPath=$(Build.BinariesDirectory)\${{ variables.ellenorzoWebApiProjectName }}'
|
|
},
|
|
{
|
|
sdkType: 'framework',
|
|
projectName: '${{ variables.eUgyintezesWebApiProjectName }}',
|
|
projectPath: 'Kreta.WebApi\eUgyintezes\${{ variables.eUgyintezesWebApiProjectName }}\${{ variables.eUgyintezesWebApiProjectName }}.csproj',
|
|
solutionPath: 'KretaBuildSolution.sln',
|
|
nugetConfigPath: 'NuGet\NuGet.config',
|
|
deploySourcePath: '$(Build.BinariesDirectory)\${{ variables.eUgyintezesWebApiProjectName }}\_PublishedWebsites\${{ variables.eUgyintezesWebApiProjectName }}',
|
|
isWebApplication: true,
|
|
runTest: false,
|
|
npmInstall: false,
|
|
gitTagEnabled: false,
|
|
msBuildArguments: '/p:OutputPath=$(Build.BinariesDirectory)\${{ variables.eUgyintezesWebApiProjectName }}'
|
|
},
|
|
{
|
|
sdkType: 'framework',
|
|
projectName: '${{ variables.userWebProjectName }}',
|
|
projectPath: 'Kreta.WebApi\User\${{ variables.userWebProjectName }}\${{ variables.userWebProjectName }}.csproj',
|
|
solutionPath: 'KretaBuildSolution.sln',
|
|
nugetConfigPath: 'NuGet\NuGet.config',
|
|
deploySourcePath: '$(Build.BinariesDirectory)\${{ variables.userWebProjectName }}\_PublishedWebsites\${{ variables.userWebProjectName }}',
|
|
isWebApplication: true,
|
|
runTest: false,
|
|
npmInstall: false,
|
|
gitTagEnabled: false,
|
|
msBuildArguments: '/p:OutputPath=$(Build.BinariesDirectory)\${{ variables.userWebProjectName }}'
|
|
}
|
|
]
|