capistrano / sshkit

A toolkit for deploying code and assets to servers in a repeatable, testable, reliable way.
MIT License
1.13k stars 253 forks source link

CI: Use newer Vagrant box to address timeout issues #517

Closed mattbrictson closed 1 year ago

mattbrictson commented 1 year ago

We were using an extremely old Vagrant box for functional tests. Booting this Vagrant box would often fail with timeout errors in CI. This PR is attempt to fix the problem with the following changes:

  1. Upgrade the box to bento/ubuntu-22.10
  2. Increase the timeout to 10 minutes
  3. Rotate the GitHub Actions cache key so that we are using a fresh, empty cache for Vagrant

I also increased MaxAuthTries to fix authentication failures I was seeing when trying to run functional tests locally.