Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-14 | Revert "Remove serving.Handler"371-refactor-domain-package | Jaime Martinez | |
This reverts commit 0fcc0667e6f2e78ca85abdb5c9f631a964dd77c2. | |||
2020-10-14 | Remove serving.Handler | Jaime Martinez | |
2020-10-13 | Log serving type used for requestslog-serving-type | Kamil Trzciński | |
This extends our structured logging with information about how the given request was served | |||
2020-10-01 | Move tracer to httptransport | Jaime Martinez | |
2020-09-25 | Do not trim Path on fabricate | Kamil Trzciński | |
2020-09-24 | Restore prefix validation | Jaime Martinez | |
2020-09-24 | Rebase from base branch | Jaime Martinez | |
Add vfs.VFS implementation for zip Fix build errors Clean zip vfs Add tests for Root Add zip serving metric Return a zip.Instance() when source == zip Add simple acceptance test for zip serving Use correct contents No need to start testServer in go routine | |||
2020-09-15 | Apply suggestions from feedback | Jaime Martinez | |
Update metric name | |||
2020-09-03 | Abstract `VFS` `Root` | Kamil Trzciński | |
2020-09-02 | Rename `disk.Instance()` to `local.Instance()`move-disk-to-local | Kamil Trzciński | |
Make `local` to be a special style of disk serving, using the `local.VFS` | |||
2020-09-02 | Merge branch 'fix/gb/gitlab-api-cache-test-races' into 'master' | Vladimir Shushlin | |
Fix race condition in tests for domains API cache Closes #436 See merge request gitlab-org/gitlab-pages!339 | |||
2020-09-01 | Fix a bug that leads to blocking retrieval on canceled contextfix/gb/gitlab-api-cache-test-races | Grzegorz Bizon | |
2020-09-01 | Simplify API cache tests by making channel size relevant | Grzegorz Bizon | |
2020-08-31 | Fix race condition in tests for domains API cache | Grzegorz Bizon | |
2020-08-28 | Revert "Start reading when disk is initialized" | Jaime Martinez | |
This reverts commit 621dcafd3d1f75b846e67a77ed17dc0d704f10e3. | |||
2020-08-27 | Start reading when disk is initialized | Jaime Martinez | |
Removes need to call `Read` when the app is initialized and begins reading from disk when `disk.New` is called. | |||
2020-08-27 | Update to-dos | Jaime Martinez | |
2020-08-20 | Rename `serving/disk/New()` to `serving/disk/Instance()`rename-disk-new-to-instance | Kamil Trzciński | |
The `Instance()` is a correct name for this, as we do not allocate a `Disk` each time, rather return a singleton object. | |||
2020-08-07 | Update error log on polling failure435-use-exponential-backoff | Jaime Martinez | |
2020-08-07 | Remove unused code | Jaime Martinez | |
2020-08-07 | Fix test assertions | Jaime Martinez | |
2020-08-07 | Use exponential backoff for polling | Jaime Martinez | |
Introudce github.com/cenkalti/backoff/v4 library to use exponential backoff when polling the Status API. | |||
2020-08-07 | Revert "Merge branch 'revert-a3365a7b' into 'master'"revert-185e0a0 | Jaime Martinez | |
This reverts commit 185e0a0e5c621f350335495291c535e5c05df89b, reversing changes made to a3365a7b1b41b3dee206cbcf27e915ee45d556a5. | |||
2020-08-06 | Revert "Merge branch 'revert-b3bf3ac4' into 'master'"revert-84c3866 | Jaime Martinez | |
This reverts commit 84c3866ba69e2ca0ca7d512b09ae66458f5c1c5c, reversing changes made to 185e0a0e5c621f350335495291c535e5c05df89b. | |||
2020-08-04 | Revert "Merge branch 'add-polling-to-domain-package' into 'master'"revert-b3bf3ac4 | Vladimir Shushlin | |
This reverts merge request !306 | |||
2020-08-04 | Revert "Merge branch 'use-domain-config-source-disk' into 'master'"revert-a3365a7b | Vladimir Shushlin | |
This reverts merge request !305 | |||
2020-08-04 | Increase client_test timeout | Jaime Martinez | |
2020-08-04 | Use IsReady instead | Jaime Martinez | |
2020-07-28 | Replace checker in gitlab package | Jaime Martinez | |
Add `Status` back to the Gitlab struct and the interfaces it needs. Remove checker interface. | |||
2020-07-27 | Update default max retries and interval | Jaime Martinez | |
2020-07-27 | Fix lint | Jaime Martinez | |
2020-07-27 | Use isReady flag in Gitlab struct | Jaime Martinez | |
2020-07-24 | Move checker mock to the right test file | Jaime Martinez | |
2020-07-24 | Add checker interface to type Gitlab | Jaime Martinez | |
Add a new checker interface that only calls Status from the Client to stop polluting the cache and the retriever implementations. Move domain changes out of this MR. | |||
2020-07-24 | Move polling out of the client | Jaime Martinez | |
Let the `package gitlab` handle the polling instead of the client. | |||
2020-07-24 | Increase polling test timeout | Jaime Martinez | |
2020-07-24 | Enable polling in the source domains | Jaime Martinez | |
Enables gitlabClient.Poll in the domain source init. | |||
2020-07-24 | Add simple polling to the GitLab client | Jaime Martinez | |
2020-07-24 | Remove resp.body close | Jaime Martinez | |
2020-07-24 | Add Status to GitLab client | Jaime Martinez | |
2020-06-01 | Enable the remaining linters | Jaime Martinez | |
- ineffassign - misspell - structcheck - typecheck - unconvert - unused - varcheck - whitespace | |||
2020-05-19 | Rename flag to domain-config-source | Jaime Martinez | |
2020-05-18 | Add domain-source config flag | Jaime Martinez | |
This is an incremental step for adding `-domain-source` as described in https://gitlab.com/gitlab-org/gitlab/-/issues/217912. We are only adding the flag here but it's not doing anything at the moment. Add TODO for implementation | |||
2020-05-12 | Merge branch 'fix/gb/gitlab-api-reuse-http-connections' into 'master' | Vladimir Shushlin | |
Ensure that we always close GitLab API response body See merge request gitlab-org/gitlab-pages!275 | |||
2020-05-12 | Ensure that we always close GitLab API response body | Grzegorz Bizon | |
This change is important because in case of receiving a JSON payload from GitLab API that is invalid, and is larger than 512, deserializer will stop reading it after 512 bytes and will not close the reader. This will result in HTTP connection not being reused. This commit ensures that we always read reasponse body until EOF and that we close the reader afterwards. | |||
2020-04-30 | change back to internal-gitlab-server as per @@vshushlin | Igor Wiedler | |
2020-04-30 | rename GitlabServerURL to GitlabAPIServerURL (as per @@krasio) | Igor Wiedler | |
2020-04-30 | rename internal-gitlab-server to gitlab-api-server (as per @@krasio) | Igor Wiedler | |
2020-04-29 | introduce separate config flag internal-gitlab-server | Igor Wiedler | |
2020-03-30 | Remove obsolete test case for gitlab source cache | Grzegorz Bizon | |