File tree Expand file tree Collapse file tree 7 files changed +65
-13
lines changed Expand file tree Collapse file tree 7 files changed +65
-13
lines changed Original file line number Diff line number Diff line change 1
- actions-runner-linux- *
1
+ * .gz
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ Requirements
14
14
15
15
* Supported Linux distros:
16
16
* CentOS/RHEL 7,8
17
+ * Debian 9,10
17
18
* Fedora 16+
18
19
* Ubuntu 16,18
19
20
Original file line number Diff line number Diff line change 14
14
- name : Fedora
15
15
versions :
16
16
- all
17
- # - name: Debian
18
- # versions:
19
- # - jessie
20
- # - stretch
17
+ - name : Debian
18
+ versions :
19
+ - buster
20
+ - stretch
21
21
- name : Ubuntu
22
22
versions :
23
23
- xenial
Original file line number Diff line number Diff line change @@ -44,6 +44,26 @@ platforms:
44
44
- /sys/fs/cgroup:/sys/fs/cgroup:ro
45
45
privileged : yes
46
46
pre_build_image : yes
47
+ - name : Debian9
48
+ image : monolithprojects/systemd-debian9:latest
49
+ command : /sbin/init
50
+ tmpfs :
51
+ - /run
52
+ - /tmp
53
+ volumes :
54
+ - /sys/fs/cgroup:/sys/fs/cgroup:ro
55
+ privileged : yes
56
+ pre_build_image : yes
57
+ - name : Debian10
58
+ image : monolithprojects/systemd-debian10:latest
59
+ command : /sbin/init
60
+ tmpfs :
61
+ - /run
62
+ - /tmp
63
+ volumes :
64
+ - /sys/fs/cgroup:/sys/fs/cgroup:ro
65
+ privileged : yes
66
+ pre_build_image : yes
47
67
provisioner :
48
68
name : ansible
49
69
playbooks :
Original file line number Diff line number Diff line change 1
1
---
2
- - name : Install dependencies on Debian Stretch / Ubuntu Xenial systems
2
+ - name : Install dependencies on Debian Stretch
3
+ package :
4
+ pkg :
5
+ - liblttng-ust0
6
+ - libkrb5-3
7
+ - zlib1g
8
+ - libssl1.1
9
+ - libicu57
10
+ state : present
11
+ update_cache : yes
12
+ when : (ansible_distribution == "Debian" and ansible_distribution_major_version == "9")
13
+ tags :
14
+ - install
15
+
16
+ - name : Install dependencies on Debian Buster
17
+ package :
18
+ pkg :
19
+ - liblttng-ust0
20
+ - libkrb5-3
21
+ - zlib1g
22
+ - libssl1.1
23
+ - libicu63
24
+ state : present
25
+ update_cache : yes
26
+ when : (ansible_distribution == "Debian" and ansible_distribution_major_version == "10")
27
+ tags :
28
+ - install
29
+
30
+ - name : Install dependencies on Ubuntu Xenial systems
3
31
package :
4
32
pkg :
5
33
- liblttng-ust0
9
37
- libicu55
10
38
state : present
11
39
update_cache : yes
12
- when : (ansible_distribution == "Debian" and ansible_distribution_major_version == "9") or
13
- (ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "16")
40
+ when : (ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "16")
14
41
tags :
15
42
- install
16
-
17
- - name : Install dependencies on Debian Buster / Ubuntu Bionic systems
43
+
44
+ - name : Install dependencies on Ubuntu Bionic systems
18
45
package :
19
46
pkg :
20
47
- liblttng-ust0
24
51
- libicu60
25
52
state : present
26
53
update_cache : yes
27
- when : (ansible_distribution == "Debian" and ansible_distribution_major_version == "10") or
28
- (ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "18")
54
+ when : (ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "18")
29
55
tags :
30
56
- install
31
57
Original file line number Diff line number Diff line change 29
29
tags :
30
30
- install
31
31
32
- - name : Register runner
32
+ - name : Register runner (if new installation)
33
33
command : " {{ runner_dir }}/./config.sh --url {{ github_server }}/{{ github_account }}/{{ github_repo }} \
34
34
--token {{ registration.json.token }} --unattended"
35
35
args :
Original file line number Diff line number Diff line change 7
7
when : runner_service in services
8
8
tags :
9
9
- uninstall
10
+
11
+ - name : Refresh services facts
12
+ service_facts :
13
+ tags :
14
+ - uninstall
10
15
11
16
- name : Remove GitHub Actions Runner service
12
17
file :
You can’t perform that action at this time.
0 commit comments