func PeriodicToJobSpec(periodic config.Periodic) *downwardapi.JobSpec {
	return &downwardapi.JobSpec{
		Type: prowapi.PeriodicJob,
		Job:  periodic.Name,
	}
}
func PeriodicToJobSpec(periodic config.Periodic) *downwardapi.JobSpec {
	return &downwardapi.JobSpec{
		Type: prowapi.PeriodicJob,
		Job:  periodic.Name,
	}
}
// PeriodicToJobSpec generates a downwardapi.JobSpec out of a Periodic.
// Useful for figuring out GCS paths when parsing jobs out
// of a prow config.