File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -60,15 +60,18 @@ docker-builddev-push:
60
60
needs :
61
61
- job : docker-builddev-push
62
62
variables :
63
- APPDIR : /opt/kx/app
64
63
QLIC : /tmp/qlic
65
64
before_script :
66
65
- mkdir -p "$QLIC"
67
66
- echo -n "$KDB_LICENSE_B64" | base64 -d > "$QLIC/kc.lic"
68
- - cd ${APPDIR}
69
67
- source ./config/env
70
68
rules :
71
69
- if : ' $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'
70
+ artifacts :
71
+ paths :
72
+ - logs/*/*.log
73
+ expire_in : 1 day
74
+ when : on_failure
72
75
73
76
mthread-single :
74
77
extends :
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ controller: `$"::",argv `controller;
24
24
25
25
msstring : {(string x), " ms" }
26
26
// df returns partition like /dev/nvme0n1p1
27
- getPartition : {[db:`C ] first " " vs last system "df " , db }
27
+ getFilesystem : {[db:`C ] first " " vs last system "df " , db }
28
28
29
29
getDeviceOSX : {
30
30
$ [1 = count system "diskutil list|grep physical" ;
@@ -36,7 +36,10 @@ getDeviceOSX:{
36
36
getDevice : {[db:`C ]
37
37
if [.z.o =`m64 ;: getDeviceOSX []];
38
38
39
- p : ssr [;"/dev/" ;"" ] getPartition [db ];
39
+ fs : getFilesystem [db ];
40
+ if ["overlay" ~ fs ; : fs ]; / Inside Docker, NYI
41
+ if ["disk" ~ last system "lsblk -o type " , fs ; : fs ];
42
+ p : ssr [;"/dev/" ;"" ] fs ;
40
43
// disk is looked up from partition by e.g. /sys/class/block/nvme0n1p1
41
44
if [not (` $ p) in key ` $ ":/sys/class/block" ;
42
45
.qlog.warn "Unable to map partition " , p, " to a device" ;
Original file line number Diff line number Diff line change 1
- pub : 3.3.0
2
- dev : 3.3.0
1
+ pub : 3.3.1
2
+ dev : 3.3.1
You can’t perform that action at this time.
0 commit comments