File tree 8 files changed +34
-47
lines changed
8 files changed +34
-47
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ Click on `fork` on the top-right corner and fork the repository.
18
18
## 3. Install pre-commit
19
19
20
20
Install [ Pre-commit] ( https://pre-commit.com/#install ) software
21
+
21
22
## 4. Make the changes
22
23
23
24
Do the changes in your own GitHub namespace.
@@ -38,6 +39,6 @@ molecule test
38
39
39
40
## 6. Create a pull request
40
41
41
- Please create a pull request into the ` master ` branch. Here is [ how to do it] ( https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork ) .
42
+ Please create a pull request into the ` develop ` branch. Here is [ how to do it] ( https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork ) .
42
43
43
44
Please consider to [ sponsor] ( https://github.com/sponsors/monolithprojects ) me :-)
Original file line number Diff line number Diff line change 1
1
name : molecule test
2
2
3
3
on :
4
- pull_request_review :
5
- types :
6
- - submitted
7
4
pull_request :
8
5
types :
9
- - assigned
6
+ - opened
7
+ - reopened
8
+ branches :
9
+ - ' master'
10
+ - ' develop'
11
+ - ' feature/**'
10
12
schedule :
11
13
- cron : ' 0 6 * * 0'
12
14
workflow_dispatch :
16
18
name : Test Repo Runner
17
19
environment :
18
20
name : test
19
- runs-on : ubuntu-18 .04
21
+ runs-on : ubuntu-22 .04
20
22
strategy :
21
23
fail-fast : false
22
24
matrix :
27
29
tag : " latest"
28
30
- os : " debian11"
29
31
tag : " latest"
30
- - os : " fedora35 "
32
+ - os : " fedora37 "
31
33
tag : " latest"
32
34
- os : " ubuntu20"
33
35
tag : " latest"
54
56
name : Test Org Runner
55
57
environment :
56
58
name : test
57
- runs-on : ubuntu-18 .04
59
+ runs-on : ubuntu-22 .04
58
60
strategy :
59
61
fail-fast : false
60
62
steps :
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ Personal Access Token for GitHub account can be created [here](https://github.co
38
38
## Tested on:
39
39
40
40
* Debian 9,10,11
41
- * Fedora 35
41
+ * Fedora 37
42
42
* Rocky Linux 8
43
- * Ubuntu 18,20
43
+ * Ubuntu 20,22
44
44
45
45
** Note:** Fedora 32+ and Ubuntu 20 must use Ansible 2.9.8+. Other distros/releases will work also with older 2.8.0+ Ansible.
46
46
@@ -96,10 +96,6 @@ runner_extra_config_args: ""
96
96
# Name to assign to this runner in GitHub (System hostname as default)
97
97
runner_name : " {{ ansible_hostname }}"
98
98
99
- # Custom service name when using Github Enterprise server
100
- # DEPRECATED: this variable is deprecated in favor of "runner_on_ghes" and will be removed in release 1.15.
101
- # service_name: actions.runner._services.{{ runner_name }}.service
102
-
103
99
# GitHub Repository user or Organization owner used for Runner registration
104
100
# github_account: "youruser"
105
101
Original file line number Diff line number Diff line change @@ -18,14 +18,11 @@ driver:
18
18
platforms :
19
19
- name : " ${os:-ubuntu20}-${tag:-latest}"
20
20
image : " ${namespace:-monolithprojects}/systemd-${os:-ubuntu20}:${tag:-latest}"
21
- command : /sbin/init
22
- tmpfs :
23
- - /run
24
- - /tmp
25
21
volumes :
26
- - /sys/fs/cgroup:/sys/fs/cgroup:ro
27
- privileged : yes
28
- pre_build_image : yes
22
+ - " /sys/fs/cgroup:/sys/fs/cgroup:${MOLECULE_DOCKER_VOLUMES:-ro}" # Use "ro" for cgroup v1 and "rw" for cgroup v2
23
+ cgroupns_mode : ${MOLECULE_DOCKER_CGROUPS_MODE:-"private"} # Use "private" for cgroup v1 and "host" for cgroup v2
24
+ privileged : true
25
+ pre_build_image : true
29
26
verifier :
30
27
name : ansible
31
28
scenario :
Original file line number Diff line number Diff line change 8
8
- runner_user : ansible
9
9
- github_repo : ansible-github_actions_runner-testrepo
10
10
- github_account : monolithprojects-testorg
11
- - runner_version : latest
11
+ - runner_version : " latest"
12
12
- runner_name : test_name
13
13
- runner_on_ghes : yes
14
14
- reinstall_runner : false
Original file line number Diff line number Diff line change @@ -18,14 +18,11 @@ driver:
18
18
platforms :
19
19
- name : " ${os:-ubuntu20}-${tag:-latest}"
20
20
image : " ${namespace:-monolithprojects}/systemd-${os:-ubuntu20}:${tag:-latest}"
21
- command : /sbin/init
22
- tmpfs :
23
- - /run
24
- - /tmp
25
21
volumes :
26
- - /sys/fs/cgroup:/sys/fs/cgroup:ro
27
- privileged : yes
28
- pre_build_image : yes
22
+ - " /sys/fs/cgroup:/sys/fs/cgroup:${MOLECULE_DOCKER_VOLUMES:-ro}" # Use "ro" for cgroup v1 and "rw" for cgroup v2
23
+ cgroupns_mode : ${MOLECULE_DOCKER_CGROUPS_MODE:-"private"} # Use "private" for cgroup v1 and "host" for cgroup v2
24
+ privileged : true
25
+ pre_build_image : true
29
26
verifier :
30
27
name : ansible
31
28
scenario :
Original file line number Diff line number Diff line change @@ -13,16 +13,13 @@ lint: |
13
13
driver :
14
14
name : docker
15
15
platforms :
16
- - name : " ${os:-ubuntu16}-${tag:-latest}"
17
- image : " ${namespace:-monolithprojects}/systemd-${os:-ubuntu16}:${tag:-latest}"
18
- command : /sbin/init
19
- tmpfs :
20
- - /run
21
- - /tmp
16
+ - name : " ${os:-ubuntu20}-${tag:-latest}"
17
+ image : " ${namespace:-monolithprojects}/systemd-${os:-ubuntu20}:${tag:-latest}"
22
18
volumes :
23
- - /sys/fs/cgroup:/sys/fs/cgroup:ro
24
- privileged : yes
25
- pre_build_image : yes
19
+ - " /sys/fs/cgroup:/sys/fs/cgroup:${MOLECULE_DOCKER_VOLUMES:-ro}" # Use "ro" for cgroup v1 and "rw" for cgroup v2
20
+ cgroupns_mode : ${MOLECULE_DOCKER_CGROUPS_MODE:-"private"} # Use "private" for cgroup v1 and "host" for cgroup v2
21
+ privileged : true
22
+ pre_build_image : true
26
23
verifier :
27
24
name : ansible
28
25
scenario :
Original file line number Diff line number Diff line change @@ -13,16 +13,13 @@ lint: |
13
13
driver :
14
14
name : docker
15
15
platforms :
16
- - name : " ${os:-ubuntu16}-${tag:-latest}"
17
- image : " ${namespace:-monolithprojects}/systemd-${os:-ubuntu16}:${tag:-latest}"
18
- command : /sbin/init
19
- tmpfs :
20
- - /run
21
- - /tmp
16
+ - name : " ${os:-ubuntu20}-${tag:-latest}"
17
+ image : " ${namespace:-monolithprojects}/systemd-${os:-ubuntu20}:${tag:-latest}"
22
18
volumes :
23
- - /sys/fs/cgroup:/sys/fs/cgroup:ro
24
- privileged : yes
25
- pre_build_image : yes
19
+ - " /sys/fs/cgroup:/sys/fs/cgroup:${MOLECULE_DOCKER_VOLUMES:-ro}" # Use "ro" for cgroup v1 and "rw" for cgroup v2
20
+ cgroupns_mode : ${MOLECULE_DOCKER_CGROUPS_MODE:-"private"} # Use "private" for cgroup v1 and "host" for cgroup v2
21
+ privileged : true
22
+ pre_build_image : true
26
23
verifier :
27
24
name : ansible
28
25
scenario :
You can’t perform that action at this time.
0 commit comments