mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 15:32:56 +00:00
Wrap and indent long command lines in Makefile
This commit is contained in:
28
Makefile
28
Makefile
@@ -78,9 +78,26 @@ linkcheck-docs: ## check broken links
|
|||||||
|
|
||||||
hook/%: VARIANT?=default
|
hook/%: VARIANT?=default
|
||||||
hook/%: ## run post-build hooks for an image
|
hook/%: ## run post-build hooks for an image
|
||||||
python3 -m tagging.write_tags_file --short-image-name "$(notdir $@)" --tags-dir /tmp/jupyter/tags/ --registry "$(REGISTRY)" --owner "$(OWNER)" --variant "$(VARIANT)" && \
|
python3 -m tagging.write_tags_file \
|
||||||
python3 -m tagging.write_manifest --short-image-name "$(notdir $@)" --hist-lines-dir /tmp/jupyter/hist_lines/ --manifests-dir /tmp/jupyter/manifests/ --registry "$(REGISTRY)" --owner "$(OWNER)" --variant "$(VARIANT)" && \
|
--short-image-name "$(notdir $@)" \
|
||||||
python3 -m tagging.apply_tags --short-image-name "$(notdir $@)" --tags-dir /tmp/jupyter/tags/ --platform "$(shell uname -m)" --registry "$(REGISTRY)" --owner "$(OWNER)" --variant "$(VARIANT)"
|
--tags-dir /tmp/jupyter/tags/ \
|
||||||
|
--registry "$(REGISTRY)" \
|
||||||
|
--owner "$(OWNER)" \
|
||||||
|
--variant "$(VARIANT)"
|
||||||
|
python3 -m tagging.write_manifest \
|
||||||
|
--short-image-name "$(notdir $@)" \
|
||||||
|
--hist-lines-dir /tmp/jupyter/hist_lines/ \
|
||||||
|
--manifests-dir /tmp/jupyter/manifests/ \
|
||||||
|
--registry "$(REGISTRY)" \
|
||||||
|
--owner "$(OWNER)" \
|
||||||
|
--variant "$(VARIANT)"
|
||||||
|
python3 -m tagging.apply_tags \
|
||||||
|
--short-image-name "$(notdir $@)" \
|
||||||
|
--tags-dir /tmp/jupyter/tags/ \
|
||||||
|
--platform "$(shell uname -m)" \
|
||||||
|
--registry "$(REGISTRY)" \
|
||||||
|
--owner "$(OWNER)" \
|
||||||
|
--variant "$(VARIANT)"
|
||||||
hook-all: $(foreach I, $(ALL_IMAGES), hook/$(I)) ## run post-build hooks for all images
|
hook-all: $(foreach I, $(ALL_IMAGES), hook/$(I)) ## run post-build hooks for all images
|
||||||
|
|
||||||
|
|
||||||
@@ -117,5 +134,8 @@ run-sudo-shell/%: ## run bash in interactive mode as root in a stack
|
|||||||
|
|
||||||
|
|
||||||
test/%: ## run tests against a stack
|
test/%: ## run tests against a stack
|
||||||
python3 -m tests.run_tests --short-image-name "$(notdir $@)" --registry "$(REGISTRY)" --owner "$(OWNER)"
|
python3 -m tests.run_tests \
|
||||||
|
--short-image-name "$(notdir $@)" \
|
||||||
|
--registry "$(REGISTRY)" \
|
||||||
|
--owner "$(OWNER)"
|
||||||
test-all: $(foreach I, $(ALL_IMAGES), test/$(I)) ## test all stacks
|
test-all: $(foreach I, $(ALL_IMAGES), test/$(I)) ## test all stacks
|
||||||
|
Reference in New Issue
Block a user