Run make tag on pkg directory to check packages build

This at least checks for buildability of packages, even if we
are not yet pushing them.

See https://github.com/linuxkit/linuxkit/issues/1991 for what it mitigates.
Will not pass until this is fixed.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2017-06-07 23:12:33 +01:00 committed by Tycho Andersen
parent cf9397786c
commit 9b82914f7d
2 changed files with 8 additions and 5 deletions

View File

@ -59,18 +59,21 @@ ci:
$(MAKE) $(MAKE)
$(MAKE) install $(MAKE) install
$(MAKE) -C test all $(MAKE) -C test all
$(MAKE) -C pkg tag
ci-tag: ci-tag:
$(MAKE) clean $(MAKE) clean
$(MAKE) $(MAKE)
$(MAKE) install $(MAKE) install
$(MAKE) -C test all $(MAKE) -C test all
$(MAKE) -C pkg tag
ci-pr: ci-pr:
$(MAKE) clean $(MAKE) clean
$(MAKE) $(MAKE)
$(MAKE) install $(MAKE) install
$(MAKE) -C test pr $(MAKE) -C test pr
$(MAKE) -C pkg tag
.PHONY: clean .PHONY: clean
clean: clean:

View File

@ -1,10 +1,10 @@
DIRS = $(shell find . -type d -depth 1) DIRS = $(shell find . -type d -depth 1)
.PHONY: clean dirs $(DIRS) .PHONY: clean dirs $(DIRS)
push: $(DIRS) push:
@set -e; for d in $(DIRS); do make -C "$$d"; done
$(DIRS): tag:
$(MAKE) -C $@ @set -e; for d in $(DIRS); do make -C "$$d" tag; done
clean: clean: ;
rm -f hash