test: Prepare VM image without networking
This ensures that we stay independent from any changes that go on in online repositories, and our mock/pbuilders are sufficiently pre-cached. Drop the explicit install of `cockpit-ws` -- all our bots images have it pre-installed.
This commit is contained in:
parent
052eb5d57a
commit
90ae15d812
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
|
@ -118,9 +118,10 @@ rpm: $(TARFILE) $(NODE_CACHE) $(SPEC)
|
|||
rm -r "`pwd`/output" "`pwd`/build"
|
||||
|
||||
# build a VM with locally built distro pkgs installed
|
||||
# disable networking, VM images have mock/pbuilder with the common build dependencies pre-installed
|
||||
$(VM_IMAGE): $(TARFILE) $(NODE_CACHE) bots
|
||||
bots/image-customize --verbose --fresh --upload $(NODE_CACHE):/var/tmp/ --build $(TARFILE) \
|
||||
--install cockpit-ws \
|
||||
bots/image-customize --verbose --no-network --fresh \
|
||||
--upload $(NODE_CACHE):/var/tmp/ --build $(TARFILE) \
|
||||
--script $(CURDIR)/test/vm.install $(TEST_OS)
|
||||
|
||||
# convenience target for the above
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue