File tree 3 files changed +12
-12
lines changed
3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -2,46 +2,46 @@ on: [push, pull_request]
2
2
3
3
jobs :
4
4
check-packages :
5
- runs-on : ubuntu-18.04
5
+ runs-on : ubuntu-latest
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
check-shellcheck :
11
- runs-on : ubuntu-18.04
11
+ runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : actions/checkout@v2
14
14
- uses : delphix/actions/shellcheck@master
15
15
check-shfmt :
16
- runs-on : ubuntu-18.04
16
+ runs-on : ubuntu-latest
17
17
steps :
18
18
- uses : actions/checkout@v2
19
19
- uses : delphix/actions/shfmt@master
20
20
check-pylint :
21
- runs-on : ubuntu-18.04
21
+ runs-on : ubuntu-latest
22
22
steps :
23
23
- uses : actions/checkout@v2
24
24
- uses : actions/setup-python@v1
25
25
with :
26
- python-version : ' 3.6 '
26
+ python-version : ' 3.8 '
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-18.04
31
+ runs-on : ubuntu-latest
32
32
steps :
33
33
- uses : actions/checkout@v2
34
34
- uses : actions/setup-python@v1
35
35
with :
36
- python-version : ' 3.6 '
36
+ python-version : ' 3.8 '
37
37
- run : python3 -m pip install yapf
38
38
- run : yapf --diff --style google files/common/usr/bin/delphix-startup-screen
39
39
check-mypy :
40
- runs-on : ubuntu-18.04
40
+ runs-on : ubuntu-latest
41
41
steps :
42
42
- uses : actions/checkout@v2
43
43
- uses : actions/setup-python@v1
44
44
with :
45
- python-version : ' 3.6 '
45
+ python-version : ' 3.8 '
46
46
- run : python3 -m pip install mypy
47
47
- run : mypy --ignore-missing-imports files/common/usr/bin/delphix-startup-screen
Original file line number Diff line number Diff line change @@ -92,4 +92,4 @@ fs.mount-max = 300000
92
92
# We've seen cases where we run out of this resource with the default
93
93
# value of 8192, resulting in upgrade failures.
94
94
#
95
- fs.inotify.max_user_watches = 16384
95
+ fs.inotify.max_user_watches = 32768
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def get_svcs() -> List[str]:
55
55
return cp .stdout .split ("=" , 1 )[1 ].split ()
56
56
57
57
58
- def run_svcs (options : str = None ) -> Generator :
58
+ def run_svcs (options : str = "" ) -> Generator :
59
59
"""
60
60
Run the command to retrieve the status of all the services. The options
61
61
argument can be used to obtain additional output from the 'systemctl'
@@ -245,7 +245,7 @@ def display_status(stdscr, win):
245
245
status = 0
246
246
247
247
x = int ((X - width ) / 2 ) + 2
248
- y = ( Y - height )
248
+ y = Y - height
249
249
250
250
win .clear ()
251
251
win .box ()
You can’t perform that action at this time.
0 commit comments