About testing source-to-image images

Verify your Source-to-image (S2I) environment and resulting application images to ensure successful, reproducible container deployment within Red Hat OpenShift Container Platform.

As an S2I builder image author, you can test your S2I image locally and use the Red Hat OpenShift Container Platform build system for automated testing and continuous integration.

S2I requires the assemble and run scripts to be present to successfully run the S2I build. Providing the save-artifacts script reuses the build artifacts, and providing the usage script ensures that usage information is printed to console when someone runs the container image outside of the S2I.

The goal of testing an S2I image is to make sure that all of these described commands work properly, even if the base container image has changed or the tooling used by the commands was updated.