Skip to content

Commit

Permalink
add -dev to valid runners
Browse files Browse the repository at this point in the history
  • Loading branch information
cpoile committed Feb 13, 2024
1 parent 27de095 commit 2a4e566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/job/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ func RunnerIsValid(runner, registry string) error {
}

recorderRunnerREs := []*regexp.Regexp{
regexp.MustCompile(fmt.Sprintf(`^%s/%s:v((?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*))$`, registry, RecordingJobPrefix)),
regexp.MustCompile(fmt.Sprintf(`^%s/%s:v((?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-dev)?)$`, registry, RecordingJobPrefix)),
regexp.MustCompile(fmt.Sprintf(`^%s/%s-daily:v((?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*))-dev$`, registry, RecordingJobPrefix)),
}
transcriberRunnerREs := []*regexp.Regexp{
regexp.MustCompile(fmt.Sprintf(`^%s/%s:v((?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*))$`, registry, TranscribingJobPrefix)),
regexp.MustCompile(fmt.Sprintf(`^%s/%s:v((?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-dev)?)$`, registry, TranscribingJobPrefix)),
regexp.MustCompile(fmt.Sprintf(`^%s/%s-daily:v((?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*))-dev$`, registry, TranscribingJobPrefix)),
}

Expand Down

0 comments on commit 2a4e566

Please sign in to comment.