zuul/zuul/lib
James E. Blair f12453f6cb Return artifacts as dicts and add metadata
A recent attempt to use the artifact return feature of zuul_return
exposed some rough edges.  These two changes should make it much
easier to use.

First, return artifacts as a dictionary instead of a list.  This
requires that they have unique names (which is no bad thing -- what
would two artifacts named "docs" mean anyway?).  But mainly it allows
the dict merging behavior of zuul_return to be used, so that one
playbook may use zuul_return with some artifacts, and another playbook
may do the same, without either needing to load in the values of
the other first (assuming, of course, that they use different artifact
names).

Second, add a metadata field.  In the database and API, this is JSON
serialized, but in zuul_return and zuul.artifacts, it is exploded into
separate fields.  This lets jobs do things like associate versions or
tags with artifacts without having to abuse the url field.

Change-Id: I228687c1bd1c74ebc33b088ffd43f30c7309990d
2019-02-08 10:19:23 -08:00
..
__init__.py Initial commit. 2012-05-29 14:49:32 -07:00
artifacts.py Return artifacts as dicts and add metadata 2019-02-08 10:19:23 -08:00
commandsocket.py Clean up command sockets on stop 2019-01-07 10:02:33 -05:00
config.py Add type check for zuul conf 2018-12-10 19:24:50 +08:00
connections.py Fix zuul-web sql connections 2018-06-06 16:13:40 -07:00
dependson.py Support cross-source dependencies 2018-01-16 09:37:40 -08:00
encryption.py Cache decryption results 2018-07-15 16:42:02 +02:00
filecomments.py Map file comment line numbers 2018-08-15 14:38:03 -07:00
fingergw.py Fix secondary exception in fingergw 2019-01-22 15:35:44 -08:00
gear_utils.py Add support for zones in executors 2018-11-29 13:05:20 -05:00
gearserver.py Ansible launcher: add private gearman function 2016-06-13 09:33:00 -07:00
jsonutil.py JSON serialize mappingproxy types 2018-04-28 14:20:27 +00:00
keystorage.py Serve project SSH keys and document 2018-09-04 15:42:43 -07:00
log_streamer.py Properly close streams 2019-02-03 17:16:44 +01:00
queue.py Merge tenant reconfiguration events 2017-10-18 15:41:14 -07:00
statsd.py dict_object.keys() is not required for *in* operator 2018-12-03 12:04:55 +05:30
streamer_utils.py Remove unecessary shebang and exec bit 2018-07-26 07:12:24 +00:00
yamlutil.py Use mypy to do static type checking 2017-07-27 14:34:07 -05:00