liupeirong / MLOpsManufacturing

Demonstrate samples and good engineering practice for operationalizing machine learning solutions.
Other
21 stars 9 forks source link

Improve 01-pull-request.yml pipeline to reflect package changes #64

Closed angie4u closed 3 years ago

angie4u commented 3 years ago

Problem statement

If you refer to a new package in your code, an error will occur at the 01-pull-request-validation step when merging into the main branch. This is because the pip package is not installed in the custom docker image being reused.

Solution

Whenever code is merged into the main branch, it checks if there are any changes in 'non-python-preprocess/devops_pipelines/build_agent/ci_dependencies.yml'. If there are any changes, install the packages newly using the updated ci_dependencies.yml file in the new conda environment and proceed with the rest of the process.

h2floh commented 3 years ago

Fixed with #57