-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
50 lines (39 loc) · 1.17 KB
/
azure-pipelines.yml
File metadata and controls
50 lines (39 loc) · 1.17 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
trigger:
branches:
include:
- main
pr:
branches:
include:
- main
pool:
vmImage: ubuntu-latest
steps:
- checkout: self
- task: UseDotNet@2
inputs:
packageType: sdk
version: 8.0.x
- task: UsePythonVersion@0
inputs:
versionSpec: 3.11
- script: |
chmod +x scripts/validate-project.sh
chmod +x scripts/validate-documentation.sh
chmod +x scripts/validate-rnd-policy.sh
chmod +x scripts/scaffold-and-verify.sh
displayName: "Make scripts executable"
- script: ./scripts/validate-project.sh
displayName: "Validate repository structure"
- script: ./scripts/validate-documentation.sh
displayName: "Validate documentation presence"
- script: ./scripts/validate-rnd-policy.sh
displayName: "Validate Corporate R&D Policy artifacts"
- script: |
python3 scripts/traceability/traceability.py validate \
--stories-dir artifacts/stories \
--tests-root templates/clean-architecture-solution/tests \
--commit-range "HEAD~20..HEAD"
displayName: "Traceability commit check"
- script: ./scripts/scaffold-and-verify.sh
displayName: "Scaffold and verify template"