Skip to content

Commit ccb5072

Browse files
Merge pull request #154 from MonolithProjects/develop
Develop to Master
2 parents 56201a1 + 251abb4 commit ccb5072

File tree

6 files changed

+13
-10
lines changed

6 files changed

+13
-10
lines changed

.github/workflows/tests.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,27 @@ on:
55
types:
66
- opened
77
- reopened
8+
- synchronize
89
branches:
910
- 'master'
10-
- 'develop'
11-
- 'feature/**'
1211
schedule:
1312
- cron: '0 6 * * 0'
1413
workflow_dispatch:
1514

15+
env:
16+
MOLECULE_DOCKER_VOLUMES: ro
17+
MOLECULE_DOCKER_CGROUPS_MODE: private
18+
1619
jobs:
1720
repo:
1821
name: Test Repo Runner
1922
environment:
2023
name: test
21-
runs-on: ubuntu-22.04
24+
runs-on: ubuntu-20.04
2225
strategy:
2326
fail-fast: false
2427
matrix:
2528
config:
26-
- os: "debian9"
27-
tag: "latest"
28-
- os: "debian10"
29-
tag: "latest"
3029
- os: "debian11"
3130
tag: "latest"
3231
- os: "fedora37"
@@ -56,7 +55,7 @@ jobs:
5655
name: Test Org Runner
5756
environment:
5857
name: test
59-
runs-on: ubuntu-22.04
58+
runs-on: ubuntu-20.04
6059
strategy:
6160
fail-fast: false
6261
steps:

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ Personal Access Token for GitHub account can be created [here](https://github.co
3535

3636
* ARM, ARM64 (dependencies installation is not covered by this role)
3737
* AMD64, x86_64
38-
## Tested on:
38+
## Weekly tested on:
3939

40-
* Debian 9,10,11
40+
* Debian 11
4141
* Fedora 37
4242
* Rocky Linux 8
4343
* Ubuntu 20,22

molecule/custom_env/molecule.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ driver:
1818
platforms:
1919
- name: "${os:-ubuntu20}-${tag:-latest}"
2020
image: "${namespace:-monolithprojects}/systemd-${os:-ubuntu20}:${tag:-latest}"
21+
command: /sbin/init
2122
volumes:
2223
- "/sys/fs/cgroup:/sys/fs/cgroup:${MOLECULE_DOCKER_VOLUMES:-ro}" # Use "ro" for cgroup v1 and "rw" for cgroup v2
2324
cgroupns_mode: ${MOLECULE_DOCKER_CGROUPS_MODE:-"private"} # Use "private" for cgroup v1 and "host" for cgroup v2

molecule/default/molecule.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ driver:
1818
platforms:
1919
- name: "${os:-ubuntu20}-${tag:-latest}"
2020
image: "${namespace:-monolithprojects}/systemd-${os:-ubuntu20}:${tag:-latest}"
21+
command: /sbin/init
2122
volumes:
2223
- "/sys/fs/cgroup:/sys/fs/cgroup:${MOLECULE_DOCKER_VOLUMES:-ro}" # Use "ro" for cgroup v1 and "rw" for cgroup v2
2324
cgroupns_mode: ${MOLECULE_DOCKER_CGROUPS_MODE:-"private"} # Use "private" for cgroup v1 and "host" for cgroup v2

molecule/org/molecule.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ driver:
1515
platforms:
1616
- name: "${os:-ubuntu20}-${tag:-latest}"
1717
image: "${namespace:-monolithprojects}/systemd-${os:-ubuntu20}:${tag:-latest}"
18+
command: /sbin/init
1819
volumes:
1920
- "/sys/fs/cgroup:/sys/fs/cgroup:${MOLECULE_DOCKER_VOLUMES:-ro}" # Use "ro" for cgroup v1 and "rw" for cgroup v2
2021
cgroupns_mode: ${MOLECULE_DOCKER_CGROUPS_MODE:-"private"} # Use "private" for cgroup v1 and "host" for cgroup v2

molecule/repo/molecule.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ driver:
1515
platforms:
1616
- name: "${os:-ubuntu20}-${tag:-latest}"
1717
image: "${namespace:-monolithprojects}/systemd-${os:-ubuntu20}:${tag:-latest}"
18+
command: /sbin/init
1819
volumes:
1920
- "/sys/fs/cgroup:/sys/fs/cgroup:${MOLECULE_DOCKER_VOLUMES:-ro}" # Use "ro" for cgroup v1 and "rw" for cgroup v2
2021
cgroupns_mode: ${MOLECULE_DOCKER_CGROUPS_MODE:-"private"} # Use "private" for cgroup v1 and "host" for cgroup v2

0 commit comments

Comments
 (0)