Skip to content

Commit d1f7f03

Browse files
author
j-so
committed
remove extra deploy yml
1 parent 0a914b6 commit d1f7f03

File tree

2 files changed

+3
-164
lines changed

2 files changed

+3
-164
lines changed

.pipelines/diabetes_regression-cd-deploy.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ stages:
117117
118118
- stage: 'Deploy_Webapp'
119119
displayName: 'Deploy to Webapp'
120-
condition: and(succeeded(), variables['WEBAPP_DEPLOYMENT_NAME'])
120+
condition: variables['WEBAPP_DEPLOYMENT_NAME']
121121
jobs:
122-
- job: "Package_Model"
123-
displayName: "Package model"
122+
- job: "Deploy_Webapp"
123+
displayName: "Package and deploy model"
124124
container: mlops
125125
timeoutInMinutes: 0
126126
steps:
@@ -136,12 +136,6 @@ stages:
136136
condaFilePath: '$(Build.SourcesDirectory)/$(SOURCES_DIR_TRAIN)/conda_dependencies.yml'
137137
- script: echo $(IMAGE_LOCATION) >image_location.txt
138138
displayName: "Write image location file"
139-
- job: "Deploy_Webapp"
140-
displayName: "Deploy Webapp"
141-
container: mlops
142-
dependsOn: Package_Model
143-
condition: succeeded()
144-
steps:
145139
- task: AzureWebAppContainer@1
146140
name: WebAppDeploy
147141
displayName: 'Azure Web App on Container Deploy'

.pipelines/diabetes_regression-deploy.yml

Lines changed: 0 additions & 155 deletions
This file was deleted.

0 commit comments

Comments
 (0)