Skip to content

Commit 4529c18

Browse files
authored
Rename pipeline YAMLs for clarity (#212)
* Rename pipeline and pipeline template YAMLs to new convention * Rename references to pipelines and pipeline templates * Sort pipeline entries in code_description.md
1 parent 56eb992 commit 4529c18

16 files changed

+40
-43
lines changed

.pipelines/azdo-abtest-pipeline.yml renamed to .pipelines/abtest.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ stages:
6969
IMAGE_LOCATION="$(cat $(Pipeline.Workspace)/image_location/image_location.txt)"
7070
echo "##vso[task.setvariable variable=IMAGE_LOCATION]$IMAGE_LOCATION"
7171
displayName: 'Get Image Location'
72-
- template: azdo-helm-upgrade.yml
72+
- template: helm-upgrade-template.yml
7373
parameters:
7474
chartPath: '$(Pipeline.Workspace)/allcharts/abtest-model'
7575
releaseName: $(blueReleaseName)
@@ -81,7 +81,7 @@ stages:
8181
displayName: 50 50 rollout to blue environment
8282
timeoutInMinutes: 0
8383
steps:
84-
- template: azdo-helm-upgrade.yml
84+
- template: helm-upgrade-template.yml
8585
parameters:
8686
chartPath: '$(System.DefaultWorkingDirectory)/charts/abtest-istio'
8787
releaseName: 'abtest-istio'
@@ -96,7 +96,7 @@ stages:
9696
runOnce:
9797
deploy:
9898
steps:
99-
- template: azdo-helm-upgrade.yml
99+
- template: helm-upgrade-template.yml
100100
parameters:
101101
chartPath: '$(Pipeline.Workspace)/allcharts/abtest-istio'
102102
releaseName: 'abtest-istio'
@@ -113,7 +113,7 @@ stages:
113113
runOnce:
114114
deploy:
115115
steps:
116-
- template: azdo-helm-upgrade.yml
116+
- template: helm-upgrade-template.yml
117117
parameters:
118118
chartPath: '$(Pipeline.Workspace)/allcharts/abtest-istio'
119119
releaseName: 'abtest-istio'
@@ -134,7 +134,7 @@ stages:
134134
IMAGE_LOCATION="$(cat $(Pipeline.Workspace)/image_location/image_location.txt)"
135135
echo "##vso[task.setvariable variable=IMAGE_LOCATION]$IMAGE_LOCATION"
136136
displayName: 'Get Image Location'
137-
- template: azdo-helm-upgrade.yml
137+
- template: helm-upgrade-template.yml
138138
parameters:
139139
chartPath: '$(Pipeline.Workspace)/allcharts/abtest-model'
140140
releaseName: $(greenReleaseName)
@@ -145,7 +145,7 @@ stages:
145145
- job: 'Prod_Rollout_100'
146146
timeoutInMinutes: 0
147147
steps:
148-
- template: azdo-helm-upgrade.yml
148+
- template: helm-upgrade-template.yml
149149
parameters:
150150
chartPath: '$(System.DefaultWorkingDirectory)/charts/abtest-istio'
151151
releaseName: 'abtest-istio'
@@ -157,7 +157,7 @@ stages:
157157
- job: 'blue_disable'
158158
timeoutInMinutes: 0
159159
steps:
160-
- template: azdo-helm-install.yml
160+
- template: helm-install-template.yml
161161
- task: HelmDeploy@0
162162
displayName: 'helm uninstall blue'
163163
inputs:

.pipelines/diabetes_regression-ci-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Builds the container image that is used by other pipelines for scoring.
1+
# Pipeline for building the container image that is used by other pipelines for scoring.
22

33
resources:
44
containers:

.pipelines/diabetes_regression-ci-build-train.yml renamed to .pipelines/diabetes_regression-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ trigger:
1818
- ml_service/pipelines/diabetes_regression_build_train_pipeline_with_r_on_dbricks.py
1919

2020
variables:
21-
- template: diabetes_regression-variables.yml
21+
- template: diabetes_regression-variables-template.yml
2222
- group: devopsforai-aml-vg
2323

2424
pool:
@@ -34,7 +34,7 @@ stages:
3434
container: mlops
3535
timeoutInMinutes: 0
3636
steps:
37-
- template: azdo-base-pipeline.yml
37+
- template: code-quality-template.yml
3838
- task: AzureCLI@1
3939
inputs:
4040
azureSubscription: '$(WORKSPACE_SVC_CONNECTION)'
@@ -93,7 +93,7 @@ stages:
9393
container: mlops
9494
timeoutInMinutes: 0
9595
steps:
96-
- template: diabetes_regression-template-get-model-version.yml
96+
- template: diabetes_regression-get-model-version-template.yml
9797

9898
- stage: 'Deploy_ACI'
9999
displayName: 'Deploy to ACI'
@@ -105,7 +105,7 @@ stages:
105105
container: mlops
106106
timeoutInMinutes: 0
107107
steps:
108-
- template: diabetes_regression-template-get-model-version.yml
108+
- template: diabetes_regression-get-model-version-template.yml
109109
- task: ms-air-aiagility.vss-services-azureml.azureml-model-deploy-task.AMLModelDeploy@0
110110
displayName: 'Azure ML Model Deploy'
111111
inputs:
@@ -138,7 +138,7 @@ stages:
138138
container: mlops
139139
timeoutInMinutes: 0
140140
steps:
141-
- template: diabetes_regression-template-get-model-version.yml
141+
- template: diabetes_regression-get-model-version-template.yml
142142
- task: ms-air-aiagility.vss-services-azureml.azureml-model-deploy-task.AMLModelDeploy@0
143143
displayName: 'Azure ML Model Deploy'
144144
inputs:
@@ -172,7 +172,7 @@ stages:
172172
container: mlops
173173
timeoutInMinutes: 0
174174
steps:
175-
- template: diabetes_regression-template-get-model-version.yml
175+
- template: diabetes_regression-get-model-version-template.yml
176176
- task: AzureCLI@1
177177
displayName: 'Create scoring image and set IMAGE_LOCATION variable'
178178
inputs:

.pipelines/azdo-helm-upgrade.yml renamed to .pipelines/helm-upgrade-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ parameters:
55
overrideValues: ''
66

77
steps:
8-
- template: azdo-helm-install.yml
8+
- template: helm-install-template.yml
99
- task: HelmDeploy@0
1010
displayName: 'helm upgrade'
1111
inputs:

.pipelines/azdo-pr-build-train.yml renamed to .pipelines/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ pool:
1717
container: mlops
1818

1919
variables:
20-
- template: diabetes_regression-variables.yml
20+
- template: diabetes_regression-variables-template.yml
2121
- group: devopsforai-aml-vg
2222

2323
steps:
24-
- template: azdo-base-pipeline.yml
24+
- template: code-quality-template.yml

bootstrap/bootstrap.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ def validateargs(self):
9090
def replaceprojectname(project_dir, project_name, rename_name):
9191
# Replace instances of rename_name within files with project_name
9292
dirs = [r".env.example",
93-
r".pipelines/azdo-base-pipeline.yml",
94-
r".pipelines/azdo-pr-build-train.yml",
95-
r".pipelines/diabetes_regression-ci-build-train.yml",
93+
r".pipelines/code-quality-template.yml",
94+
r".pipelines/pr.yml",
95+
r".pipelines/diabetes_regression-ci.yml",
9696
r".pipelines/diabetes_regression-ci-image.yml",
97-
r".pipelines/diabetes_regression-template-get-model-version.yml", # NOQA: E501
98-
r".pipelines/diabetes_regression-variables.yml",
97+
r".pipelines/diabetes_regression-get-model-version-template.yml", # NOQA: E501
98+
r".pipelines/diabetes_regression-variables-template.yml",
9999
r"environment_setup/Dockerfile",
100100
r"environment_setup/install_requirements.sh",
101101
r"ml_service/pipelines/diabetes_regression_build_train_pipeline_with_r_on_dbricks.py", # NOQA: E501

0 commit comments

Comments
 (0)