Files @ 7756715a1bdc
Branch filter:

Location: gimmecert/Vagrantfile

branko
GC-50: Fix testing on Vagrant machine:

- Some archives that were previously in use by Debian 11 Bullseye are
now gone, resulting in errors during provisioning. Switch to Debian
12 Bookworm instead.
- Increase amount of memory allocated to test machine - default is
not enough.
- Increase the number of CPUs allocated to test machine to speed-up
compilation times.
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
# Copyright (C) 2018, 2020, 2024, 2025 Branko Majic
#
# This file is part of Gimmecert.
#
# Gimmecert is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Gimmecert is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# Gimmecert.  If not, see <http://www.gnu.org/licenses/>.
#


# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
  config.vm.box = "debian/bookworm64"
  config.vm.hostname = "gimmecert-testing"

  config.vm.provider "virtualbox" do |vb|
    vb.memory = "1536"
    vb.cpus = 2
  end

  config.vm.provision "shell", path: "provision.sh"
end