* [Xen-devel] [PATCH] automation: Add an 'all' target for container maintenance
@ 2019-06-10 17:52 Andrew Cooper
2019-06-10 20:58 ` Doug Goldstein
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cooper @ 2019-06-10 17:52 UTC (permalink / raw)
To: Xen-devel; +Cc: Andrew Cooper, Doug Goldstein, Wei Liu
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Wei Liu <wl@xen.org>
CC: Doug Goldstein <cardoe@cardoe.com>
---
automation/build/Makefile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/automation/build/Makefile b/automation/build/Makefile
index 773b160..7c7612b 100644
--- a/automation/build/Makefile
+++ b/automation/build/Makefile
@@ -1,13 +1,12 @@
# the base of where these containers will appear
REGISTRY := registry.gitlab.com/xen-project/xen
+CONTAINERS = $(subst .dockerfile,,$(wildcard */*.dockerfile))
help:
@echo "Builds containers for building Xen based on different distros"
@echo "To build one run 'make DISTRO/VERSION'. Available containers:"
- @$(foreach file,$(sort $(subst .dockerfile,,$(wildcard */*.dockerfile))), \
- echo ${file} ; \
- )
+ @$(foreach file,$(sort $(CONTAINERS)),echo ${file};)
@echo "To push container builds, set the env var PUSH"
%: %.dockerfile ## Builds containers
@@ -15,3 +14,6 @@ help:
@if [ ! -z $${PUSH+x} ]; then \
docker push $(REGISTRY)/$(@D):$(@F); \
fi
+
+.PHONY: all
+all: $(CONTAINERS)
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Xen-devel] [PATCH] automation: Add an 'all' target for container maintenance
2019-06-10 17:52 [Xen-devel] [PATCH] automation: Add an 'all' target for container maintenance Andrew Cooper
@ 2019-06-10 20:58 ` Doug Goldstein
0 siblings, 0 replies; 2+ messages in thread
From: Doug Goldstein @ 2019-06-10 20:58 UTC (permalink / raw)
To: Andrew Cooper; +Cc: Xen-devel, Wei Liu
On Mon, Jun 10, 2019 at 06:52:28PM +0100, Andrew Cooper wrote:
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> ---
> CC: Wei Liu <wl@xen.org>
> CC: Doug Goldstein <cardoe@cardoe.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-10 20:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-10 17:52 [Xen-devel] [PATCH] automation: Add an 'all' target for container maintenance Andrew Cooper
2019-06-10 20:58 ` Doug Goldstein
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.