diff options
author | Kristian Klausen <kristian@klausen.dk> | 2020-08-15 15:22:09 +0200 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2020-08-16 22:43:11 +0000 |
commit | ae03f87e58aeec9e94c054027c6a60e833532048 (patch) | |
tree | 1b21087f4b70916bdd4cf7776524f1329ea889d9 /.gitlab-ci.yml | |
parent | e455f1b1adb33d710feb267eb7d8f4cd7f0a2553 (diff) |
Build the VirtualBox image with the qemu builder and convert it
Fix #108
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e34970b..89fa28d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,6 +47,15 @@ build:cloud-qemu: - "Arch-Linux-x86_64-cloudimg-*.*" expire_in: 2d +build:vagrant-virtualbox: + stage: build + tags: + - ipv6 + before_script: + - pacman -Syu --needed --noconfirm packer qemu-headless + script: + - packer build -only=virtualbox -except publish vagrant.json + build:vagrant-qemu: stage: build tags: @@ -54,7 +63,7 @@ build:vagrant-qemu: before_script: - pacman -Syu --needed --noconfirm packer qemu-headless script: - - packer build -only=qemu -except publish vagrant.json + - packer build -only=libvirt -except publish vagrant.json publish: stage: publish @@ -62,7 +71,7 @@ publish: - ipv6 - secure before_script: - - pacman -Syu --needed --noconfirm qemu-headless virtualbox packer + - pacman -Syu --needed --noconfirm qemu-headless packer script: - packer build -var "vagrant_cloud_token=$VAGRANT_API_TOKEN" vagrant.json only: |