forked from rancher/rke2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
109 changed files
with
5,761 additions
and
2,734 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
^.*\.md$ | ||
^install\.sh$ | ||
^\.droneignore$ | ||
^\.github/*$ | ||
^\.github\/.*$ | ||
^MAINTAINERS$ | ||
^CODEOWNERS$ | ||
^LICENSE$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: 'Setup Vagrant and Libvirt' | ||
description: 'A composite action that installs latest versions of vagrant and libvirt for use on ubuntu based runners' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Add vagrant to apt-get sources | ||
shell: bash | ||
run: | | ||
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg | ||
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list | ||
sudo sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list | ||
- name: Install vagrant and libvirt | ||
shell: bash | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libvirt-daemon libvirt-daemon-system vagrant | ||
sudo systemctl enable --now libvirtd | ||
- name: Build vagrant dependencies | ||
shell: bash | ||
run: | | ||
sudo apt-get build-dep -y vagrant ruby-libvirt | ||
sudo apt-get install -y --no-install-recommends libxslt-dev libxml2-dev libvirt-dev ruby-bundler ruby-dev zlib1g-dev | ||
# This is a workaround for the libvirt group not being available in the current shell | ||
# https://github.com/actions/runner-images/issues/7670#issuecomment-1900711711 | ||
- name: Make the libvirt socket rw accessible to everyone | ||
shell: bash | ||
run: | | ||
sudo chmod a+rw /var/run/libvirt/libvirt-sock | ||
|
||
- name: Install vagrant-libvirt plugin | ||
shell: bash | ||
run: vagrant plugin install vagrant-libvirt |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.