This internal-only attribute is basically the same as "ref" but
spelled differently only in the case of a change. Just use
the "ref" name in all cases for improved developer sanity.
Change-Id: I476f8d32dae37309ab0c9e11c8a5337b213f985e
This change adds a tenant column to the zuul_buildset sql table to be able
to filter results based on tenant.
Change-Id: I4eec8e9a32883c54da953b7279e0f8a8c86b943b
The pipeline can be obtained by way of the item which was also being
passed in.
Change-Id: Ibcafa7daef3567c840a23defcab6fd40a9c6b206
Signed-off-by: Jesse Keating <omgjlk@us.ibm.com>
Source is available as part of the item so we don't need to pass it as a
parameter.
Change-Id: If871823f60f28665c87a705fb00cc30d7b849c12
Signed-off-by: Jamie Lennox <jamielennox@gmail.com>
This change fixes AttributeErrors when the sql reporter
is used in post/periodic pipelines where the item.change is of
type Ref without number/patchset/refspec members.
Change-Id: I11696b41a0a71405dfb7845ce222ef302a96986b
Rather than storing a 0, allow the sql reporter to store Null if no
score is set.
Also rename the alembic.ini file to be as alembic expects since it
exists in its own directory path now.
Change-Id: I5c99cd0d10d3cab7af4029b106bcd8f6c0ccbd23
This has been moved to the job definition (with the expectation
that it will be set by a site-local base job).
Change-Id: Ibdb5968a090c335d5a8449466599da38d321d55e