enforce short SHAs throughout build pipeline

This commit is contained in:
Jimmy Zelinskie 2015-04-22 13:22:04 -04:00
parent 133ed7190e
commit 9703850e8f
5 changed files with 21 additions and 5 deletions

View file

@ -62,8 +62,10 @@ angular.module('quay').factory('TriggerService', ['UtilService', '$sanitize', 'K
'run_parameters': [
{
'title': 'Commit',
'type': 'string',
'name': 'commit_sha'
'type': 'regex',
'name': 'commit_sha',
'regex': '^([A-Fa-f0-9]{7})$',
'placeholder': '1c002dd'
}
],
'get_redirect_url': function(namespace, repository) {