Skip to content

Commit

Permalink
Docker cgroup fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo13 committed Jan 1, 2024
1 parent c94d057 commit b9636f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

defaults:
run:
working-directory: 'apollo13.borgbackup'
working-directory: apollo13.borgbackup

jobs:
test:
Expand Down Expand Up @@ -43,3 +43,6 @@ jobs:
- name: Molecule test
run: molecule test
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
5 changes: 2 additions & 3 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ role_name_check: 1
dependency:
name: galaxy
driver:
name: docker
name: podman
platforms:
- &platform_defaults
name: borg
Expand All @@ -15,9 +15,8 @@ platforms:
override_command: false
networks:
- name: borgbackup_molecule
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
- /sys/fs/cgroup:/sys/fs/cgroup:ro
tmpfs:
# disabled because it is mounted as noexec which breaks the borg upstream binary
# - /tmp
Expand Down

0 comments on commit b9636f2

Please sign in to comment.