workflow: changes to make test workflow work (#207)

* test6

* fix function call

* add final missing newline to patch

* remove existing config prompt

* add pve-yew-mobile-gui to dep and test

---------

Co-authored-by: Meliox <na>
This commit is contained in:
Meliox 2026-06-13 17:34:29 +02:00 committed by GitHub
parent abe8dcfee8
commit 2221c8fe8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 12 additions and 21 deletions

View File

@ -1,2 +1,3 @@
interest-noawait /usr/share/pve-manager/js interest-noawait /usr/share/pve-manager/js
interest-noawait /usr/share/perl5/PVE interest-noawait /usr/share/perl5/PVE
interest-noawait /usr/share/pve-yew-mobile-gui

View File

@ -27,7 +27,7 @@ ask() {
} }
bool() { [[ "$1" == true ]] && echo 1 || echo 0; } bool() { [[ "$1" == true ]] && echo 1 || echo 0; }
_load_conf_debug() { _load_conf() {
[[ -f "$NODE_INFO_CONF" ]] || return 0 [[ -f "$NODE_INFO_CONF" ]] || return 0
local in_debug=0 line key val local in_debug=0 line key val
while IFS= read -r line; do while IFS= read -r line; do
@ -565,15 +565,6 @@ main() {
err "A legacy pve-mod bash-script installation was detected in Nodes.pm.\nRemove it first:\n bash /path/to/pve-mod-gui-sensors.sh uninstall" err "A legacy pve-mod bash-script installation was detected in Nodes.pm.\nRemove it first:\n bash /path/to/pve-mod-gui-sensors.sh uninstall"
fi fi
# ── Existing config notice ────────────────────────────────────────────────
if [[ -f "$CONF_FILE" ]]; then
local choice
choice=$(ask "Existing configuration found at $CONF_FILE — Reconfigure? (Y/n)")
case "$choice" in
[nN]) info "Keeping existing configuration."; exit 0 ;;
esac
fi
# ── Initialize all config variables with safe defaults ──────────────────── # ── Initialize all config variables with safe defaults ────────────────────
MOD_NODE_INFO=0; MOD_NAG_SCREEN=0 MOD_NODE_INFO=0; MOD_NAG_SCREEN=0
LM_SENSORS_ENABLED=0 LM_SENSORS_ENABLED=0

View File

@ -13,9 +13,9 @@ echo "deb [trusted=yes] http://download.proxmox.com/debian/pve $SUITE pve-no-sub
| sudo tee /etc/apt/sources.list.d/pve-test.list >/dev/null | sudo tee /etc/apt/sources.list.d/pve-test.list >/dev/null
sudo apt-get update -qq sudo apt-get update -qq
echo "[fetch] Downloading pve-manager and proxmox-widget-toolkit..." echo "[fetch] Downloading pve-manager, proxmox-widget-toolkit, and pve-yew-mobile-gui..."
cd "$WORKDIR" cd "$WORKDIR"
apt-get download pve-manager proxmox-widget-toolkit apt-get download pve-manager proxmox-widget-toolkit pve-yew-mobile-gui
echo "[fetch] Extracting to system paths..." echo "[fetch] Extracting to system paths..."
for deb in *.deb; do for deb in *.deb; do

View File

@ -1,5 +1,5 @@
--- a/usr/share/perl5/PVE/API2/Nodes.pm --- usr/share/perl5/PVE/API2/Nodes.pm 2026-05-24 02:05:58.000000000 +0200
+++ b/usr/share/perl5/PVE/API2/Nodes.pm +++ /usr/share/perl5/PVE/API2/Nodes.pm 2026-06-13 16:29:47.810720485 +0200
@@ -251,6 +251,7 @@ @@ -251,6 +251,7 @@
{ name => 'report' }, { name => 'report' },
{ name => 'rrd' }, # fixme: remove? { name => 'rrd' }, # fixme: remove?
@ -8,12 +8,10 @@
{ name => 'scan' }, { name => 'scan' },
{ name => 'sdn' }, { name => 'sdn' },
{ name => 'services' }, { name => 'services' },
@@ -878,6 +879,57 @@ @@ -879,6 +880,56 @@
"pve-node-9.0/$param->{node}", $param->{timeframe}, $param->{cf},
); );
}, },
-}); });
+});
+ +
+__PACKAGE__->register_method({ +__PACKAGE__->register_method({
+ name => 'gpurrddata', + name => 'gpurrddata',
@ -66,3 +64,4 @@
+}); +});
__PACKAGE__->register_method({ __PACKAGE__->register_method({
name => 'syslog',

View File

@ -1 +1 @@
trigger workflow test 1, 2, 3, 4, 5 trigger workflow test 1, 2, 3, 4, 5, 6