summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-08-25 12:21:37 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-25 12:24:32 -0700
commit3b2e50f539457556c33ea635b401a4f52e6a5274 (patch)
tree4e61a9fc8e011a31aa157242ffb7da61ed2bc555 /Makefile
parentb0c53f8475d14606ef82aeddfb2f742269c1b5b7 (diff)
Include shim in individual released binaries.
The debian rules are also moved to the top-level, since they apply to binaries outside the //runsc directory. Fixes #3665 PiperOrigin-RevId: 328379709
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fdbc6fb41..43a243c90 100644
--- a/Makefile
+++ b/Makefile
@@ -114,7 +114,7 @@ runsc: ## Builds the runsc binary.
.PHONY: runsc
debian: ## Builds the debian packages.
- @$(call submake,build OPTIONS="-c opt" TARGETS="//runsc:runsc-debian")
+ @$(call submake,build OPTIONS="-c opt" TARGETS="//debian:debian")
.PHONY: debian
smoke-tests: ## Runs a simple smoke test after build runsc.
@@ -301,8 +301,10 @@ $(RELEASE_KEY):
release: $(RELEASE_KEY) ## Builds a release.
@mkdir -p $(RELEASE_ROOT)
@T=$$(mktemp -d /tmp/release.XXXXXX); \
- $(call submake,copy TARGETS="runsc" DESTINATION=$$T) && \
- $(call submake,copy TARGETS="runsc:runsc-debian" DESTINATION=$$T) && \
+ $(call submake,copy TARGETS="//runsc:runsc" DESTINATION=$$T) && \
+ $(call submake,copy TARGETS="//shim/v1:gvisor-containerd-shim" DESTINATION=$$T) && \
+ $(call submake,copy TARGETS="//shim/v2:containerd-shim-runsc-v1" DESTINATION=$$T) && \
+ $(call submake,copy TARGETS="//debian:debian" DESTINATION=$$T) && \
NIGHTLY=$(RELEASE_NIGHTLY) tools/make_release.sh $(RELEASE_KEY) $(RELEASE_ROOT) $$T/*; \
rc=$$?; rm -rf $$T; exit $$rc
.PHONY: release