-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump python to 3.9 * bump ansible & molecule versions * use new `cgroupns_mode` feature in molecule after cgroups v2 upgrade in docker on Github actions [1] [1] https://www.jeffgeerling.com/blog/2022/docker-and-systemd-getting-rid-dreaded-failed-connect-bus-error
- Loading branch information
Showing
4 changed files
with
14 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.8 | ||
python-version: 3.9 | ||
- uses: pre-commit/[email protected] | ||
|
||
readme: | ||
|
@@ -30,7 +30,7 @@ jobs: | |
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
python-version: 3.9 | ||
|
||
- name: Install requirements | ||
run: pip install -r requirements.txt | ||
|
@@ -60,10 +60,10 @@ jobs: | |
with: | ||
path: ${{ env.galaxy-name }} | ||
|
||
- name: Set up Python 3.8 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
python-version: 3.9 | ||
|
||
- name: Upgrade pip | ||
run: | | ||
|
@@ -82,8 +82,9 @@ jobs: | |
# See https://github.com/geerlingguy/raspberry-pi-dramble/issues/166 | ||
- name: Force GitHub Actions' docker daemon to use vfs. | ||
run: | | ||
sudo apt install -y jq | ||
sudo systemctl stop docker | ||
echo '{"cgroup-parent":"/actions_job","storage-driver":"vfs"}' | sudo tee /etc/docker/daemon.json | ||
echo '{ "exec-opts": ["native.cgroupdriver=cgroupfs"], "cgroup-parent": "/actions_job", "storage-driver":"vfs"}' | sudo tee /etc/docker/daemon.json | ||
sudo systemctl start docker | ||
- name: Run molecule | ||
|
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
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