Local CI Execution

Deployment

Requirements:

  • When running local-ci you need to define the ARTIFACTS_DIR ENV variable manually

  • Build the image used for the Prow CI testing, and run a given command in the Pod

./run_toolbox.py local-ci deploy                   \
          <ci command>                     \
          <git repository> <git reference> \
          [--tag_uid=TAG_UID]

Example:

./run_toolbox.py local-ci deploy                          \
         "run gpu-operator test_master_branch" \
         https://github.com/openshift-psap/ci-artifacts.git master

Cleaning Up

  • Cleanup the resources used to deploy the test image

./run_toolbox.py local-ci cleanup