Changeset - 7756715a1bdc
[Not reviewed]
0 2 0
Branko Majic (branko) - 3 months ago 2025-09-06 10:42:48
branko@majic.rs
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.
2 files changed with 7 insertions and 2 deletions:
0 comments (0 inline, 0 general)
Vagrantfile
Show inline comments
 
@@ -25,8 +25,13 @@
 
# backwards compatibility). Please don't change it unless you know what
 
# you're doing.
 
Vagrant.configure("2") do |config|
 
  config.vm.box = "debian/bullseye64"
 
  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
provision.sh
Show inline comments
 
@@ -84,7 +84,7 @@ for version in "${python_versions[@]}"; do
 
        sudo -i -u vagrant <<< "cd ${source}; ./configure --quiet"
 

	
 
        echo "Building..."
 
        sudo -i -u vagrant make --quiet -C "$source" -j3
 
        sudo -i -u vagrant make --quiet -C "$source" -j4
 

	
 
        echo "Installing..."
 
        make --quiet -C "$source" altinstall
0 comments (0 inline, 0 general)