Commit Graph

14 Commits

Author SHA1 Message Date
GitLab Bot d6348d22dd Add latest changes from gitlab-org/gitlab@master 2020-06-24 09:08:32 +00:00
Thong Kuah d6a7408fd3
Explicitly reject non http(s) schemes
Rather than relying on NoMethodError deep inside faraday
2019-07-29 19:20:30 -03:00
Thong Kuah 46ef495488
Write out sham_rack gem
This means we have one less Net::HTTP monkeypatch.

sham_rack cannot handle IPv6 addresses which means it breaks Net::HTTP
connections because it monkey-patches Net::HTTP
2019-07-29 19:20:27 -03:00
Thong Kuah f540ffcef6 Add frozen_string_literal to spec/lib (part 1)
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-26 13:25:07 +12:00
George Tsiolis 733ae94921 Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Grzegorz Bizon 0430b76441 Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
Stan Hu 831d6f5f77 Properly handle container registry redirects to fix metadata stored on a S3 backend
The previous behavior would include the Authorization header, which would
make fetching an S3 blob fail quietly.

Closes #22403

Update sh-fix-container-registry-s3-redirects.yml
2017-05-17 07:04:34 -07:00
Grzegorz Bizon 000af87190 Remove redundant code from container registry classes 2017-04-05 14:44:35 +02:00
Grzegorz Bizon 4fdcaca6a1 Fix container registry blob specs 2017-03-24 13:08:21 +01:00
Grzegorz Bizon dcd2eeb1cf Rename container image to repository in specs 2017-03-23 15:54:59 +01:00
Andre Guedes e4fa80f3b6 Fixes broken and missing tests 2017-02-22 11:30:11 -03:00
Kamil Trzcinski 3e4dc164a7 Explicitly remove authorization token and make sure that invalid addresses are properly handled 2016-07-15 17:35:23 +02:00
Kamil Trzcinski 24145592e8 Provide full test coverage to lib/container_registry API implementation 2016-05-17 13:20:11 -05:00