So let’s look at how Python’s subprocess module helps us in this situation. Most directives supplied in the YAML spec file are lists of shell commands. As well as the docker environment in which it runs and its limitations. They covered the format and location of the build specification file. Previous chapters in the series already established the build directives to implement. Keeping with the principles of simplicity and practicality, today we’ll look at continuing the series on Designing CI/CD Systems with our implementation of the execution script. There’s an infinite number of ways to implement this step ranging from a simple shell script to a complex task system.
The most crucial step in any continuous integration process is the one that executes build instructions and tests their output. Python engineering docker Cristian Medina