mirror of https://github.com/containers/image.git
makefile: pass BUILDTAGS to test-skopeo
Since skopeo now also has containers/storage we have to pass it our BUILDTAGS otherwise you'll get build failures in the CI. Signed-off-by: Aleksa Sarai <asarai@suse.de>
This commit is contained in:
parent
d0a45e907a
commit
136fb03dea
5
Makefile
5
Makefile
|
|
@ -5,7 +5,8 @@ SKOPEO_REPO = projectatomic/skopeo
|
||||||
SKOPEO_BRANCH = master
|
SKOPEO_BRANCH = master
|
||||||
# Set SUDO=sudo to run container integration tests using sudo.
|
# Set SUDO=sudo to run container integration tests using sudo.
|
||||||
SUDO =
|
SUDO =
|
||||||
BUILDFLAGS = -tags "btrfs_noversion libdm_no_deferred_remove"
|
BUILDTAGS = btrfs_noversion libdm_no_deferred_remove
|
||||||
|
BUILDFLAGS := -tags "$(BUILDTAGS)"
|
||||||
|
|
||||||
all: deps .gitvalidation test validate
|
all: deps .gitvalidation test validate
|
||||||
|
|
||||||
|
|
@ -30,7 +31,7 @@ test-skopeo:
|
||||||
git clone -b $(SKOPEO_BRANCH) https://github.com/$(SKOPEO_REPO) $${skopeo_path} && \
|
git clone -b $(SKOPEO_BRANCH) https://github.com/$(SKOPEO_REPO) $${skopeo_path} && \
|
||||||
rm -rf $${vendor_path} && cp -r . $${vendor_path} && \
|
rm -rf $${vendor_path} && cp -r . $${vendor_path} && \
|
||||||
cd $${skopeo_path} && \
|
cd $${skopeo_path} && \
|
||||||
make binary-local test-all-local && \
|
make BUILDTAGS="$(BUILDTAGS)" binary-local test-all-local && \
|
||||||
$(SUDO) make check && \
|
$(SUDO) make check && \
|
||||||
rm -rf $${skopeo_path}
|
rm -rf $${skopeo_path}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue