Add a build display name, set it from the etag reported by s3 for file uploads.

This commit is contained in:
yackob03 2014-02-12 13:52:12 -05:00
parent e1a4efe35c
commit 85694dd110
8 changed files with 18 additions and 11 deletions

View file

@ -277,7 +277,8 @@ def populate_database():
token = model.create_access_token(building, 'write')
tag = 'ci.devtable.com:5000/%s/%s' % (building.namespace, building.name)
build = model.create_repository_build(building, token, '123-45-6789', tag)
build = model.create_repository_build(building, token, '123-45-6789', tag,
'build-name')
build.uuid = 'deadbeef-dead-beef-dead-beefdeadbeef'
build.save()