Petr Nyc 2 months ago
parent f0f6f560c6
commit c6e19f8633
  1. 7
      .config/mc/ini
  2. 34
      .zshenv
  3. 2
      bin/ul11u4_build.sh
  4. 2
      bin/ul11u4_gate_open.sh

@ -85,10 +85,11 @@ editor_stop_format_chars=-+*\\,.;:&>
mcview_eof=
skin=solarized-dark-256color
shell_directory_timeout=900
filepos_max_saved_entries=1024
[Layout]
output_lines=0
left_panel_size=67
left_panel_size=68
top_panel_size=0
message_visible=true
keybar_visible=true
@ -118,6 +119,8 @@ color_terminals=
alacritty=
xterm=
rxvt-256color=
screen-256color=
xterm-24bit=
[Panels]
show_mini_info=true
@ -143,7 +146,7 @@ select_flags=6
simple_swap=false
[Panelize]
Find *.orig after patching=find . -name \\*.orig -print
Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print
Find *.orig after patching=find . -name \\*.orig -print
Find rejects after patching=find . -name \\*.rej -print
Modified git files=git ls-files --modified

@ -103,4 +103,38 @@ if [ -f "/Users/jetpac/.local/bin/k9s" ]; then
fi
# lh nodes function for kubectl
if [[ -n ${commands[kubectl]} ]]; then
lh_nodes() {
local ns="${1:-longhorn-system}"
kubectl -n "$ns" get nodes.longhorn.io -o yaml | \
yq eval '
.items[] |
{
"node": .metadata.name,
"allowScheduling": .spec.allowScheduling,
"disks": (
[ (.spec.disks // {}) | to_entries | .[] |
{
"diskName": .key,
"path": .value.path,
"allowScheduling": .value.allowScheduling,
"evictionRequested": .value.evictionRequested,
"storageReservedGiB": ((.value.storageReserved // 0) / 1073741824)
}
]
),
"diskStatus": (
[ (.status.diskStatus // {}) | to_entries | .[] |
{
"diskName": .key,
"storageAvailableGiB": ((.value.storageAvailable // 0) / 1073741824),
"storageMaximumGiB": ((.value.storageMaximum // 0) / 1073741824),
"storageScheduledGiB":((.value.storageScheduled // 0) / 1073741824)
}
]
)
}'
}
fi

@ -12,7 +12,7 @@ AWK=/usr/bin/awk
CURL=/usr/bin/curl
source "${BINDIR}/lib/logging.sh"
TARGET="${1-11.4.83.0.1.195.1}"
TARGET="${1-11.4.85.0.1.201.1}"
hg_branch="s11u4_sust_084"
log::info "TARGET:${TARGET}"

@ -13,7 +13,7 @@ CURL=/usr/bin/curl
source "${BINDIR}/lib/logging.sh"
TARGET="${1-11.4.84.0.1.201.1}"
TARGET="${1-11.4.85.0.1.201.1}"
log::info "TARGET:${TARGET}"

Loading…
Cancel
Save