- 16 Dec, 2016 1 commit
-
-
Nick Thomas authored
Add "make release" script See merge request !99
-
- 15 Dec, 2016 4 commits
-
-
Jacob Vosmaer authored
-
Jacob Vosmaer (GitLab) authored
Version 1.2.0 See merge request !98
-
Jacob Vosmaer authored
-
Jacob Vosmaer (GitLab) authored
Accelerate multipart file uploads for all requests Companion to https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5867 Extends the upload mechanism for CI artifacts to all multipart file uploads. See merge request !58
-
- 14 Dec, 2016 1 commit
-
-
Jacob Vosmaer authored
-
- 09 Dec, 2016 1 commit
-
-
Jacob Vosmaer (GitLab) authored
Handle environments/:id/terminal.ws, providing access to terminal websockets A GitLab environment may expose a terminal connection for out-of-band access. Workhorse is responsible for providing a websocket connection to the terminal if present. It authenticates the user and retrieves connection details from GitLab using the environments/:id/terminal.ws/authorize endpoint, and sets up a proxy to the terminal provider, converting from the remote's subprotocol to a common format. Authentication is periodically re-done, and the connection will be broken if it fails, or if the connection details change in any way. This MR includes support for the `channel.k8s.io` websocket subprotocol, allowing connections to be made to Kubernetes / OpenShift containers. Based on top of (some of) !72 Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/22864 See merge request !83
-
- 08 Dec, 2016 4 commits
-
-
Nick Thomas authored
A GitLab environment may expose a terminal connection for out-of-band access. Workhorse is responsible for providing a websocket connection to the terminal if present. It authenticates the user and retrieves connection details from GitLab using the environments/:id/terminal.ws/authorize endpoint, and sets up a proxy to the terminal provider, converting from the remote's subprotocol to a common format. Authentication is periodically re-done, and the connection will be broken if it fails, or if the connection details change in any way.
-
Jacob Vosmaer (GitLab) authored
Version 1.1.1 See merge request !96
-
Jacob Vosmaer authored
-
Jacob Vosmaer (GitLab) authored
Rate limit builds register Previously we were rate-limiting `/api` and `/ci/api`. This makes the it more targeted to only limit the capacity given to `builds/register.json` as this seems to be a main culprit of our stability problems. @jacobvosmaer-gitlab @stanhu @pcarranza What do you think? See merge request !95
-
- 07 Dec, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 05 Dec, 2016 2 commits
-
-
Nick Thomas authored
Put archive tests in their own file Felt like an easy way to trim down main_test.go a little. See merge request !93
-
Jacob Vosmaer authored
-
- 01 Dec, 2016 4 commits
-
-
Nick Thomas authored
Test for tags This would make it visible if we used a lightweight tag by accident. See merge request !92
-
Jacob Vosmaer (GitLab) authored
Version 1.1.0 See merge request !91
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
- 25 Nov, 2016 4 commits
-
-
Jacob Vosmaer (GitLab) authored
Prometheus metrics Closes https://gitlab.com/gitlab-org/gitlab-workhorse/issues/61 This adds two metrics to begin with: total requests served, partitioned by method/code, and the number of currently active requests. Things to check: - [x] are the names of the metrics OK - [x] is the access mechanism (unauthenticated HTTP at /metrics ) OK - [x] check licenses of new dependencies: a mix of MIT, Apache 2.0, and BSD 3-clause Note to reviewers: only the first four files in the GitLab diff are outside vendor/. No need to scroll through the other 87 files. See merge request !86
-
Nick Thomas authored
Disable NGINX response buffering when not proxying Closes https://gitlab.com/gitlab-org/gitlab-workhorse/issues/78 See merge request !87
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
- 24 Nov, 2016 3 commits
-
-
Jacob Vosmaer authored
Too many things on prometheus.gitlab.com are already called 'http_requests_total'.
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
- 22 Nov, 2016 2 commits
-
-
Jacob Vosmaer (GitLab) authored
Avoid setting multiple values for certain headers Content-Type, Content-Disposition and other headers were being given multiple values in some workhorse responses, causes problems with, e.g., archive downloads. This MR refactors the tests somewhat, and replaces calls to `Header().Add()` with `Header().Set()` where appropriate. Closes #76 See merge request !84
-
Nick Thomas authored
-
- 04 Nov, 2016 2 commits
-
-
Jacob Vosmaer (GitLab) authored
Release v1.0.0 See merge request !82
-
Nick Thomas authored
-
- 03 Nov, 2016 1 commit
-
-
Nick Thomas authored
Add "quick facts" section Towards https://gitlab.com/gitlab-org/gitlab-workhorse/issues/75 See merge request !79
-
- 02 Nov, 2016 1 commit
-
-
Jacob Vosmaer authored
-
- 26 Oct, 2016 2 commits
-
-
Nick Thomas authored
Adds Unix signal to reopen log file This MR adds a command line flag to provide a log file and creates a handler to reopen the log file upon receiving a SIGHUP signal. A new dependency is also added: [github.com/client9/reopen](https://github.com/client9/reopen) Relevant Issue: [#52](https://gitlab.com/gitlab-org/gitlab-workhorse/issues/52) cc: @jacobvosmaer-gitlab, @smcgivern See merge request !77
-
Andre Guedes authored
- Adds new logFile flag - Adds client9/reopen dependency - Enables log file reopening on SIGHUP - Adds a custom response logger
-
- 14 Oct, 2016 3 commits
-
-
Jacob Vosmaer (GitLab) authored
Improve error messages Less noise from 'deepen' inspection. Better grouping of 'bad gateway' errors. See merge request !76
-
Jacob Vosmaer authored
Hopefully this will lead to better grouping of errors in Sentry.
-
Jacob Vosmaer authored
They are just noise.
-
- 13 Oct, 2016 2 commits
-
-
Jacob Vosmaer authored
-
Jacob Vosmaer (GitLab) authored
Change the revspec for `git format-patch` For merge requests, GitLab currently sends: * ShaFrom == tip of target branch * ShaTo == tip of source branch This MR adds tests for this scenario and the alternative: * ShaFrom == base SHA * ShaTo == tip of source branch It then makes the test for the first case pass by altering the revspec. What to do with diffs is still an open question, so we leave those untouched for the moment. See https://gitlab.com/gitlab-org/gitlab-ce/issues/22229 See merge request !68
-
- 12 Oct, 2016 2 commits
-
-
Nick Thomas authored
-
Nick Thomas authored
-