update vagrant image for fc39, fc40 and ubuntu24.04 (#3042)

* update test distribution
* add skip file to avoid mysql tests
* add ubuntu 24.04
This commit is contained in:
Manuel Sabban 2024-05-31 15:56:13 +02:00 committed by GitHub
parent b8ee31ade2
commit 95bc5880f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 30 additions and 4 deletions

View file

@ -1,8 +1,7 @@
# frozen_string_literal: true
Vagrant.configure('2') do |config|
# config.vm.box = "fedora/33-cloud-base"
config.vm.box = 'generic/fedora33'
config.vm.box = "fedora/39-cloud-base"
config.vm.provision "shell", inline: <<-SHELL
SHELL
end

View file

@ -0,0 +1,9 @@
#!/bin/sh
die() {
echo "$@" >&2
exit 1
}
[ "${DB_BACKEND}" = "mysql" ] && die "mysql role does not support this distribution"
exit 0

View file

@ -1,8 +1,7 @@
# frozen_string_literal: true
Vagrant.configure('2') do |config|
# config.vm.box = "fedora/34-cloud-base"
config.vm.box = 'generic/fedora34'
config.vm.box = "fedora/39-cloud-base"
config.vm.provision "shell", inline: <<-SHELL
SHELL
end

View file

@ -0,0 +1,9 @@
#!/bin/sh
die() {
echo "$@" >&2
exit 1
}
[ "${DB_BACKEND}" = "mysql" ] && die "mysql role does not support this distribution"
exit 0

View file

@ -0,0 +1,10 @@
# frozen_string_literal: true
Vagrant.configure('2') do |config|
config.vm.box = 'alvistack/ubuntu-24.04'
config.vm.provision "shell", inline: <<-SHELL
SHELL
end
common = '../common'
load common if File.exist?(common)