You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(issue-94): allow fetching all builds and other than completed (#102)
* feat(issue-94): allow fetching all builds and other than completed
* add handling for all case
* explicit handling of all case
* filter for fetching all builds
* readme
* Allow uuid and names
* filter builds by mintime in the case of statusFilter=all
* must be startTime because builds could be running and not be finished
---------
Co-authored-by: Loeffler, Julian <[email protected]>
Co-authored-by: Markus Blaschke <[email protected]>
--timeline.state= Filter timeline states (completed, inProgress, pending) (default: completed) [$AZURE_DEVOPS_FILTER_TIMELINE_STATE]
46
+
--builds.all.project= Fetch all builds (even if they are not finished) [$AZURE_DEVOPS_FETCH_ALL_BUILDS_FILTER_PROJECT]
45
47
--list.query= Pairs of query and project UUIDs in the form: '<queryId>@<projectId>' [$AZURE_DEVOPS_QUERIES]
46
-
--tags.schema= Tags to be extracted from builds in the format 'tagName:type' with following types: number,
47
-
info, bool [$AZURE_DEVOPS_TAG_SCHEMA]
48
+
--tags.schema= Tags to be extracted from builds in the format 'tagName:type' with following types: number, info, bool [$AZURE_DEVOPS_TAG_SCHEMA]
48
49
--tags.build.definition= Build definition ids to query tags (IDs) [$AZURE_DEVOPS_TAG_BUILD_DEFINITION]
49
-
--cache.path= Cache path (to folder, file://path... or
50
-
azblob://storageaccount.blob.core.windows.net/containername or
51
-
k8scm://{namespace}/{configmap}}) [$CACHE_PATH]
50
+
--cache.path= Cache path (to folder, file://path... or azblob://storageaccount.blob.core.windows.net/containername or k8scm://{namespace}/{configmap}}) [$CACHE_PATH]
52
51
--request.concurrency= Number of concurrent requests against dev.azure.com (default: 10) [$REQUEST_CONCURRENCY]
53
52
--request.retries= Number of retried requests against dev.azure.com (default: 3) [$REQUEST_RETRIES]
54
-
--servicediscovery.refresh= Refresh duration for servicediscovery (time.duration) (default: 30m)
55
-
[$SERVICEDISCOVERY_REFRESH]
53
+
--servicediscovery.refresh= Refresh duration for servicediscovery (time.duration) (default: 30m) [$SERVICEDISCOVERY_REFRESH]
56
54
--limit.project= Limit number of projects (default: 100) [$LIMIT_PROJECT]
57
55
--limit.builds-per-project= Limit builds per project (default: 100) [$LIMIT_BUILDS_PER_PROJECT]
58
56
--limit.builds-per-definition= Limit builds per definition (default: 10) [$LIMIT_BUILDS_PER_DEFINITION]
59
57
--limit.releases-per-project= Limit releases per project (default: 100) [$LIMIT_RELEASES_PER_PROJECT]
60
58
--limit.releases-per-definition= Limit releases per definition (default: 100) [$LIMIT_RELEASES_PER_DEFINITION]
61
59
--limit.deployments-per-definition= Limit deployments per definition (default: 100) [$LIMIT_DEPLOYMENTS_PER_DEFINITION]
62
60
--limit.releasedefinitions-per-project= Limit builds per definition (default: 100) [$LIMIT_RELEASEDEFINITION_PER_PROJECT]
63
-
--limit.build-history-duration= Time (time.Duration) how long the exporter should look back for builds (default: 48h)
64
-
[$LIMIT_BUILD_HISTORY_DURATION]
65
-
--limit.release-history-duration= Time (time.Duration) how long the exporter should look back for releases (default: 48h)
66
-
[$LIMIT_RELEASE_HISTORY_DURATION]
61
+
--limit.build-history-duration= Time (time.Duration) how long the exporter should look back for builds (default: 48h) [$LIMIT_BUILD_HISTORY_DURATION]
62
+
--limit.release-history-duration= Time (time.Duration) how long the exporter should look back for releases (default: 48h) [$LIMIT_RELEASE_HISTORY_DURATION]
67
63
--server.bind= Server address (default: :8080) [$SERVER_BIND]
68
64
--server.timeout.read= Server read timeout (default: 5s) [$SERVER_TIMEOUT_READ]
69
65
--server.timeout.write= Server write timeout (default: 10s) [$SERVER_TIMEOUT_WRITE]
FetchAllBuildsFilter []string`long:"builds.all.project" env:"AZURE_DEVOPS_FETCH_ALL_BUILDS_FILTER_PROJECT" env-delim:" " description:"Fetch all builds from projects (UUIDs or names)"`
63
+
61
64
// query settings
62
65
QueriesWithProjects []string`long:"list.query" env:"AZURE_DEVOPS_QUERIES" env-delim:" " description:"Pairs of query and project UUIDs in the form: '<queryId>@<projectId>'"`
0 commit comments