Skip to content

Commit 1128194

Browse files
author
j-so
committed
add more docs and add to bootstrap
1 parent b865800 commit 1128194

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎bootstrap/bootstrap.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,13 @@ def replace_project_name(project_dir, project_name, rename_name):
8484
files = [r".env.example",
8585
r".pipelines/code-quality-template.yml",
8686
r".pipelines/pr.yml",
87+
r".pipelines/diabetes_regression-cd-deploy.yml",
88+
r".pipelines/diabetes_regression-ci-train-register.yml",
8789
r".pipelines/diabetes_regression-ci.yml",
8890
r".pipelines/abtest.yml",
8991
r".pipelines/diabetes_regression-ci-image.yml",
92+
r".pipelines/diabetes_regression-publish-model-artifact-template.yml",
93+
r".pipelines/diabetes_regression-get-model-id-artifact-template.yml",
9094
r".pipelines/diabetes_regression-get-model-version-template.yml", # NOQA: E501
9195
r".pipelines/diabetes_regression-variables-template.yml",
9296
r"environment_setup/Dockerfile",
102 KB
Loading

‎docs/split_cicd_pipelines.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ This pipeline has the following behaviors:
8181

8282
- The pipeline will **automatically trigger** on completion of the Model-Train-Register-CI pipeline
8383
- The pipeline will default to using the latest successful build of the Model-Train-Register-CI pipeline. It will deploy the model produced by that build.
84-
- You can specify a build ID when running the pipeline manually.
84+
- You can specify a `Model-Train-Register-CI` build ID when running the pipeline manually. You can find this in the url of the build, and the model registered from that build will also be tagged with the build ID.
8585

8686
### Set up the pipeline
8787

8888
In your Azure DevOps project, create and run a new build pipeline based on the [diabetes_regression-cd-deploy.yml](../.pipelines/diabetes_regression-cd-deploy.yml)
8989
pipeline definition in your forked repository.
9090

91-
Your first run will use the latest model created by the Model-Train-Register-CI pipeline.
91+
Your first run will use the latest model created by the `Model-Train-Register-CI` pipeline.
9292

9393
Once the pipeline is finished, check the execution result:
9494

@@ -98,6 +98,10 @@ To specify a particular build's model, set the `Model Train CI Build Id` paramet
9898

9999
![Build](./images/model-deploy-configure.png)
100100

101+
Once your pipeline run begins, you can see the model name and version downloaded from the `Model-Train-Register-CI` pipeline.
102+
103+
![Build](./images/model-deploy-artifact-logs.png)
104+
101105
The pipeline has the following stage:
102106

103107
#### Deploy to ACI

0 commit comments

Comments
 (0)