summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Try using Gitlab provided image insteadtmp-kerberos-testingIgor Drozdov2022-11-241-10/+4
|
* Draft: Kerberos changes for testing purposesIgor Drozdov2022-11-2419-40/+361
|
* Merge branch 'id-add-sshd-dev-docs' into 'main'Ash McKenzie2022-11-242-0/+48
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Add developer documentation to sshd package See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/683 Merged-by: Ash McKenzie <amckenzie@gitlab.com> Approved-by: Alejandro Rodríguez <alejandro@gitlab.com> Approved-by: Oscar Tovar <otovar@gitlab.com> Approved-by: James Fargher <proglottis@gmail.com> Approved-by: John Cai <jcai@gitlab.com> Approved-by: Amy Qualls <aqualls@gitlab.com> Approved-by: Ash McKenzie <amckenzie@gitlab.com> Co-authored-by: Igor Drozdov <idrozdov@gitlab.com>
| * Add developer documentation to sshd packageIgor Drozdov2022-11-232-0/+48
| |
* | Merge branch 'proxy_ip_allowed' into 'main'Ash McKenzie2022-11-245-13/+90
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restrict IP access for PROXY protocol Closes #577 See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/693 Merged-by: Ash McKenzie <amckenzie@gitlab.com> Approved-by: Alejandro Rodríguez <alejandro@gitlab.com> Co-authored-by: James Fargher <jfargher@gitlab.com>
| * | gitlab-sshd: Add acceptance test missing error assertionJames Fargher2022-11-231-0/+1
| | |
| * | gitlab-sshd: Log full output in acceptance testJames Fargher2022-11-231-0/+1
| | |
| * | sshd: Return error when proxy policy is misconfiguredJames Fargher2022-11-231-7/+12
| | | | | | | | | | | | | | | MustStrictWhiteListPolicy panics when configured incorrectly. So here we use the error returning version instead.
| * | Add configuration example for proxy_allowedJames Fargher2022-11-231-0/+4
| | |
| * | sshd: Add ProxyAllowed setting to limit PROXY protocol IP addressesJames Fargher2022-11-233-6/+66
| | | | | | | | | | | | Changelog: added
| * | sshd: Extract static proxy policy handlerJames Fargher2022-11-231-7/+13
| | | | | | | | | | | | | | | | | | | | | Instead of interpreting the configuration for every new connection, we can rely on a closure to simplify the proxy handler path. This is more similar to how the provided MustStrictWhiteListPolicy works which will be added in a later commit.
* | | Merge branch 'id-fix-code-navigation' into 'main'Ash McKenzie2022-11-231-2/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | Clean up .gitlab-ci.yml file See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/695 Merged-by: Ash McKenzie <amckenzie@gitlab.com> Approved-by: Ash McKenzie <amckenzie@gitlab.com> Co-authored-by: Igor Drozdov <idrozdov@gitlab.com>
| * | Clean up .gitlab-ci.yml fileIgor Drozdov2022-11-231-2/+2
|/ /
* | Merge branch 'pb-fix-broken-main' into 'main'Igor Drozdov2022-11-231-2/+2
|\ \ | |/ |/| | | | | | | | | | | | | Fix broken Gitaly integration tests See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/694 Merged-by: Igor Drozdov <idrozdov@gitlab.com> Approved-by: Igor Drozdov <idrozdov@gitlab.com> Co-authored-by: Patrick Bajao <ebajao@gitlab.com>
| * Fix broken Gitaly integration testsPatrick Bajao2022-11-231-2/+2
|/ | | | | | | | | | | Gitaly started to require `Repository` information for certain commands like upload-pack, upload-archive, and receive-pack. However, gitlab-shell tests are sending `git_object_directory` and `git_alternate_object_directories` that do not exist. To fix the tests, we set those to an existing directory in the created repository.
* Merge branch 'id-bump-text' into 'main'Ash McKenzie2022-11-032-664/+20
|\ | | | | | | | | | | | | | | | | | | Clean up go.sum by updating libraries in go.mod See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/692 Merged-by: Ash McKenzie <amckenzie@gitlab.com> Approved-by: Alejandro Rodríguez <alejandro@gitlab.com> Approved-by: Ash McKenzie <amckenzie@gitlab.com> Co-authored-by: Igor Drozdov <idrozdov@gitlab.com>
| * Update prometheus package to 1.13.1Igor Drozdov2022-11-022-65/+13
| | | | | | | | | | It also excludes 1.12.1 version to break the cycling dependency that loads a lot of obsolete libraries
| * Bump x/text to 0.3.8Igor Drozdov2022-11-022-4/+6
| |
| * Drop 1.16 compatibility in go.sumIgor Drozdov2022-11-022-595/+1
|/ | | | | | | | | The changes are the result of running go mod tidy -compat=1.17 We don't support 1.16 for a while, this command just cleans up the unnecessary dependencies
* Merge branch 'gitaly-limit-error' into 'main'Igor Drozdov2022-10-252-1/+50
|\ | | | | | | | | | | | | | | | | | | | | | | Improve error message for Gitaly `LimitError`s Closes #556 See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/691 Merged-by: Igor Drozdov <idrozdov@gitlab.com> Approved-by: John Cai <jcai@gitlab.com> Approved-by: Igor Drozdov <idrozdov@gitlab.com> Co-authored-by: Alejandro Rodríguez <alejorro70@gmail.com>
| * Improve error message for Gitaly `LimitError`sAlejandro Rodríguez2022-10-242-1/+50
|/
* Merge branch 'id-release-14-13-0' into 'main'v14.13.0Igor Drozdov2022-10-182-1/+6
|\ | | | | | | | | | | | | | | Release 14.13.0 version See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/690 Merged-by: Igor Drozdov <idrozdov@gitlab.com>
| * Release 14.13.0 versionIgor Drozdov2022-10-182-1/+6
|/ | | | | - Update .tool-versions to Go 1.18.7 - Remove secret from request headers
* Merge branch 'id-remove-secret-from-headers' into 'main'Ash McKenzie2022-10-182-37/+0
|\ | | | | | | | | | | | | | | | | Remove secret from request headers See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/689 Merged-by: Ash McKenzie <amckenzie@gitlab.com> Approved-by: Ash McKenzie <amckenzie@gitlab.com> Co-authored-by: Igor Drozdov <idrozdov@gitlab.com>
| * Remove secret from request headersIgor Drozdov2022-10-172-37/+0
|/ | | | Now the requests are verified via JWT
* Merge branch 'sh-update-tool-versions-1.18.7' into 'main'Igor Drozdov2022-10-131-1/+1
|\ | | | | | | | | | | | | | | Update .tool-versions to Go 1.18.7 See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/688 Merged-by: Igor Drozdov <idrozdov@gitlab.com> Co-authored-by: Stan Hu <stanhu@gmail.com>
| * Update .tool-versions to Go 1.18.7Stan Hu2022-10-121-1/+1
|/ | | | | | Security announcement: https://groups.google.com/g/golang-announce/c/xtuG5faxtaU Part of https://gitlab.com/groups/gitlab-org/-/epics/8843
* Merge branch 'id-release-14-12-0' into 'main'v14.12.0Igor Drozdov2022-09-282-1/+8
|\ | | | | | | | | | | | | | | | | Release v14.12.0 See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/687 Merged-by: Igor Drozdov <idrozdov@gitlab.com> Approved-by: Igor Drozdov <idrozdov@gitlab.com>
| * Release v14.12.0Igor Drozdov2022-09-282-1/+8
|/ | | | | | | - Trim secret before signing JWT tokens !686 - Bump .tool-versions to use Go 1.18.6 !685 - Update Gitaly to 15.4.0-rc2 !681 - Test against Golang v1.19 !680
* Merge branch 'id-fix-jwt-tokens' into 'main'Ash McKenzie2022-09-282-10/+23
|\ | | | | | | | | | | | | | | | | | | Trim secret before signing JWT tokens See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/686 Merged-by: Ash McKenzie <amckenzie@gitlab.com> Approved-by: Alejandro Rodríguez <alejandro@gitlab.com> Approved-by: Ash McKenzie <amckenzie@gitlab.com> Co-authored-by: Igor Drozdov <idrozdov@gitlab.com>
| * Trim secret before signing JWT tokensIgor Drozdov2022-09-272-10/+23
| | | | | | | | | | With this change we don't rely on the secret to either contain a newline or not contain it.
* | Merge branch 'sh-bump-go-1.18' into 'main'Igor Drozdov2022-09-271-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Bump .tool-versions to use Go 1.18.6 See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/685 Merged-by: Igor Drozdov <idrozdov@gitlab.com> Approved-by: Igor Drozdov <idrozdov@gitlab.com> Co-authored-by: Stan Hu <stanhu@gmail.com>
| * | Bump .tool-versions to use Go 1.18.6Stan Hu2022-09-261-1/+1
|/ / | | | | | | | | | | | | go 1.17 is no longer receiving security updates. Update to go 1.18 in preparation for upgrading. Part of https://gitlab.com/groups/gitlab-org/-/epics/8843
* | Merge branch 'aqualls-update-docs-metadata' into 'main'Alejandro Rodríguez2022-09-222-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Update docs metadata link in gitlab-shell repo See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/684 Merged-by: Alejandro Rodríguez <alejandro@gitlab.com> Approved-by: Alejandro Rodríguez <alejandro@gitlab.com> Co-authored-by: Amy Qualls <aqualls@gitlab.com>
| * | Update docs metadata link in gitlab-shell repoAmy Qualls2022-09-222-2/+2
|/ /
* | Merge branch 'id-add-documentation-to-command' into 'main'Patrick Bajao2022-09-211-0/+30
|\ \ | |/ |/| | | | | | | | | | | | | Add developer documentation to command package See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/594 Merged-by: Patrick Bajao <ebajao@gitlab.com> Approved-by: Patrick Bajao <ebajao@gitlab.com> Co-authored-by: Igor Drozdov <idrozdov@gitlab.com>
| * Specify all packages that use commandsPatrick Bajao2022-08-031-1/+5
| |
| * Add developer documentation to command packageIgor Drozdov2022-08-031-0/+26
| |
* | Merge branch 'id-bump-gitaly' into 'main'Ash McKenzie2022-08-312-46/+114
|\ \ | | | | | | | | | | | | Update Gitaly to 15.4.0-rc2 See merge request gitlab-org/gitlab-shell!681
| * | Update Gitaly to 15.4.0-rc2Igor Drozdov2022-08-302-46/+114
|/ / | | | | | | | | It has gitlab-shell dependency removed, so it makes sense to remove the exclusion of circular dependency
* | Merge branch 'id-test-against-1.19' into 'main'Ash McKenzie2022-08-161-1/+1
|\ \ | | | | | | | | | | | | Run tests agains 1.19 Golang See merge request gitlab-org/gitlab-shell!680
| * | Add Golang 1.19 to CIIgor Drozdov2022-08-161-1/+1
|/ /
* | Merge branch 'id-update-danger-gem' into 'main'Patrick Bajao2022-08-112-20/+20
|\ \ | | | | | | | | | | | | Update gitlab-dangerfiles gem See merge request gitlab-org/gitlab-shell!678
| * | Update gitlab-dangerfiles gemIgor Drozdov2022-08-112-20/+20
| | |
* | | Merge branch 'id-release-14-11-0' into 'main'v14.11.0Igor Drozdov2022-08-112-1/+6
|\ \ \ | |/ / |/| | | | | | | | Release 14.11.0 See merge request gitlab-org/gitlab-shell!677
| * | Release 14.11.0Igor Drozdov2022-08-112-1/+6
|/ /
* | Merge branch 'id-update-gitaly-to-v15' into 'main'Patrick Bajao2022-08-1012-393/+319
|\ \ | | | | | | | | | | | | Update Gitaly to v15 See merge request gitlab-org/gitlab-shell!676
| * | Update Gitaly to v15Igor Drozdov2022-08-0512-393/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit also excludes gitlab-shell from dependencies: Gitaly specifies Gitlab Shell as a dependency as well in order to use gitlabnet client to perform API endpoints to Gitlab Rails. As a result, Gitlab Shell requires Gitaly -> Gitaly requires an older version of Gitlab Shell -> that version requires an older version of Gitlab Shell, etc. Let's use exclude to break the chain earlier
* | | Merge branch 'I-365101' into 'main'Igor Drozdov2022-08-052-1/+16
|\ \ \ | |/ / |/| | | | | | | | Fixed extra slashes in API request paths generated for geo See merge request gitlab-org/gitlab-shell!673
| * | Fixed extra slashes in API request paths generated for geoCarlos Yu2022-08-052-1/+16
| |/