Skip to content

Commit

Permalink
Makefile: add cross-tar to cross-packages
Browse files Browse the repository at this point in the history
Also build the "distroless" binary tarball with the corss-packages
target similar to the deb and rpm packages.

Also, change packaging-tests target to depend on cross-packages so that
it also tests the binary tarball. Even if it currently only tests the
buildability of the tarball as there is no actual e2e test to install
and verify it. Adding a packaging e2e-test for the binary tarball is
left as a future exercise.
  • Loading branch information
marquiz committed Dec 13, 2022
1 parent ef35ade commit 612eee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -451,7 +451,7 @@ e2e-tests: build-static
exit 1; \
fi

packaging-tests: cross-deb cross-rpm
packaging-tests: cross-packages
$(Q)for dir in test/e2e/packages.test-suite/*; do \
cleanup=1 omit_agent=1 $(E2E_RUN) $$dir; \
echo "--------------------------------------"; \
Expand Down Expand Up @@ -480,7 +480,7 @@ else
packages: cross-$(DISTRO_PACKAGE).$(DISTRO_ID)
endif

cross-packages: cross-rpm cross-deb
cross-packages: cross-rpm cross-deb cross-tar

cross-rpm: $(foreach d,$(SUPPORTED_RPM_DISTROS),cross-rpm.$(d))

Expand Down

0 comments on commit 612eee3

Please sign in to comment.