Add labeling of built manifests with their build IDs

Also sends the digests to the notification

Fixes #593
This commit is contained in:
Joseph Schorr 2016-09-12 15:30:15 -04:00
parent 2b00c644b5
commit 02b8afe127
3 changed files with 27 additions and 3 deletions

View file

@ -10,6 +10,9 @@ from util.validation import is_json
logger = logging.getLogger(__name__)
# Label which marks a manifest with its source build ID.
INTERNAL_LABEL_BUILD_UUID = 'quay.build.uuid'
@lru_cache(maxsize=1)
def get_label_source_types():