arch-boxes merge requestshttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests2020-09-26T09:14:16Zhttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/118Replace packer with two custom shell scripts2020-09-26T09:14:16ZKristian KlausenReplace packer with two custom shell scripts```
Using actual VMs to build VMs is slow and error-prone (you need to use
VNC to see what is going on, and booting takes over +110 seconds as we
wait to be sure Arch Linux is ready).
build.sh can build all three images in ~135 seconds ...```
Using actual VMs to build VMs is slow and error-prone (you need to use
VNC to see what is going on, and booting takes over +110 seconds as we
wait to be sure Arch Linux is ready).
build.sh can build all three images in ~135 seconds (assuming all the
packages is cached), we still need to use a VM for the actually building
in GitLab CI (as that is the only safe way it can be done at the
moment), which is a bit slower (~22 min vs ~13 min (Packer)), but that
isn't really a big issue.
In the future we can hopefully switch to Kate Containers[1] and reduce
the build time significantly.
[1] https://gitlab.archlinux.org/archlinux/infrastructure/-/issues/108
```
---
~~It is getting late, so I haven't got time to test the whole script (`create_image` isn't tested). It lacks the vagrant images and the box creating logic (probably +100 lines with some inlining).~~
/cc @svenstaro @shibumihttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/117WIP: Use mkosi in place of packer2020-08-30T13:29:51ZKristian KlausenWIP: Use mkosi in place of packerThis hasn't been tested and probably doesn't work at all.
I did remove the `python` and `linux-headers` package. Do we need them?This hasn't been tested and probably doesn't work at all.
I did remove the `python` and `linux-headers` package. Do we need them?https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/116WIP: Use the mirror.pkgbuild.com mirror for all builds2020-08-16T21:46:23ZKristian KlausenWIP: Use the mirror.pkgbuild.com mirror for all buildsBuilds fails from time to time, often due to a out-of-sync or broken
mirror. So let's switch to a reliable:tm: mirror managed by us instead of
rolling the dice on every build.Builds fails from time to time, often due to a out-of-sync or broken
mirror. So let's switch to a reliable:tm: mirror managed by us instead of
rolling the dice on every build.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/115Attempt to use tcg instead of kvm as qemu accelerator2020-08-16T21:45:23ZSven-Hendrik Haasesvenstaro@archlinux.orgAttempt to use tcg instead of kvm as qemu acceleratorIn my tests, this slows down the builds from 4m to 10m per build BUT allows use build
on public non-kvm-enabled builders which gives us the ability to run random MRs on CI.
Additionally, we can now run many builds in parallel.In my tests, this slows down the builds from 4m to 10m per build BUT allows use build
on public non-kvm-enabled builders which gives us the ability to run random MRs on CI.
Additionally, we can now run many builds in parallel.Christian RebischkeChristian Rebischkehttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/114Build the VirtualBox image with the qemu builder and convert it2020-08-16T23:01:14ZKristian KlausenBuild the VirtualBox image with the qemu builder and convert itFix #108
---
~~Only the vmware build success. The libvirt builds fails due to a [artifact](https://github.com/hashicorp/packer/blob/54469c472826ce915a640a3f7bbed76a32e28bf4/post-processor/vagrant/libvirt.go#L67) which is dropped due to...Fix #108
---
~~Only the vmware build success. The libvirt builds fails due to a [artifact](https://github.com/hashicorp/packer/blob/54469c472826ce915a640a3f7bbed76a32e28bf4/post-processor/vagrant/libvirt.go#L67) which is dropped due to `shell-local` (I think), and the virtualbox fails due to a missing OVF file. I think the virtualbox issue is fixable (by adding our own OVF file). I'm not sure abort the libvirt issue, maybe we can "fix" the packer code?~~Sven-Hendrik Haasesvenstaro@archlinux.orgSven-Hendrik Haasesvenstaro@archlinux.orghttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/113WIP: Add test in CI pipeline2020-08-13T20:10:46ZSven-Hendrik Haasesvenstaro@archlinux.orgWIP: Add test in CI pipelineThis is the original MR by @Kppqju77 but with enabled secure runners.This is the original MR by @Kppqju77 but with enabled secure runners.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/112Test MR for release workflow2020-08-12T04:37:57ZSven-Hendrik Haasesvenstaro@archlinux.orgTest MR for release workflowhttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/111revert keeping artifacts2020-08-11T21:32:19ZChristian Rebischkerevert keeping artifactsKeeping artifacts brings us no benefits and the produced artifacts
should never be used, because they consist of vagrant specific
settings.
For building QEMU/Virtualbox images, checkout the cloud.json fileKeeping artifacts brings us no benefits and the produced artifacts
should never be used, because they consist of vagrant specific
settings.
For building QEMU/Virtualbox images, checkout the cloud.json fileChristian RebischkeChristian Rebischkehttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/110Remove outdated warning about SSD capabilities2020-08-11T21:37:14ZSven-Hendrik Haasesvenstaro@archlinux.orgRemove outdated warning about SSD capabilitiesThis is a problem from earlier times. :)This is a problem from earlier times. :)Christian RebischkeChristian Rebischkehttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/109Store raw VM disks2020-08-11T08:49:38ZSven-Hendrik Haasesvenstaro@archlinux.orgStore raw VM disksGoing forward, it makes sense to host these raw images as well as there are some use cases for that.
For instance, what if you don't want to use vagrant but instead just use the raw images in qemu directly?Going forward, it makes sense to host these raw images as well as there are some use cases for that.
For instance, what if you don't want to use vagrant but instead just use the raw images in qemu directly?https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/108Improve disk compaction by trimming the disk2020-08-15T06:16:14ZKristian KlausenImprove disk compaction by trimming the disk```
This only affect the qemu and virtualbox image. I'm not sure how you
enable trim support in VMware and the documentation is spare.
Tested with: packer build -only=qemu local.json
698M Arch-Linux-x86_64-libvirt-2020-08-01.box <- befo...```
This only affect the qemu and virtualbox image. I'm not sure how you
enable trim support in VMware and the documentation is spare.
Tested with: packer build -only=qemu local.json
698M Arch-Linux-x86_64-libvirt-2020-08-01.box <- before
425M Arch-Linux-x86_64-libvirt-2020-08-01.box <- after
Fix #106
```
---
I haven't been able to test this with VirtualBox as it crash (guru meditation).
I did consider removing the `write_zeroes` logic, but it could still be useful for VMware users. Should we remove it?Christian RebischkeChristian Rebischkehttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/107Add test in CI pipeline2020-11-20T00:52:40ZjuaddeAdd test in CI pipelineAdd basic ssh connectivity test and reflector trigerringAdd basic ssh connectivity test and reflector trigerringSven-Hendrik Haasesvenstaro@archlinux.orgChristian RebischkeSven-Hendrik Haasesvenstaro@archlinux.orghttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/104generate fstab with UUIDs2020-05-29T19:20:27ZSven-Hendrik Haasesvenstaro@archlinux.orggenerate fstab with UUIDs*Created by: veecue*
Vagrant has experimental support for adding SATA disks. Although this
box does not support that yet (at least for the virtualbox provider,
since no AHCI storage controller with the name "SATA Controller" is
inclu...*Created by: veecue*
Vagrant has experimental support for adding SATA disks. Although this
box does not support that yet (at least for the virtualbox provider,
since no AHCI storage controller with the name "SATA Controller" is
included), it is possible to add another disk. This causes a boot
failure in some circumstances because although the root is set to a UUID
in the kernel cmdline, systemd's fsck still looks for /dev/sda as stated
in /etc/fstab.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/97Improve pacstrap download speed with reflector2020-03-21T11:24:33ZSven-Hendrik Haasesvenstaro@archlinux.orgImprove pacstrap download speed with reflector*Created by: tteaka*
I put this in my fork, to speed up the build of my box.
Please, as you don't have automated test for images, try it first before a potential approvement.
I tested it only with virtualbox.*Created by: tteaka*
I put this in my fork, to speed up the build of my box.
Please, as you don't have automated test for images, try it first before a potential approvement.
I tested it only with virtualbox.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/95Fix #94 Build timeout2020-02-29T12:32:01ZSven-Hendrik Haasesvenstaro@archlinux.orgFix #94 Build timeout*Created by: juadde*
Fixes #94 *Created by: juadde*
Fixes #94 https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/93Support specifying a mirror2020-03-01T00:07:22ZSven-Hendrik Haasesvenstaro@archlinux.orgSupport specifying a mirror*Created by: klausenbusk*
Note: The mirror is only used under the bootstrapping process, the
image contains the default mirrorlist with every server uncommented.
Fix #87*Created by: klausenbusk*
Note: The mirror is only used under the bootstrapping process, the
image contains the default mirrorlist with every server uncommented.
Fix #87https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/85Fix typo for ISO fetching in packer templates2020-02-23T11:55:48ZSven-Hendrik Haasesvenstaro@archlinux.orgFix typo for ISO fetching in packer templates*Created by: juadde*
Sorry for the typo in the previous local & cloud.json for the iso fetching.*Created by: juadde*
Sorry for the typo in the previous local & cloud.json for the iso fetching.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/84Fix packer issues for SSH timeout and iso fetching2020-02-20T13:06:00ZSven-Hendrik Haasesvenstaro@archlinux.orgFix packer issues for SSH timeout and iso fetching*Created by: juadde*
Hello,
ssh_wait_timeout became ssh_timeout for latest packer version, I also updated the JSONs for latest iso fetching.
Packer needs to be updated in archlinux repos from 1.5.1 to 1.5.4.
Please let me know if the...*Created by: juadde*
Hello,
ssh_wait_timeout became ssh_timeout for latest packer version, I also updated the JSONs for latest iso fetching.
Packer needs to be updated in archlinux repos from 1.5.1 to 1.5.4.
Please let me know if there is anything wrong with PR.
https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/102lock root account via setting an invalid password2020-05-10T00:20:54ZSven-Hendrik Haasesvenstaro@archlinux.orglock root account via setting an invalid password*Created by: shibumi*
*Created by: shibumi*
https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/74Add netctl for vagrant networking capabilities2020-01-13T18:24:03ZSven-Hendrik Haasesvenstaro@archlinux.orgAdd netctl for vagrant networking capabilities*Created by: juadde*
Hello, could we put netctl as part of the installation process as the current vagrant makes use of it for networking ?
We'll need to revert this once the networking capability will be switched to systemd-networkd.
...*Created by: juadde*
Hello, could we put netctl as part of the installation process as the current vagrant makes use of it for networking ?
We'll need to revert this once the networking capability will be switched to systemd-networkd.
This would fix #70.