Travis: Run script directly on host system w/o alpine-chroot-install
This commit is contained in:
parent
c50b9100a1
commit
7b64749745
2 changed files with 15 additions and 6 deletions
12
.travis.yml
12
.travis.yml
|
@ -1,18 +1,18 @@
|
||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
language: minimal
|
language: minimal
|
||||||
before_install:
|
addons:
|
||||||
- "wget 'https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.6.0/alpine-chroot-install' \
|
apt:
|
||||||
&& echo 'a827a4ba3d0817e7c88bae17fe34e50204983d1e alpine-chroot-install' | sha1sum -c || exit 1"
|
packages:
|
||||||
install:
|
- qemu-utils
|
||||||
- sudo sh alpine-chroot-install -b v3.6
|
|
||||||
before_script:
|
before_script:
|
||||||
- sudo modprobe nbd
|
- sudo modprobe nbd
|
||||||
script:
|
script:
|
||||||
- /alpine/enter-chroot ./alpine-make-vm-image
|
- sudo ./alpine-make-vm-image
|
||||||
--image-format qcow2
|
--image-format qcow2
|
||||||
--image-size 2G
|
--image-size 2G
|
||||||
--repositories-file example/repositories
|
--repositories-file example/repositories
|
||||||
|
--keys-dir example/keys
|
||||||
--packages "$(cat example/packages)"
|
--packages "$(cat example/packages)"
|
||||||
--script-chroot
|
--script-chroot
|
||||||
alpine-virthardened-$(date +%Y-%m-%d).qcow2 -- ./example/configure.sh
|
alpine-virthardened-$(date +%Y-%m-%d).qcow2 -- ./example/configure.sh
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
-----BEGIN PUBLIC KEY-----
|
||||||
|
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1yHJxQgsHQREclQu4Ohe
|
||||||
|
qxTxd1tHcNnvnQTu/UrTky8wWvgXT+jpveroeWWnzmsYlDI93eLI2ORakxb3gA2O
|
||||||
|
Q0Ry4ws8vhaxLQGC74uQR5+/yYrLuTKydFzuPaS1dK19qJPXB8GMdmFOijnXX4SA
|
||||||
|
jixuHLe1WW7kZVtjL7nufvpXkWBGjsfrvskdNA/5MfxAeBbqPgaq0QMEfxMAn6/R
|
||||||
|
L5kNepi/Vr4S39Xvf2DzWkTLEK8pcnjNkt9/aafhWqFVW7m3HCAII6h/qlQNQKSo
|
||||||
|
GuH34Q8GsFG30izUENV9avY7hSLq7nggsvknlNBZtFUcmGoQrtx3FmyYsIC8/R+B
|
||||||
|
ywIDAQAB
|
||||||
|
-----END PUBLIC KEY-----
|
Loading…
Reference in a new issue