Milos Gajdos
69023c7f85
Merge pull request #3880 from wzshiming/proxy-cache-configurable
2023-07-14 08:43:19 +01:00
Hayley Swimelar
4aef4e4e84
Merge pull request #3957 from Dancheg97/main
...
Centered logo in README.md
2023-07-13 08:12:51 -07:00
Danila Fominykh
e7b1bfb911
Centered logo in README.md
...
Signed-off-by: Danila Fominykh <dancheg97@fmnx.su>
2023-07-13 14:32:08 +03:00
Milos Gajdos
40ef2353fa
Merge pull request #3955 from cloud-native-team/main
...
docs: fix typo
2023-07-11 09:05:20 +01:00
cui fliter
dedc8fa7cc
docs: fix typo
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-07-10 16:18:15 +08:00
Wang Yan
ac79c0d94a
Merge pull request #3952 from bmanuel/golang1.19.10
...
Update to golang 1.19.10
2023-07-06 14:29:36 +08:00
Milos Gajdos
bac7f02e02
Merge pull request #3950 from milosgajdos/enable-build-tags
2023-06-29 22:47:36 +01:00
Ben Manuel
36dd5b79ca
Update to golang 1.19.10
...
This addresses CVE-2023-29402, CVE-2023-29403, CVE-2023-29404, CVE-2023-29405
which were patched in 1.19.10.
Signed-off-by: Ben Manuel <ben.manuel@procore.com>
2023-06-29 15:49:27 -05:00
Milos Gajdos
5cd209bd53
Merge pull request #3872 from das7pad/patch-1
...
Use docker-compose spec v3 in nginx receipt
2023-06-29 19:19:25 +01:00
Milos Gajdos
6b388b1ba6
Enable Go build tags
...
This enables go build tags so the GCS and OSS driver support is
available in the binary distributed via the image build by Dockerfile.
This led to quite a few fixes in the GCS and OSS packages raised as
warning by golang-ci linter.
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2023-06-28 11:41:22 +01:00
Hayley Swimelar
71a6c56fbf
Merge pull request #3948 from flavianmissi/log-healthcheck-error
...
registry/handlers/app: log healthcheck error before return
2023-06-27 14:06:31 -07:00
Flavian Missi
87081252ba
registry/handlers/app: log healthcheck error before return
...
Signed-off-by: Flavian Missi <fmissi@redhat.com>
2023-06-27 09:50:15 +02:00
Milos Gajdos
22725209e3
Merge pull request #3936 from flavianmissi/azure-path-not-found
...
Fix path not found error in Azure
2023-06-26 13:21:00 +01:00
Flavian Missi
2b72c4d1ca
registry/storage/driver/azure: fix Move method
...
Something seems broken on azure/azure sdk side - it is currently not
possible to copy a blob of type AppendBlob using `CopyFromURL`.
Using the AppendBlob client via NewAppendBlobClient does not work
either.
According to Azure the correct way to do this is by using
StartCopyFromURL. Because this is an async operation, we need to do
polling ourselves. A simple backoff mechanism is used, where during each
iteration, the configured delay is multiplied by the retry number.
Also introduces two new config options for the Azure driver:
copy_status_poll_max_retry, and copy_status_poll_delay.
Signed-off-by: Flavian Missi <fmissi@redhat.com>
2023-06-26 13:47:30 +02:00
Hayley Swimelar
87b280718d
Merge pull request #2752 from davidswu/registry-driver-middleware
...
Add content cache required changes to distribution
2023-06-21 10:06:13 -07:00
David Wu
db1d0cbf35
Add registry middleware access to storage drivers
...
Signed-off-by: David Wu <dwu7401@gmail.com>
2023-06-20 17:18:05 -07:00
Wang Yan
6a57630cf4
Merge pull request #3934 from stonezdj/add_caller_info
...
Add option to enable caller information in logger
2023-06-11 21:53:14 +08:00
Milos Gajdos
4501a6e06d
Merge pull request #3939 from 7flying/content-type-octet-stream
...
Fix Content type octet stream typos
2023-06-08 11:56:14 +01:00
Irene Diez
421a97ffab
registry/api/v2: fix ContentType in RouteNameBlobUpload
...
Sets 'application/octet-stream' as the ContentType in the
Body of RouteNameBlobUpload.
Signed-off-by: Irene Diez <idiez@redhat.com>
2023-06-08 11:05:34 +02:00
Irene Diez
93010cae90
docs/specs/api: fix Content-Type typo
...
Signed-off-by: Irene Diez <idiez@redhat.com>
2023-06-08 10:59:34 +02:00
stonezdj
2338ee4f25
Add option to enable caller information in logger
...
Signed-off-by: stonezdj <stonezdj@gmail.com>
2023-06-06 13:14:02 +08:00
Milos Gajdos
97b1d649c4
Merge pull request #3900 from laurazard/add-zstd-compression
...
Support ztsd compression as Content-Encoding
2023-06-01 14:38:03 +01:00
Milos Gajdos
f45d6d9ecf
Merge pull request #3933 from dvdksn/docs/registry-mirror-url
...
docs: note restriction on URL format of mirrors
2023-06-01 14:37:36 +01:00
Laura Brehm
afe5a2a9b7
Support ztsd compression as Content-Encoding
...
Co-authored-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2023-06-01 14:06:25 +01:00
Milos Gajdos
5902a24fd0
Merge pull request #3929 from flavianmissi/fix-gcs-oss-file-writer
...
Fix gcs storage driver
Thanks to @jmontleon who laid the first bricks in #3702
2023-06-01 09:56:57 +01:00
David Karlsson
9d1f71c801
docs: note restriction on URL format of mirrors
...
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2023-05-31 20:20:52 +02:00
Flavian Missi
817dd286c1
vendor: update gcs driver dependencies files
...
Signed-off-by: Flavian Missi <fmissi@redhat.com>
2023-05-31 09:28:43 +02:00
Flavian Missi
695102895b
go.mod: update gcs driver dependencies
...
Signed-off-by: Flavian Missi <fmissi@redhat.com>
2023-05-31 09:28:37 +02:00
Flavian Missi
0207adaa5c
registry/storage/driver/gcs: fix code to use updated gcs driver
...
Signed-off-by: Flavian Missi <fmissi@redhat.com>
2023-05-31 09:28:03 +02:00
Flavian Missi
d0bc83d8e4
registry/storage/driver: receive context on Cancel methods
...
both oss and gcs driver were missing the context parameter that is
required to satisfy the storagedriver.FileWriter interface.
Signed-off-by: Flavian Missi <fmissi@redhat.com>
2023-05-31 09:14:51 +02:00
Milos Gajdos
ba46c769b3
Merge pull request #3932 from flavianmissi/fix-azure-test-parameters
...
registry/storage/driver: test call to Stat(ctx, "/")
2023-05-30 21:49:32 +01:00
Flavian Missi
0d20e7ae9e
registry/storage/driver/testsuites: use 4MB for Azure append test
...
Fixes #3931 .
Signed-off-by: Flavian Missi <fmissi@redhat.com>
2023-05-30 15:12:08 +02:00
Flavian Missi
0c33bb1092
registry/storage/driver/azure: consider CannotVerifyCopySource as 404
...
Azure will return CannotVerifyCopySource with a 404 status code from a
call to Move when the source blob does not exist.
Details: https://learn.microsoft.com/en-us/rest/api/storageservices/blob-service-error-codes .
This fixes the TestMoveNonexistent test case for the Azure driver.
Signed-off-by: Flavian Missi <fmissi@redhat.com>
2023-05-30 15:12:08 +02:00
Flavian Missi
d2e16fc74a
registry/storage/driver/azure: fix driver parameters on tests
...
fixes "azure: no Host in request URL" tests failure, allowing azure
driver tests to run.
Signed-off-by: Flavian Missi <fmissi@redhat.com>
2023-05-30 15:12:08 +02:00
Flavian Missi
90ece48d77
registry/storage/driver: add test call to Stat on "/"
...
Stat(ctx, "/") is called by the registry healthcheck.
Also fixes blob name building in the Azure driver so it no longer
returns empty blob names. This was causing errors in the healthcheck
call to Stat for Azure.
Signed-off-by: Flavian Missi <fmissi@redhat.com>
2023-05-30 15:12:00 +02:00
Milos Gajdos
3f6bf09069
Merge pull request #3916 from flavianmissi/bump-azure-sdk
...
bump azure sdk
2023-05-29 16:44:48 +01:00
Milos Gajdos
0610484e62
Merge pull request #3930 from splucs/fix-s3-walk-prev-dir
...
Fix panic in the s3 backend walk logic
2023-05-29 16:27:54 +01:00
Lucas França de Oliveira
035a8ec52a
Fix panic in the s3 backend walk logic
...
Signed-off-by: Lucas França de Oliveira <lucasfdo@palantir.com>
2023-05-25 14:56:05 -07:00
Flavian Missi
7caf058a65
bump azure sdk
...
v1.3.0 of azidentity introduces support to workload identity.
Signed-off-by: Flavian Missi <fmissi@redhat.com>
2023-05-22 09:05:35 +02:00
Milos Gajdos
983358f8e2
Merge pull request #3896 from pluralsh/clean-blobstore-rebase
...
Remove blobstore from manifest builder
2023-05-19 15:05:16 +01:00
David van der Spek
f3eb91cf85
Update testutil/manifests.go
...
Co-authored-by: Kyle Squizzato <ksquizz@gmail.com>
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
2023-05-19 13:47:17 +00:00
glefloch
61e576f3d0
Remove blobstore from manifest builder
...
Signed-off-by: glefloch <glfloch@gmail.com>
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
2023-05-19 13:47:17 +00:00
Milos Gajdos
f7717b7855
Merge pull request #3917 from ecormaksin/ecormaksin/patch-2
2023-05-11 17:37:43 +01:00
Makoto Oda
6a4296128a
vallye
typo again and ignore
section table layout is broken
...
Signed-off-by: Makoto Oda <truth_jp_4133@yahoo.co.jp>
2023-05-11 23:42:29 +09:00
Milos Gajdos
8e29e870a4
Merge pull request #3910 from thaJeztah/fix_releaser_filenames
...
Dockerfile: fix filenames of artifacts
2023-05-09 23:39:58 +01:00
Sebastiaan van Stijn
435c7b9a7b
Dockerfile: fix filenames of artifacts
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-05-10 00:26:02 +02:00
Milos Gajdos
f55a6552b0
Merge pull request from GHSA-hqxw-f8mx-cpmw
...
Fix runaway allocation on /v2/_catalog
2023-05-09 21:21:54 +01:00
Milos Gajdos
2b13387884
Merge pull request #3898 from ecormaksin/patch-1
...
Update configuration.md
2023-05-09 17:05:25 +01:00
Milos Gajdos
ada0064ab9
Merge pull request #3905 from thaJeztah/bump_go_1.19.9
...
update to go1.19.9
2023-05-09 16:45:31 +01:00
Makoto Oda
5d301a9b3b
Update configuration.md
...
I think that `valye` is typo.
Signed-off-by: Makoto Oda <truth_jp_4133@yahoo.co.jp>
2023-05-09 17:40:20 +02:00