Skip to content

CI CD integration

Thomas Bird edited this page Apr 27, 2020 · 3 revisions

To integrate catwalk into a CI/CD pipeline, first install the catwalk package on your build machine, then configure the following steps in the pipeline:

  1. Test model (catwalk test-model --model-path /path/to/model)
  2. Test server (catwalk test-server --model-path /path/to/model)
  3. Build prep (catwalk build-prep --model-path /path/to/model)
  4. Build (catwalk build --model-path /path/to/model)
  5. (optional) Test image (catwalk test-image --model-path /path/to/model)

In order for the CI/CD pipeline to function correctly, the build machine will need:

  • python 3.7 and pip;
  • internet access;
  • docker build access;
  • docker push credentials for the registry.