File tree 4 files changed +16
-28
lines changed
files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks
4 files changed +16
-28
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ on: [push, pull_request]
2
2
3
3
jobs :
4
4
check-packages :
5
- runs-on : ubuntu-latest
5
+ runs-on : ubuntu-24.04
6
6
steps :
7
7
- uses : actions/checkout@v2
8
8
- run : docker build -t delphix-platform:latest docker
9
9
- run : ./scripts/docker-run.sh make packages
10
+
10
11
check-shellcheck :
11
12
runs-on : ubuntu-latest
12
13
steps :
@@ -17,31 +18,26 @@ jobs:
17
18
steps :
18
19
- uses : actions/checkout@v2
19
20
- uses : delphix/actions/shfmt@master
21
+
20
22
check-pylint :
21
- runs-on : ubuntu-latest
23
+ runs-on : ubuntu-24.04
22
24
steps :
23
25
- uses : actions/checkout@v2
24
- - uses : actions/setup-python@v1
25
- with :
26
- python-version : ' 3.8'
26
+ - uses : actions/setup-python@v5
27
27
- run : python3 -m pip install pylint
28
28
- run : python3 -m pip install netifaces
29
29
- run : pylint -d invalid-name,E0611 files/common/usr/bin/delphix-startup-screen
30
30
check-yapf :
31
- runs-on : ubuntu-latest
31
+ runs-on : ubuntu-24.04
32
32
steps :
33
33
- uses : actions/checkout@v2
34
- - uses : actions/setup-python@v1
35
- with :
36
- python-version : ' 3.8'
34
+ - uses : actions/setup-python@v5
37
35
- run : python3 -m pip install yapf
38
36
- run : yapf --diff --style google files/common/usr/bin/delphix-startup-screen
39
37
check-mypy :
40
- runs-on : ubuntu-latest
38
+ runs-on : ubuntu-24.04
41
39
steps :
42
40
- uses : actions/checkout@v2
43
- - uses : actions/setup-python@v1
44
- with :
45
- python-version : ' 3.8'
41
+ - uses : actions/setup-python@v5
46
42
- run : python3 -m pip install mypy
47
43
- run : mypy --ignore-missing-imports files/common/usr/bin/delphix-startup-screen
Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ configure)
70
70
# postgres UID. Note that we put this code here instead of the
71
71
# delphix-platform service as we need it to be executed before
72
72
# the postgres package gets installed.
73
+ sed -i ' s/^UID_MAX.*/UID_MAX 65437/g' /etc/login.defs
74
+ sed -i ' s/^GID_MAX.*/GID_MAX 65437/g' /etc/login.defs
73
75
addgroup postgres --gid 65437
74
76
adduser --home /var/lib/postgresql --no-create-home \
75
77
--shell /bin/bash --ingroup postgres \
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ DEPENDS += ansible, \
85
85
rsyslog, \
86
86
sudo, \
87
87
systemd-container, \
88
+ systemd-resolved, \
88
89
tzdata, \
89
90
udev,
90
91
@@ -110,14 +111,6 @@ DEPENDS += $(DEPENDS.$(TARGET_PLATFORM))
110
111
#
111
112
DEPENDS += delphix-build-info,
112
113
113
- #
114
- # The usrmerge package modifies the layout of directories under root (/) upon
115
- # installation, to ensure that a Delphix Engine upgraded to Ubuntu 20.04 has
116
- # the same directory layout as a Delphix Engine that initially came on
117
- # Ubuntu 20.04 (or later).
118
- #
119
- DEPENDS += usrmerge,
120
-
121
114
#
122
115
# These packages help strengthen the security of the appliance by identifying
123
116
# and preventing undesired behaviors.
@@ -131,26 +124,24 @@ DEPENDS += aide, \
131
124
# or replaced without regard for backward compatibility.
132
125
#
133
126
DEPENDS += aptitude, \
134
- awscli, \
135
- bcc-tools, \
127
+ bcc, \
136
128
bpftrace, \
137
129
crash-python, \
138
130
delphix-rust, \
139
131
dnsutils, \
140
- drgn, \
132
+ python3- drgn, \
141
133
dstat, \
142
134
emacs-nox, \
143
135
ethtool, \
144
136
gdb, \
145
- gdb-python, \
146
137
htop, \
147
138
iftop, \
148
139
inotify-tools, \
149
140
iotop, \
150
141
jq, \
151
142
kdump-tools, \
152
143
ldap-utils, \
153
- libkdumpfile , \
144
+ libkdumpfile10 , \
154
145
linux-tools-common, \
155
146
lsof, \
156
147
man-db, \
@@ -229,4 +220,3 @@ override_dh_auto_test:
229
220
# testing via another mechanism, so running it during package
230
221
# builds is unnecessary.
231
222
#
232
-
Original file line number Diff line number Diff line change 349
349
regexp : ' ^{{ item.key }}='
350
350
line : ' {{ item.key }}="{{ item.value }}"'
351
351
with_items :
352
- - { key: 'JAVA_HOME', value: '/usr/lib/jvm/adoptopenjdk-java8-jdk -amd64' }
352
+ - { key: 'JAVA_HOME', value: '/usr/lib/jvm/java-8-openjdk -amd64' }
353
353
354
354
#
355
355
# Configure the Azure agent. Only run this on Azure, since that is the
You can’t perform that action at this time.
0 commit comments