File tree 8 files changed +63
-45
lines changed
8 files changed +63
-45
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
hadolint :
9
- runs-on : ubuntu-latest
9
+ runs-on : ubuntu-22.04
10
10
strategy :
11
11
fail-fast : false
12
12
max-parallel : 3
31
31
32
32
build-suse-image :
33
33
needs : hadolint
34
- runs-on : ubuntu-latest
34
+ runs-on : ubuntu-22.04
35
35
steps :
36
36
- name : Checkout Repository
37
37
uses : actions/checkout@v4
@@ -79,14 +79,14 @@ jobs:
79
79
80
80
build-redhat-image :
81
81
needs : hadolint
82
- runs-on : ubuntu-latest
82
+ runs-on : ubuntu-22.04
83
83
steps :
84
84
- name : Checkout Repository
85
85
uses : actions/checkout@v4
86
86
87
87
build-redhat-image-matrix :
88
88
needs : build-redhat-image
89
- runs-on : ubuntu-latest
89
+ runs-on : ubuntu-22.04
90
90
strategy :
91
91
fail-fast : false
92
92
max-parallel : 3
@@ -127,7 +127,7 @@ jobs:
127
127
128
128
build-debian-image :
129
129
needs : hadolint
130
- runs-on : ubuntu-latest
130
+ runs-on : ubuntu-22.04
131
131
steps :
132
132
- name : Checkout Repository
133
133
uses : actions/checkout@v4
@@ -175,7 +175,7 @@ jobs:
175
175
176
176
build-ubuntu-image :
177
177
needs : hadolint
178
- runs-on : ubuntu-latest
178
+ runs-on : ubuntu-22.04
179
179
steps :
180
180
- name : Checkout Repository
181
181
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -15,10 +15,6 @@ jenkins:
15
15
standard:
16
16
excludeClientIPFromCrumb: true
17
17
18
- # Отключает или включает Master Access Control (deprecated):
19
- remotingSecurity:
20
- enabled: true
21
-
22
18
# Эта опция позволяет задать глобальные переменные в Jenkins (при желании можно раскомментировать):
23
19
# globalNodeProperties:
24
20
# - envVars:
Original file line number Diff line number Diff line change @@ -43,6 +43,11 @@ debian_packages_list:
43
43
- openjdk-17-jre
44
44
- fontconfig
45
45
46
+ debian_java_link : " /usr/bin/java"
47
+ debian_java_path : " /usr/lib/jvm/jdk-17.0.2/bin/java"
48
+ debian_javac_link : " /usr/bin/javac"
49
+ debian_javac_path : " /usr/lib/jvm/jdk-17.0.2/bin/javac"
50
+ debian_old_archive : " https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz"
46
51
debian_old_packages_list :
47
52
- openjdk-11-jdk
48
53
- fontconfig
Original file line number Diff line number Diff line change @@ -16,30 +16,30 @@ platforms:
16
16
security_opts :
17
17
- seccomp=unconfined
18
18
19
- - name : debian11
20
- image : mdd13/ansible-docker-debian:debian11
21
- pre_build_image : true
22
- privileged : true
23
- override_command : false
24
- cgroup_parent : docker.slice
25
- cgroupns_mode : host
26
- security_opts :
27
- - seccomp=unconfined
19
+ # - name: debian11
20
+ # image: mdd13/ansible-docker-debian:debian11
21
+ # pre_build_image: true
22
+ # privileged: true
23
+ # override_command: false
24
+ # cgroup_parent: docker.slice
25
+ # cgroupns_mode: host
26
+ # security_opts:
27
+ # - seccomp=unconfined
28
28
29
- - name : debian12
30
- image : mdd13/ansible-docker-debian:debian12
31
- pre_build_image : true
32
- tmpfs :
33
- - /run
34
- - /tmp
35
- volumes :
36
- - /sys/fs/cgroup:/sys/fs/cgroup:rw
37
- privileged : true
38
- capabilities :
39
- - SYS_ADMIN
40
- cgroup_parent : docker.slice
41
- cgroupns_mode : host
42
- override_command : false
29
+ # - name: debian12
30
+ # image: mdd13/ansible-docker-debian:debian12
31
+ # pre_build_image: true
32
+ # tmpfs:
33
+ # - /run
34
+ # - /tmp
35
+ # volumes:
36
+ # - /sys/fs/cgroup:/sys/fs/cgroup:rw
37
+ # privileged: true
38
+ # capabilities:
39
+ # - SYS_ADMIN
40
+ # cgroup_parent: docker.slice
41
+ # cgroupns_mode: host
42
+ # override_command: false
43
43
44
44
provisioner :
45
45
name : ansible
Original file line number Diff line number Diff line change 36
36
state : present
37
37
when : ansible_distribution == 'Debian' and ansible_distribution_major_version | int == 10
38
38
39
+ - name : Download archive with Java 17 on Debian family distro (Only Debian 10)
40
+ unarchive :
41
+ src : " {{ debian_old_archive }}"
42
+ dest : " /usr/lib/jvm"
43
+ remote_src : yes
44
+ when : ansible_distribution == 'Debian' and ansible_distribution_major_version | int == 10
45
+
46
+ - name : Set Java 17 path on Debian family distro (Only Debian 10)
47
+ alternatives :
48
+ name : " java"
49
+ path : " {{ debian_java_path }}"
50
+ link : " {{ debian_java_link }}"
51
+ state : selected
52
+ priority : 1
53
+ when : ansible_distribution == 'Debian' and ansible_distribution_major_version | int == 10
54
+
55
+ - name : Set Javac 17 path on Debian family distro (Only Debian 10)
56
+ alternatives :
57
+ name : " javac"
58
+ path : " {{ debian_javac_path }}"
59
+ link : " {{ debian_javac_link }}"
60
+ state : selected
61
+ priority : 1
62
+ when : ansible_distribution == 'Debian' and ansible_distribution_major_version | int == 10
63
+
39
64
# Установка непосредственно самого пакета Jenkins:
40
65
- name : Install Jenkins package on Debian family distro
41
66
apt :
Original file line number Diff line number Diff line change @@ -15,10 +15,6 @@ jenkins:
15
15
standard:
16
16
excludeClientIPFromCrumb: true
17
17
18
- # Отключает или включает Master Access Control (deprecated):
19
- remotingSecurity:
20
- enabled: true
21
-
22
18
# Эта опция позволяет задать глобальные переменные в Jenkins:
23
19
globalNodeProperties:
24
20
- envVars:
Original file line number Diff line number Diff line change @@ -16,10 +16,6 @@ jenkins:
16
16
standard :
17
17
excludeClientIPFromCrumb : true
18
18
19
- # Отключает или включает Master Access Control (deprecated):
20
- remotingSecurity :
21
- enabled : true
22
-
23
19
# Эта опция позволяет задать глобальные переменные в Jenkins (при желании можно раскомментировать):
24
20
# globalNodeProperties:
25
21
# - envVars:
Original file line number Diff line number Diff line change 1
- ansible == 9.5.1
2
- ansible-lint == 6.22.1
1
+ ansible == 9.13.0
2
+ ansible-lint == 6.22.2
3
3
docker == 7.0.0
4
4
molecule == 6.0.3
5
- molecule-plugins [docker ] == 23.5 .0
5
+ molecule-plugins [docker ] == 23.6 .0
6
6
requests == 2.31.0
7
- yamllint == 1.33 .0
7
+ yamllint == 1.35 .0
You can’t perform that action at this time.
0 commit comments