This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,139 @@
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 }}'
}
]

View file

@ -0,0 +1,59 @@
trigger: none
pr: none
resources:
repositories:
- repository: templates
type: git
name: KretaCore/Kreta.Core.PipelineYml
variables:
- template: VariablesTemplates/BuildVariables.yml@templates
jobs:
- job: RunKretaValidationBuild
displayName: Run Kreta validation build
pool: 'eKRETA'
steps:
- template: Tasks/NuGetRestore.yml@templates
parameters:
projectOrSolutionPath: KretaBuildSolution.sln
nugetConfigPath: 'NuGet\NuGet.config'
externalFeedCredentials: 'eKRETA nexus nuget feed'
- template: Tasks/NuGetRestore.yml@templates
parameters:
projectOrSolutionPath: KretaMobile/KretaMobile.sln
nugetConfigPath: 'NuGet\NuGet.config'
externalFeedCredentials: 'eKRETA nexus nuget feed'
- template: Tasks/MSBuild.yml@templates
parameters:
pathForProject: 'Kreta.DataAccess.Migrations\Kreta.DataAccess.Migrations.csproj'
projectName: 'Kreta.DataAccess.Migrations'
msbuildArguments: /p:OutputPath=$(Build.BinariesDirectory)\Kreta.DataAccess.Migrations
- template: Tasks/MSBuild.yml@templates
parameters:
pathForProject: 'KretaWeb\Kreta.Web.csproj'
projectName: 'Kreta.Web'
msbuildArguments: /p:OutputPath=$(Build.BinariesDirectory)\Kreta.Web
- template: Tasks/MSBuild.yml@templates
parameters:
pathForProject: 'Kreta.WebApi\Naplo\Kreta.Naplo.WebApi\Kreta.Naplo.WebApi.csproj'
projectName: 'Kreta.Naplo.WebApi'
msbuildArguments: /p:OutputPath=$(Build.BinariesDirectory)\Kreta.Naplo.WebApi
- template: Tasks/MSBuild.yml@templates
parameters:
pathForProject: 'Kreta.WebApi\Ellenorzo\Kreta.Ellenorzo.WebApi\Kreta.Ellenorzo.WebApi.csproj'
projectName: 'Kreta.Ellenorzo.WebApi'
msbuildArguments: /p:OutputPath=$(Build.BinariesDirectory)\Kreta.Ellenorzo.WebApi
- template: Tasks/MSBuild.yml@templates
parameters:
pathForProject: 'Kreta.WebApi\eUgyintezes\Kreta.eUgyintezes.WebApi\Kreta.eUgyintezes.WebApi.csproj'
projectName: 'Kreta.eUgyintezes.WebApi'
msbuildArguments: /p:OutputPath=$(Build.BinariesDirectory)\Kreta.eUgyintezes.WebApi
- template: Tasks/MSBuild.yml@templates
parameters:
pathForProject: 'Kreta.WebApi\User\Kreta.User.WebApi\Kreta.User.WebApi.csproj'
projectName: 'Kreta.User.WebApi'
msbuildArguments: /p:OutputPath=$(Build.BinariesDirectory)\Kreta.User.WebApi
- template: Tasks/DeleteFiles.yml@templates
parameters:
displayName: 'CleanUp Binaries Directory'
sourceFolder: $(Build.BinariesDirectory)
contents: '**'

View file

@ -0,0 +1,122 @@
parameters:
- name: isPublish
type: boolean
displayName: 'Alkalmazásból készült csomagok publikálása a Pipeline Artifact-ba'
default: false
trigger:
batch: 'true'
branches:
include:
- master
- releases/*
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 }}'
}
]