firecracker-microvm / firectl

firectl is a command-line tool to run Firecracker microVMs
Apache License 2.0
479 stars 72 forks source link

Give firectl tests a default firecracker via PATH #48

Closed nmeyerhans closed 4 years ago

nmeyerhans commented 4 years ago

By default, firectl (and its tests) will look for a "firecracker" binary via PATH. On our CI hosts, such a binary doesn't exist. Several versions of firecracker are installed, with filenames suffixed by a version string. This change adds some commands to the relevant pipeline steps to copy a version-specific set of firecracker binaries to a run-specific PATH. Cleanup is performed after the pipeline completes.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.