Skip to content

Action allowing running command-line programs via bash shell of VMs provisioned with Vagrant using the run keyword.

License

Notifications You must be signed in to change notification settings

hummeltech/vagrant-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant Action

The value for runs-on must either be set to macos-13 or ubuntu-latest in order to use this action.

This action allows the running of command-line programs via the bash shell of VMs provisioned with Vagrant using the run keyword. This also works with composite actions which exclusively use the run keyword (and/or call other composite actions which also do so.)

This action is currently only tested with these boxes (but will probably also work with others):

  • generic/arch

Usage

  1. Provision a VM using the specified box (with 2 CPUs & 2GB of RAM)
    - name: Provision VM
      uses: hummeltech/vagrant-action@v1
      with:
        box: generic/arch
        cpus: 2
        memory: 2048
  2. Execute a command using the run keyword
    - name: Display the contents of /etc/os-release
      run: cat /etc/os-release

About

Action allowing running command-line programs via bash shell of VMs provisioned with Vagrant using the run keyword.

Resources

License

Stars

Watchers

Forks

Packages

No packages published