Skip to content
This repository has been archived by the owner on Nov 12, 2021. It is now read-only.

Latest commit

 

History

History
28 lines (23 loc) · 1.06 KB

local-dev.md

File metadata and controls

28 lines (23 loc) · 1.06 KB

Local development of the operator-pipelines-images

Development of the Python script doesn't demand any sophisticated strategy. However, before adding the script to release branch, in order to test them they must run within the pipeline.

Prerequisites

  1. Install Buildah
  2. Setup operator-pipelines

Initial Setup

  1. If you are adding a new script- don't forget to add the entrypoint to setup.py
  2. Build the image containing the script via Buildah
buildah bud
  1. Push the image to registry, eg. Quay.io.
buildah push <image signature- output of build step> <path in registry> 

This step may require login, eg.

buildah login quay.io
  1. In operator-pipelines, change the base image of script that was changed, to the one pushed in the previous step.

  2. Run the pipeline and test if the results are as expected.