submit pipeline stages as context