Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions lib/vanagon/platform/defaults/fedora-42-aarch64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
platform 'fedora-42-aarch64' do |plat|
plat.servicedir '/usr/lib/systemd/system'
plat.defaultdir '/etc/sysconfig'
plat.servicetype 'systemd'
plat.dist 'fc42'

packages = %w(
autoconf
automake
binutils
bzip2-devel
cmake
curl
gcc
gcc-c++
libselinux-devel
libsepol
libsepol-devel
make
perl-lib
perl-FindBin
pkgconfig
readline-devel
rpmdevtools
rsync
swig
systemtap-sdt-devel
systemtap-sdt-dtrace
systemd
which
zlib-devel
)
plat.provision_with("/usr/bin/dnf install -y --best --allowerasing #{packages.join(' ')}")

plat.install_build_dependencies_with '/usr/bin/dnf install -y --best --allowerasing'
plat.vmpooler_template 'fedora-42-aarch64'
plat.docker_image "fedora:42"
plat.docker_arch 'linux/arm64'
end
39 changes: 39 additions & 0 deletions lib/vanagon/platform/defaults/fedora-42-x86_64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
platform 'fedora-42-x86_64' do |plat|
plat.servicedir '/usr/lib/systemd/system'
plat.defaultdir '/etc/sysconfig'
plat.servicetype 'systemd'
plat.dist 'fc42'

packages = %w(
autoconf
automake
binutils
bzip2-devel
cmake
curl
gcc
gcc-c++
libselinux-devel
libsepol
libsepol-devel
make
perl-lib
perl-FindBin
pkgconfig
readline-devel
rpmdevtools
rsync
swig
systemtap-sdt-devel
systemtap-sdt-dtrace
systemd
which
zlib-devel
)
plat.provision_with("/usr/bin/dnf install -y --best --allowerasing #{packages.join(' ')}")

plat.install_build_dependencies_with '/usr/bin/dnf install -y --best --allowerasing'
plat.vmpooler_template 'fedora-42-x86_64'
plat.docker_image "fedora:42"
plat.docker_arch 'linux/amd64'
end
2 changes: 1 addition & 1 deletion lib/vanagon/platform/windows.rb
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def generate_nuget_package(project) # rubocop:disable Metrics/AbcSize
#
# @param project [Vanagon::Project] project to build a msi package of
# @return [Array] list of commands required to build an msi package for the given project from a tarball
def generate_msi_package(project) # rubocop:disable Metrics/AbcSize
def generate_msi_package(project) # rubocop:disable Metrics/AbcSize, Metrics/PerceivedComplexity
target_dir = project.repo ? output_dir(project.repo) : output_dir
wix_extensions = "-ext WiXUtilExtension -ext WixUIExtension"
# Heat command documentation at: http://wixtoolset.org/documentation/manual/v3/overview/heat.html
Expand Down