|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] automation: Add an 'all' target for container maintenance
commit 892e538f43bb01c00718345aa3b0133ee74b4164
Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Mon Jun 10 18:52:04 2019 +0100
Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Tue Jun 11 11:06:52 2019 +0100
automation: Add an 'all' target for container maintenance
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Acked-by: Doug Goldstein <cardoe@xxxxxxxxxx>
---
automation/build/Makefile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/automation/build/Makefile b/automation/build/Makefile
index 773b16037c..7c7612b1d9 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)
--
generated by git-patchbot for /home/xen/git/xen.git#master
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |