This repository has been archived by the owner on Nov 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathazure-pipelines.yml
120 lines (96 loc) · 3.75 KB
/
azure-pipelines.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
# batch = true so not every commit triggers the build
batch: 'true'
branches:
include:
- 'main'
paths:
# include all paths as trigger for changes
include:
- .
pool:
name: 'CIBG-BuildRelease-O-2016'
parameters:
- name: RUN_SQLSERVER_TESTS
type: boolean
default: false
variables:
solution: '**/*.sln'
buildConfiguration: 'Release'
runtime: 'win-x64'
ProjectsToTest: '$(Build.ArtifactStagingDirectory)/tests/**/*.Tests.dll'
# Publishing:
# Artifact drop folder
Publish.ArtifactName: 'drop'
# Artifact subfolders
Apps.Content.WebApi.ArtifactSubDirectory: 'ContentApi'
Apps.App.IccPortal.ArtifactSubDirectory: 'IccPortalApp'
Apps.Api.IccBackend.ArtifactSubDirectory: 'IccBackendApi'
Apps.MobileAppApi.WebApi.ArtifactSubDirectory: 'MobileAppApi'
Apps.DailyCleanup.ArtifactSubDirectory: 'DailyCleanup'
Apps.EksEngine.ArtifactSubDirectory: 'EksEngine'
Apps.IksDownloader.ArtifactSubDirectory: 'EfgsDownloader'
Apps.IksUploader.ArtifactSubDirectory: 'EfgsUploader'
Apps.ManifestEngine.ArtifactSubDirectory: 'ManifestEngine'
Tools.PublishContent.ArtifactSubDirectory: 'PublishContent'
Tools.GenTeks.ArtifactSubDirectory: 'GenTeks'
Tools.ForceTekAuth.ArtifactSubDirectory: 'ForceTekAuth'
Tools.SigTestFileCreator.ArtifactSubDirectory: 'SigTestFileCreator'
Tools.ProtobufScrubber.ArtifactSubDirectory: 'ProtobufScrubber'
DacPac.ArtifactSubDirectory: 'Database'
HSMScripting.ArtifactSubDirectory: 'HSM-Scripting'
Tests.Endpoint.ArtifactSubDirectory: 'EndpointTests'
Tests.Scenario.ArtifactSubDirectory: 'ScenarioTests'
stages:
# Tests all unittest in 'ProjectsToTest'
- template: /build/pipelines/stages/test-stage.yaml
# Publish build and push content.webapi stage
- stage: Build
dependsOn: Test
displayName: 'Publish builds'
jobs:
- job: Install_SDK_60
steps:
# Install .Net 6.0 Version
- task: UseDotNet@2
displayName: 'Install .NET 6.0 SDK'
inputs:
packageType: 'sdk'
version: '6.0.x'
# ---- Apps:
# ContentApi
- template: /build/pipelines/jobs/apps-publish-contentwebapi-artifact.yaml
# ICC Frontend Portal
- template: /build/pipelines/jobs/apps-publish-appiccportal-artifact.yaml
# ICC Backend Api (new)
- template: /build/pipelines/jobs/apps-publish-iccbackend-artifact.yaml
# MobileAppApi
- template: /build/pipelines/jobs/apps-publish-mobileappipawebapi-artifact.yaml
- template: /build/pipelines/jobs/apps-publish-dailycleanup-artifact.yaml
# EksEngine
- template: /build/pipelines/jobs/apps-publish-eksengine-artifact.yaml
# EfgsDownloader
- template: /build/pipelines/jobs/apps-publish-iksdownloader-artifact.yaml
# EfgsUploader
- template: /build/pipelines/jobs/apps-publish-iksuploader-artifact.yaml
# ManifestEngine
- template: /build/pipelines/jobs/apps-publish-manifestengine-artifact.yaml
# ---- Tools:
# ProtobufScrubber
- template: /build/pipelines/jobs/tools-publish-protobufscrubber-artifact.yaml
# Publish Content
- template: /build/pipelines/jobs/tools-publish-publishcontent-artifact.yaml
# SigTestFileCreator
- template: /build/pipelines/jobs/tools-publish-sigtestfilecreator-artifact.yaml
# Database Dacpac files
- template: /build/pipelines/jobs/dacpac-publish-database-artifact.yaml
# HSM-Scripting files
- template: /build/pipelines/jobs/files-publish-hsm-scripting-artifact.yaml
# E2E Endpoint Tests
- template: /build/pipelines/jobs/tests-e2e-publish-endpointtests-artifact.yaml
# E2E Scenario Tests
- template: /build/pipelines/jobs/tests-e2e-publish-scenariotests-artifact.yaml