diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-07 08:37:00 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-07 08:54:10 +0000 |
| commit | 2a4bba2249a71e928bd612d47b6ef439dc498c9c (patch) | |
| tree | e01091255da0cbccae3692b62eabc0a02e748595 /gnu/packages/docker.scm | |
| parent | e8185fc4d5e7c654f1781a35b51de71b4df20180 (diff) | |
gnu: docker-registry: Limit amount of tests, fix build.
Reported in #76111: docker-registry fails to build after commit
The commit 1e4a22c4d7a03ec8614b02f0878bc38b6ba54580 introduced a
regression, where go-build-system was set to run all tests available in
the project. This change limits amount of the tests.
* gnu/packages/docker.scm (docker-registry) [arguments] <test-subdirs>:
Limit to a portion of sub directories.
Reported-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Change-Id: Icbe530ff0f9e2e1fe80b2897833d231dd1e14d4a
Diffstat (limited to 'gnu/packages/docker.scm')
| -rw-r--r-- | gnu/packages/docker.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index aeed94e8040..9e2522d017c 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm | |||
| @@ -731,6 +731,10 @@ Tini is integrated with Docker.") | |||
| 731 | (define-public docker-registry | 731 | (define-public docker-registry |
| 732 | (package | 732 | (package |
| 733 | (name "docker-registry") | 733 | (name "docker-registry") |
| 734 | ;; XXX: The project ships a "vendor" directory containing all | ||
| 735 | ;; dependencies, consider to review and package them. The Golang library | ||
| 736 | ;; is packaged in (gnu packges golang-xyz) as | ||
| 737 | ;; go-github-com-docker-distribution. | ||
| 734 | (version "2.8.3") | 738 | (version "2.8.3") |
| 735 | (source (origin | 739 | (source (origin |
| 736 | (method git-fetch) | 740 | (method git-fetch) |
| @@ -745,6 +749,12 @@ Tini is integrated with Docker.") | |||
| 745 | (arguments | 749 | (arguments |
| 746 | (list | 750 | (list |
| 747 | #:import-path "github.com/docker/distribution" | 751 | #:import-path "github.com/docker/distribution" |
| 752 | #:test-subdirs #~(list "configuration" | ||
| 753 | "context" | ||
| 754 | "health" | ||
| 755 | "manifest" | ||
| 756 | "notifications/..." | ||
| 757 | "uuid") | ||
| 748 | #:phases | 758 | #:phases |
| 749 | #~(modify-phases %standard-phases | 759 | #~(modify-phases %standard-phases |
| 750 | (add-after 'unpack 'chdir-to-src | 760 | (add-after 'unpack 'chdir-to-src |
