mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 19:41:50 +02:00
gnu: docker-registry: Limit amount of tests, fix build.
Reported in #76111: docker-registry fails to build after commit
The commit 1e4a22c4d7 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
This commit is contained in:
@@ -731,6 +731,10 @@ Tini is integrated with Docker.")
|
|||||||
(define-public docker-registry
|
(define-public docker-registry
|
||||||
(package
|
(package
|
||||||
(name "docker-registry")
|
(name "docker-registry")
|
||||||
|
;; XXX: The project ships a "vendor" directory containing all
|
||||||
|
;; dependencies, consider to review and package them. The Golang library
|
||||||
|
;; is packaged in (gnu packges golang-xyz) as
|
||||||
|
;; go-github-com-docker-distribution.
|
||||||
(version "2.8.3")
|
(version "2.8.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
@@ -745,6 +749,12 @@ Tini is integrated with Docker.")
|
|||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:import-path "github.com/docker/distribution"
|
#:import-path "github.com/docker/distribution"
|
||||||
|
#:test-subdirs #~(list "configuration"
|
||||||
|
"context"
|
||||||
|
"health"
|
||||||
|
"manifest"
|
||||||
|
"notifications/..."
|
||||||
|
"uuid")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'chdir-to-src
|
(add-after 'unpack 'chdir-to-src
|
||||||
|
|||||||
Reference in New Issue
Block a user