- 19 Jan, 2021 1 commit
-
-
Jacob Vosmaer authored
[ci skip]
-
- 14 Jan, 2021 2 commits
-
-
Jacob Vosmaer authored
Accept more paths as Git HTTP Closes gitlab#294007 See merge request gitlab-org/gitlab-workhorse!670
-
Jacob Vosmaer authored
With the introduction of group wikis we also need to support repository paths on the toplevel. We can also make the matching for info refs requests a bit stricter, by checking for valid `service` parameters in the query string.
-
- 12 Jan, 2021 3 commits
-
-
Nick Thomas authored
Allow blank S3 regions to be used See merge request gitlab-org/gitlab-workhorse!677
-
Patrick Bajao authored
Update GoCloud to v0.21.1+ See merge request gitlab-org/gitlab-workhorse!675
-
Stan Hu authored
This dependency update is the first step to supporting Azure Managed Identities (https://gitlab.com/gitlab-org/gitlab/-/issues/242245) so that static credentials are not needed. This is equivalent to Amazon's IAM instance profile. This GoCloud update also requires a newer gprc-go version. v1.34.1 fixes a UNIX socket dialing issue that was broken in v1.34.0: https://github.com/grpc/grpc-go/issues/3990 Part of https://gitlab.com/gitlab-org/gitlab/-/issues/242245
-
- 11 Jan, 2021 3 commits
-
-
Stan Hu authored
If consolidated object storage is used without a region, Workhorse will fall back to making a direct HTTP PUT call to the S3 endpoint because GitLab Rails does not send the multipart upload URLs in this mode. However, this will result a 411 Length Required error because multipart upload URLs must be used when the Content-Length header is not available. An S3 region is not strictly required, particularly with Minio. With Amazon S3, the region will default to US East (`us-east-1`). If the bucket does not exist in the region, S3 will return with a more informative error. Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/297227
-
Alessio Caiazza authored
-
Alessio Caiazza authored
[ci skip]
-
- 08 Jan, 2021 4 commits
-
-
Alessio Caiazza authored
Add missing testcase for DELETE NO CHANGELOG Closes #342 See merge request gitlab-org/gitlab-workhorse!676
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
PNG decoder proxy that skips iCCP chunks Closes #341 See merge request gitlab-org/gitlab-workhorse!673
-
Matthias Käppler authored
This is pretty terrible but I wanted to see how it might work.
-
- 07 Jan, 2021 1 commit
-
-
Alessio Caiazza authored
Reject unknown HTTP methods See merge request gitlab-org/security/gitlab-workhorse!17
-
- 06 Jan, 2021 1 commit
-
-
Patrick Bajao authored
Run CI against Go 1.15 NO CHANGELOG See merge request gitlab-org/gitlab-workhorse!674
-
- 05 Jan, 2021 1 commit
-
-
Nick Thomas authored
-
- 25 Dec, 2020 1 commit
-
-
Vladimir Shushlin authored
too long method name results in too long prometheus label name, which can crash prometheus
-
- 10 Dec, 2020 4 commits
-
-
Nick Thomas authored
Makefile: remove find NO CHANGELOG See merge request gitlab-org/gitlab-workhorse!669
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
Refactor logging helpers to reduce signature creep See merge request gitlab-org/gitlab-workhorse!662
-
Matthias Käppler authored
-
- 09 Dec, 2020 1 commit
-
-
Alessio Caiazza authored
Document scripts/update-workhorse for releasing NO CHANGELOG See merge request gitlab-org/gitlab-workhorse!668
-
- 08 Dec, 2020 2 commits
-
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
[ci skip]
-
- 07 Dec, 2020 3 commits
-
-
Jacob Vosmaer authored
-
Patrick Bajao authored
Add notice about canonical source NO CHANGELOG See merge request gitlab-org/gitlab-workhorse!667
-
Jacob Vosmaer authored
-
- 02 Dec, 2020 5 commits
-
-
Alessio Caiazza authored
Support alternate document root directory See merge request gitlab-org/gitlab-workhorse!626
-
Patrick Bajao authored
Do not resize when image is less than 8 bytes, add comments See merge request gitlab-org/gitlab-workhorse!666
-
Aleksei Lipniagov authored
-
Patrick Bajao authored
Auto-register Prometheus metrics Closes #326 See merge request gitlab-org/gitlab-workhorse!660
-
Ben Kochie authored
* Update to latest upstream Prometheus library. * Update to latest upstream Prometheus gRPC library. * Switch to `promauto` package to avoid missing metrics. Closes: https://gitlab.com/gitlab-org/gitlab-workhorse/-/issues/326Signed-off-by: Ben Kochie <bjk@gitlab.com>
-
- 01 Dec, 2020 1 commit
-
-
Stan Hu authored
This will be useful for supporting no-downtime upgrades. Admins attempting to upgrade GitLab via our no-downtime upgrade procedure have found that CSS and JavaScript often don't load while the upgrade is in progress. This is because in a mixed deployment scenario with a load balancer, this can happen: 1. User accesses node version N+1, which then makes a CSS/JS request on version N. 2. User accesses node version N, which then makes a CSS/JS requests on version N+1. In both scenarios, the user gets a 404 since only one version of the assets exist on a given server. To fix this, we provide an alternate path where previous and future assets can be stored. Relates to https://gitlab.com/gitlab-org/gitlab-workhorse/-/issues/304
-
- 30 Nov, 2020 5 commits
-
-
Jacob Vosmaer authored
Fix uploader not returning 413 when artifact too large Closes #328 See merge request gitlab-org/gitlab-workhorse!663
-
Alessio Caiazza authored
-
Alessio Caiazza authored
[ci skip]
-
Alessio Caiazza authored
Add upload acceleration for Requirements import See merge request gitlab-org/gitlab-workhorse!664
-
Eugenia Grieff authored
- Add spec
-
- 27 Nov, 2020 1 commit
-
-
Stan Hu authored
When an upload exceeds the maximum limit, `ErrEntityTooLarge` gets returned but is wrapped in multiple layers of errors when it is checked. As a result, when Google Cloud Storage were used to upload files, artifacts exceeding the maximum size would report a "500 Internal Server Error" instead of the correct "413 Request Entity Too Large" error message. To fix this, we check the state of `hardLimitReader` and set the error to `ErrEntityTooLarge` at the end of the `SaveFileFromReader` to ensure that this error will be returned. Closes https://gitlab.com/gitlab-org/gitlab-workhorse/-/issues/328
-
- 26 Nov, 2020 1 commit
-
-
Alessio Caiazza authored
-