Age | Commit message (Collapse) | Author |
|
gitlab-org/gitlab-shell!166 added support for collecting push options
from the environment, and passing them along to the
/internal/post_receive API endpoint.
This change handles the new push_options JSON element in the payload,
and passes them on through to the GitPushService and GitTagPushService
services.
Futhermore, it adds support for the first push option, ci.skip. With
this change, one can use 'git push -o ci.skip' to skip CI pipe
execution. Note that the pipeline is still created, but in the "skipped"
state, just like with the 'ci skip' commit message text.
Implements #18667
|
|
Updates specs to use new rails5 format.
The old format:
`get :show, { some: params }, { some: headers }`
The new format:
`get :show, params: { some: params }, headers: { some: headers }`
|
|
'55433-un-revert-https-gitlab-com-gitlab-org-gitlab-ce-commit-00acef434031b5dc0bf39576a9e83802c7806842-revert' into 'master'
Resolve "Un-revert https://gitlab.com/gitlab-org/gitlab-ce/commit/00acef434031b5dc0bf39576a9e83802c7806842 revert"
Closes #55433
See merge request gitlab-org/gitlab-ce!23861
|
|
This reverts commit 00acef434031b5dc0bf39576a9e83802c7806842.
|
|
|
|
This reverts commit 22954f220231281360377922b709efb904559949
|
|
LfsToken::HMACToken#token_valid?() will be examined and if false, look
in redis via LfsToken::LegacyRedisDeviseToken#token_valid?().
|
|
'master'"
This reverts merge request !22526
|
|
Make new merge request URL more friendly when pushing code
Closes #53012
See merge request gitlab-org/gitlab-ce!22526
|
|
Whenever a git push takes more than 50 seconds the user
will receive a trace from each check performed along with
their timings
|
|
|
|
If user has configure the setting then it will be passed to gitlab-shell
and gitlab-workhorse
|
|
- Use proper HTTP codes for /api/v4/allowed response
- CustomAction support
|
|
System hooks were not being triggered when projects were archived or
unarchived. Reuse the Projects::UpdateService to automatically
trigger system hooks and increase code reuse.
|
|
Why and how to enable this is covered in the docs being changed
here. This requires gitlab-org/gitlab-shell@2e8b670 ("Add support for
SSH certificate authentication", 2018-06-14) which has been merged in
and tagged as 8.0.0, so GITLAB_SHELL_VERSION needs to be bumped.
Merging this closes gitlab-org/gitlab-ce#34572 see
gitlab-org/gitlab-shell!207 for the gitlab-shell MR.
Implementation notes:
- The APIs being changed here are all internal, and their sole
consumer is gitlab-shell.
- Most of the changed code is a MR to gitlab-shell, see the
gitlab-org/gitlab-shell!207 MR. That change covers why only some of
the internal methods get a new "username" parameter, and why some
others only get a "user_id".
|
|
|
|
|
|
action, secret_token, protocol
|
|
|
|
This isn't a requirement, and removes deprecated method calls
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pull
|
|
|
|
Add find key by base64 key or fingerprint to the internal API
See merge request !250
Squashed changes:
Add unique index to fingerprint
Add new index to schema
Add internal api to get ssh key by fingerprint
Change API endpoint to authorized_keys
Add InsecureKeyFingerprint that calculates the fingerprint without shelling out
Add require for gitlab key fingerprint
Remove uniqueness of fingerprint index
Remove unique option from migration
Fix spec style in fingerprint test
Fix rubocop complain
Extract insecure key fingerprint to separate file
Change migration to support building index concurrently
Remove those hideous tabs
|
|
On GitLab.com, there are write deploy keys with no associated users.
Pushes with these deploy keys end with an Error 500 since we attempt
to look up redirect message. If there is no user, don't attempt
to display a redirect message.
Closes #41466
|
|
|
|
|
|
- Better gitaly-handling in /api/internal/allowed specs
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: RĂ©my Coutable <remy@rymai.me>
|
|
|
|
|
|
services: true, no_db: true, api: true
Signed-off-by: RĂ©my Coutable <remy@rymai.me>
|
|
|
|
Somehow Rails.cache.fetch occasionally returns `nil` values, which causes
this endpoint to crash.
Closes #35094
|
|
|
|
- Make single gitaly payload
- Add feature-flag specs to verify payload
|
|
|