-
Notifications
You must be signed in to change notification settings - Fork 1
/
java_sdk_config.py
executable file
·64 lines (56 loc) · 1.6 KB
/
java_sdk_config.py
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
CLEAN_REPO = True
SDK_REPO = "c:/github_fork/azure-sdk-for-java"
POM_TEMPLATE = r"""<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.azure</groupId>
<artifactId>azure-{service}-management</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version> <!-- Need not change for every release-->
<modules>
{modules} </modules>
</project>
"""
MGMT_DIRS_PREFIX = "mgmt-v"
EXCLUDE_DIRS_PREFIX = ["azure", "microsoft-azure", "ms-azure"]
YAML_TEMPLATE = r"""resources:
repositories:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
trigger:
branches:
include:
- master
- feature/*
- hotfix/*
- release/*
paths:
include:
- sdk/{service}/
exclude:
- sdk/{service}/azure
- sdk/{service}/microsoft-azure
- sdk/{service}/ms-azure
pr:
branches:
include:
- master
- feature/*
- hotfix/*
- release/*
paths:
include:
- sdk/{service}/
exclude:
- sdk/{service}/azure
- sdk/{service}/microsoft-azure
- sdk/{service}/ms-azure
stages:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-management.yml
parameters:
ServiceDirectory: {service}
"""