Return all of the different stages for a given pipeline