Given a set of steps with their dependencies, this function verifies all requirements of createPipeline.
Given a set of steps with their dependencies, this function verifies all requirements of createPipeline.