Limit CI builds queries to 7 days
This applies to EE queries only. It improves performance of those queries significantly.
The change here relies on an index to be shipped with https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/32546.
Related to https://gitlab.com/gitlab-org/gitlab-exporter/issues/58
Edited by Andreas Brandl