- 14 Aug, 2019 1 commit
-
-
Thong Kuah authored
It's only used internally and is really a copy of the constants in Gitlab::Kubernetes::Pod
-
- 13 Aug, 2019 39 commits
-
-
GitLab Bot authored
-
Stan Hu authored
Expand variables only when needed See merge request gitlab-org/gitlab-ce!31772
-
GitLab Bot authored
-
Douwe Maan authored
Rework push mirror retries See merge request gitlab-org/gitlab-ce!31247
-
Bob Van Landuyt authored
**Prevention of running 2 simultaneous updates** Instead of using `RemoteMirror#update_status` and raise an error if it's already running to prevent the same mirror being updated at the same time we now use `Gitlab::ExclusiveLease` for that. When we fail to obtain a lease in 3 tries, 30 seconds apart, we bail and reschedule. We'll reschedule faster for the protected branches. If the mirror already ran since it was scheduled, the job will be skipped. **Error handling: Remote side** When an update fails because of a `Gitlab::Git::CommandError`, we won't track this error in sentry, this could be on the remote side: for example when branches have diverged. In this case, we'll try 3 times scheduled 1 or 5 minutes apart. In between, the mirror is marked as "to_retry", the error would be visible to the user when they visit the settings page. After 3 tries we'll mark the mirror as failed and notify the user. We won't track this error in sentry, as it's not likely we can help it. The next event that would trigger a new refresh. **Error handling: our side** If an unexpected error occurs, we mark the mirror as failed, but we'd still retry the job based on the regular sidekiq retries with backoff. Same as we used to The error would be reported in sentry, since its likely we need to do something about it.
-
Douwe Maan authored
[EE] Rework push mirror retries See merge request gitlab-org/gitlab-ee!14974
-
Bob Van Landuyt authored
**Prevention of running 2 simultaneous updates** Instead of using `RemoteMirror#update_status` and raise an error if it's already running to prevent the same mirror being updated at the same time we now use `Gitlab::ExclusiveLease` for that. When we fail to obtain a lease in 3 tries, 30 seconds apart, we bail and reschedule. We'll reschedule faster for the protected branches. If the mirror already ran since it was scheduled, the job will be skipped. **Error handling: Remote side** When an update fails because of a `Gitlab::Git::CommandError`, we won't track this error in sentry, this could be on the remote side: for example when branches have diverged. In this case, we'll try 3 times scheduled 1 or 5 minutes apart. In between, the mirror is marked as "to_retry", the error would be visible to the user when they visit the settings page. After 3 tries we'll mark the mirror as failed and notify the user. We won't track this error in sentry, as it's not likely we can help it. The next event that would trigger a new refresh. **Error handling: our side** If an unexpected error occurs, we mark the mirror as failed, but we'd still retry the job based on the regular sidekiq retries with backoff. Same as we used to The error would be reported in sentry, since its likely we need to do something about it.
-
GitLab Bot authored
-
Douwe Maan authored
Only expire tag cache once per push See merge request gitlab-org/gitlab-ce!31641
-
Michael Kozono authored
Rename comparer file for generic use See merge request gitlab-org/gitlab-ee!15133
-
Stan Hu authored
Geo - Remove feature flag for Docker container registries replication Closes #2870 See merge request gitlab-org/gitlab-ee!15135
-
Kamil Trzciński authored
This makes us to expand variables only when needed, instead of requesting all variables each time. This specifically helps in situation when explicit name of `environment: production` is used.
-
rossfuhrman authored
-
GitLab Bot authored
-
Douglas Barbosa Alexandre authored
-
Stan Hu authored
Return `429` instead of `302` on Rate Limiter on the raw endpoint See merge request gitlab-org/gitlab-ce!31777
-
Mayra Cabrera authored
It was originally returning 302 when the rate limit kicks in, because using the the correct status code makes it easier to track rate limiting events Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/65974
-
Douglas Barbosa Alexandre authored
Geo fully support replication for Docker container registries, and the feature flag can be removed.
-
GitLab Bot authored
-
Douglas Barbosa Alexandre authored
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14599 See merge request gitlab-org/gitlab-ce!31573
-
Douglas Barbosa Alexandre authored
[Geo] Configure capacity for Docker sync service(3/4) See merge request gitlab-org/gitlab-ee!14599
-
GitLab Bot authored
-
Mike Greiling authored
representing error message with .flash-container element See merge request gitlab-org/gitlab-ce!31636
-
Mesut Güneş authored
-
Douwe Maan authored
Merge branch '34414-update-personal-access-token-scope-descriptions-to-reflect-registry-permissions' into 'master' Update personal access token api scope description Closes #34414 See merge request gitlab-org/gitlab-ce!31759
-
Nick Kipling authored
-
Mike Greiling authored
EE 10161 hide issuable urls on vulnerability feedback Closes #10161 See merge request gitlab-org/gitlab-ee!14928
-
Cameron Swords authored
-
celdem authored
-
GitLab Bot authored
-
Marcia Ramos authored
Update links.md to give more consistency with the rest of the documentation See merge request gitlab-org/gitlab-ce!31693
-
Marcia Ramos authored
Add BrowserStack details to Frontend Dev Guide See merge request gitlab-org/gitlab-ce!31744
-
Valery Sizov authored
Control the maximum concurrency of container repository sync for a Geo node.
-
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14599Valery Sizov authored
Part of Docker Regsitry Replication feature for Geo
-
Marcia Ramos authored
Make cron notation parser a proper note See merge request gitlab-org/gitlab-ce!31542
-
Drew Blessing authored
-
Stan Hu authored
Previously each tag in a push would invoke the Gitaly `FindAllTags` RPC since the tag cache would be invalidated with every tag. We can eliminate those extraneous calls by expiring the tag cache once in `PostReceive` and taking advantage of the cached tags. Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/65795
-
GitLab Bot authored
-
Robert Speicher authored
Respect merge request block validations Closes #13376 See merge request gitlab-org/gitlab-ee!15123
-