I am trying to find out if there are any limits on the number of repositories we can create in Gerrit ?
There's no limit on the number of Gerrit repositories. Take a look at the Gerrit Scaling Documentation to get more info about this.
No, there is no limit for the number of repos in Gerrit. Maybe have a look at OpenStack's installation, they have a decent number of repos.
Related
Is it possible to get the worker-id from a apache beam job? Or any unique identifier that can tell about the current worker ? Cause I want to use it as label for my metric.
Thank you.
I don't believe this is supported but feel free to file a JIRA for this and mention your use-case. Also note that such information might be runner specific so you might be able to get information regarding the workers started for a job through the API of the runner you are using.
How can we limit Jenkins users to archive a large amount of files/large files in their jobs? It should be something on the Jenkins management level, but we didn't find the way to do so. Is there an option to limit a max size of archived file?
I don't know of any way built into Jenkins to do this, but haven't done an exhaustive search.
As a workaround you could try to use separate partitions/volumes or quotas for each jobs directory. I haven't done extensive testing, but Jenkins seems to continue to work after one job hits no space left.
This answer explains how to use groups and ACLs to make sure files in directory always get assigned that group. Then you can use group quotas to restrict the space usage for each.
This answer is an example of how to use project quotas which could here be an alternative to group quotas.
How do I get metrics in VSTS to get the total number of build/releases that have ever been done?
The VSTS "usage" area does not give me what im looking for.
PowerBI doesnt give me total releases either or builds (only gives metrics on XAMl builds).
Thanks
You can do it through VSTS REST API (need to statistic by yourself): Builds; Release releases
I have problem with Jira Cloud and Bitbacket. When I make smart commit - Jira only synchronize data commits with 60 min interval. Can I change this setting in Jira Cloud?
May be anybody had such problem? Thank You!
Seems that in cloud instances web hook from Bitbucket is responsible to trigger sync. I believe Benjamin Morgan replied to similar questions in Atlassian issue tracking. I would recommend you to take a look at it (here).
However, since Atlassian Cloud instances change regularly it's difficult to verify if it's still a valid configuration or not.
is it possible to configure a hard limit on the number of open changes for a given project in Gerrit?
When too many changes accumulate, rebasing them becomes an issue, especially when every rebase triggers a Jenkins job which takes some time to complete.
Hence I am looking for a way to force a limit on the open changes, so that Gerrit rejects new changes when too many are still open.
Thanks for help in advance.
You can start with git hooks. You can then use gerrit's ssh api or directly talk to gerrit's database to query outstanding gerrits.
Alternatively, consider using polling in jenkins instead of triggering a build on every change.