Skip to contentSkip to conversation

Vagrant-based OpenVPN build environments now available

Openvpn-devel Samuli Seppänen 1 participant 1 message Nov 28, 2017

lore
Share & tools
lore
#0 lore raw

Hi all,

It is now possible to easily test building of OpenVPN on various operating systems using Vagrant and Virtualbox:

<https://github.com/OpenVPN/openvpn-vagrant>

All the build dependencies get installed during VM provisioning. Right now the following operating systems are supported:

centos-7
debian-9
freebsd-11
openbsd-6
ubuntu-1604
netbsd-7
solaris-113 (see recipes/Solaris113.txt)

The goal is to allow any developer to test his code on platforms other than his/her own.

There is also a VM called "openvpn-build". It can be used to cross-compile OpenVPN for Windows.

We plan to provide a test server VM next. It will run several OpenVPN server instances with varying configurations, something akin to current t_client test server. Later on we will attempt to integrate "testing:
Add vagrant based integration tests" PR[1] to this new repository. This will make testing more automatic. At this point the setup will be quite similar to Buildbot, but usable by "external" developers also.

The provisioning scripts in the repository can also be used to configure more long-running test instances: there is nothing inherently Vagrant-specific in them.

Signature · 7 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

[1] <https://github.com/OpenVPN/openvpn/pull/45>