-
Notifications
You must be signed in to change notification settings - Fork 209
Expand file tree
/
Copy pathazure-pipelines-backcompat.yml
More file actions
116 lines (110 loc) · 3.82 KB
/
azure-pipelines-backcompat.yml
File metadata and controls
116 lines (110 loc) · 3.82 KB
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
# Back-compat E2E tests pipeline
# Runs Hub SDK back-compat E2E tests sequentially by version (newest first).
#
# To add a new back-compat version:
# 1. Add an AppHostingSdkV<N> repository resource below
# 2. Create an AppHostV<N>ReleaseBranch pipeline variable in ADO
# 3. Append { version: 'v<N>', resource: 'AppHostingSdkV<N>' } to the backCompatVersions list
#
# Only LTS app host versions should be validated on this pipeline.
parameters:
- name: backCompatVersions
displayName: 'Back-compat app host SDK versions to test (newest first)'
type: object
default:
- { version: 'v9', resource: 'AppHostingSdkV9' }
- { version: 'v8', resource: 'AppHostingSdkV8' }
- { version: 'v7', resource: 'AppHostingSdkV7' }
- { version: 'v6', resource: 'AppHostingSdkV6' }
- { version: 'v5', resource: 'AppHostingSdkV5' }
- { version: 'v4', resource: 'AppHostingSdkV4' }
- { version: 'v3', resource: 'AppHostingSdkV3' }
variables:
- group: InfoSec-SecurityResults
- name: products
value: 6eff390d-80c0-4456-81b6-6abafa71e768
trigger: none
schedules:
- cron: '0 0 * * *'
displayName: 'teams-js back-compat E2E tests'
branches:
include:
- main
always: true
resources:
repositories:
- repository: OfficePipelineTemplates
type: git
name: 1ESPipelineTemplates/OfficePipelineTemplates
ref: refs/tags/release
- repository: AppHostingSdkV3
type: git
name: ISS/metaos-hub-sdk
ref: $(AppHostV3ReleaseBranch)
- repository: AppHostingSdkV4
type: git
name: ISS/metaos-hub-sdk
ref: $(AppHostV4ReleaseBranch)
- repository: AppHostingSdkV5
type: git
name: ISS/metaos-hub-sdk
ref: $(AppHostV5ReleaseBranch)
- repository: AppHostingSdkV6
type: git
name: ISS/metaos-hub-sdk
ref: $(AppHostV6ReleaseBranch)
- repository: AppHostingSdkV7
type: git
name: ISS/metaos-hub-sdk
ref: $(AppHostV7ReleaseBranch)
- repository: AppHostingSdkV8
type: git
name: ISS/metaos-hub-sdk
ref: $(AppHostV8ReleaseBranch)
- repository: AppHostingSdkV9
type: git
name: ISS/metaos-hub-sdk
ref: $(AppHostV9ReleaseBranch)
extends:
template: v1/Office.Unofficial.PipelineTemplate.yml@OfficePipelineTemplates
parameters:
pool:
name: Azure-Pipelines-1ESPT-ExDShared
image: windows-latest
os: windows
sdl:
eslint:
configuration: 'required'
parser: '@typescript-eslint/parser'
parserOptions: 'ecmaFeatures:{jsx:true}\necmaVersion:12\nsourceType:module\nproject:$(Build.SourcesDirectory)/tsconfig.common.json'
enableExclusions: true
exclusionPatterns": "*.d.ts\n*.spec.js\n*.spec.jsx\n*.spec.ts\n*.spec.tsx\n*.test.ts\n*.test.tsx"
customEnvironments: true
environmentsBrowser: true
environmentsNode: true
environmentsCommonJs: true
environmentsSharedNodeBrowser: false
environmentsEs6: false
environmentsEs2017: false
environmentsEs2020: true
environmentsJest: false
sourceRepositoriesToScan:
include:
- repository: AppHostingSdkV3
- repository: AppHostingSdkV4
- repository: AppHostingSdkV5
- repository: AppHostingSdkV6
- repository: AppHostingSdkV7
- repository: AppHostingSdkV8
- repository: AppHostingSdkV9
customBuildTags:
- ES365AIMigrationTooling
stages:
- ${{ each ver in parameters.backCompatVersions }}:
- stage: BackCompat_${{ ver.version }}
displayName: 'Back-Compat E2E Tests - ${{ ver.version }}'
jobs:
- template: tools/yaml-templates/web-e2e-versions.yml@self
parameters:
AppHostingSdk: ${{ ver.resource }}
versionBranch: ${{ ver.version }}