Skip to content

Commit d03ff31

Browse files
Merge pull request #123 from MonolithProjects/develop
Develop to Master
2 parents 11fceb7 + 1fa0ff3 commit d03ff31

File tree

5 files changed

+29
-4
lines changed

5 files changed

+29
-4
lines changed

.github/workflows/main.yml

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
tag: "latest"
2222
- os: "debian10"
2323
tag: "latest"
24+
- os: "debian11"
25+
tag: "latest"
2426
- os: "fedora35"
2527
tag: "latest"
2628
- os: "ubuntu18"

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Personal Access Token for GitHub account can be created [here](https://github.co
3434
* AMD64, x86_64
3535
## Tested on:
3636

37-
* Debian 9,10
37+
* Debian 9,10,11
3838
* Fedora 35
3939
* Rocky Linux 8
4040
* Ubuntu 18,20
@@ -83,6 +83,9 @@ runner_org: no
8383
# Labels to apply to the runner
8484
runner_labels: []
8585

86+
# Group to add organization runner to
87+
runner_group: ""
88+
8689
# GitHub Actions Runner repository (change it if you want to use custom Actions Runner fork)
8790
runner_download_repository: "actions/runner"
8891

defaults/main.yml

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ runner_org: no
3535
# Labels to apply to the runner
3636
runner_labels: []
3737

38+
# Group to add organization runner to
39+
runner_group: ""
40+
3841
# GitHub Actions Runner repository (change it if you want to use custom Actions Runner fork)
3942
runner_download_repository: "actions/runner"
4043

tasks/install_deps.yml

+16
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
# All dependencies derived from https://github.com/actions/runner/blob/main/docs/start/envlinux.md
23
- name: Install dependencies on Debian Stretch
34
package:
45
pkg:
@@ -29,6 +30,21 @@
2930
tags:
3031
- install
3132

33+
- name: Install dependencies on Debian Bullseye
34+
package:
35+
pkg:
36+
- acl
37+
- liblttng-ust0
38+
- libkrb5-3
39+
- zlib1g
40+
- libssl1.1
41+
- libicu67
42+
state: present
43+
update_cache: yes
44+
when: (ansible_distribution == "Debian" and ansible_distribution_major_version == "11")
45+
tags:
46+
- install
47+
3248
- name: Install dependencies on Ubuntu Xenial systems
3349
package:
3450
pkg:

tasks/install_runner.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@
110110
- name: Register runner (if new installation) for organization
111111
command:
112112
"{{ runner_dir }}/./config.sh --url {{ github_url }}/{{ github_owner | default(github_account) }} \
113-
--token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} --unattended \
113+
--token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} \
114+
--runnergroup {{ runner_group }} --unattended \
114115
{{ runner_extra_config_args }}"
115116
args:
116117
chdir: "{{ runner_dir }}"
@@ -138,8 +139,8 @@
138139
- name: Replace registered runner for organization
139140
command:
140141
"{{ runner_dir }}/config.sh --url {{ github_url }}/{{ github_owner | default(github_account) }} \
141-
--token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} --unattended \
142-
{{ runner_extra_config_args }} --replace"
142+
--token {{ registration.json.token }} --name {{ runner_name }} --labels {{ runner_labels | join(',') }} \
143+
--runnergroup {{ runner_group }} --unattended {{ runner_extra_config_args }} --replace"
143144
args:
144145
chdir: "{{ runner_dir }}"
145146
become: yes

0 commit comments

Comments
 (0)