summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Apply 1 suggestion(s) to 1 file(s)sh-add-version-argStan Hu2020-10-161-1/+1
|
* Add support for -version argumentStan Hu2020-10-151-1/+4
| | | | | This will help determine the version of the binary particularly on Cloud Native GitLab, where VERSION may not be shipped with the binaries.
* Extract coverage for Go code on CI pipelinego-coverageTakuya Noguchi2020-06-061-2/+7
| | | | Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
* Add race testing as separate CI stepsh-add-race-testStan Hu2020-05-111-0/+3
| | | | | This would help catch race conditions such as https://gitlab.com/gitlab-org/gitlab-shell/-/issues/450 before merge.
* Simplify building and testing the Go componentsNick Thomas2019-10-181-5/+5
|
* Remove dead Ruby codeNick Thomas2019-10-151-8/+2
|
* Intelligently rebuild binariesNick Thomas2019-10-081-1/+3
|
* Replace symlinks with actual binariesPatrick Bajao2019-08-151-10/+7
| | | | | | | | | | | | | | | | | | | We had `gitlab-shell-authorized-keys-check` and `gitlab-shell-authorized-principals-check` as symlinks to `gitlab-shell` before. We determine the `Command` and `CommandArgs` that we build based on the `Name` of the `Executable`. We also use that to know which fallback ruby executable should we fallback to. We use `os.Executable()` to do that. `os.Executable()` behaves differently depending on OS. It may return the symlink or the target's name. That can result to a buggy behavior. The fix is to create binaries for each instead of using a symlink. That way we don't need to rely on `os.Executable()` to get the name. We pass the `Name` of the executable instead.
* Support falling back to ruby version of checkersPatrick Bajao2019-07-291-0/+6
| | | | | | | | | | | | | | Rename the ruby scripts to have `-ruby` suffix and add a symlink for both to `./gitlab-shell`. The executable name will be used to determine how args will be parsed. For now, we only parse the arguments for gitlab-shell commands. If the executable is `gitlab-shell-authorized-keys-check` or `gitlab-shell-authorized-principals-check`, it'll always fallback to the ruby version. Ruby specs test the ruby script, the fallback from go to ruby and go implementation of both (still pending).
* Update .PHONY to be accurate198-update-phony-to-have-accurate-list-of-targetsAsh McKenzie2019-06-281-1/+1
|
* New bin/gitlab-shell Makefile targetAsh McKenzie2019-06-281-3/+7
|
* Add Makefile for easier building and testingAsh McKenzie2019-06-271-0/+35
|
* Remove direct redis integrationNick Thomas2018-01-121-12/+0
|
* Bump redis-rb library to 3.3.3update-redis-rb-3.3.3Stan Hu2017-07-221-1/+1
|
* Put redis library in lib/vendor/ and adjust LOAD_PATHuse-redis-rb-clientStan Hu2016-05-121-12/+4
|
* Remove unnecessary statement in MakefileStan Hu2016-05-121-1/+0
|
* Add redis-rb as a vendored libraryStan Hu2016-05-121-0/+21
`make update-redis` will clone the library and adjust the paths properly