Commit Graph

12 Commits

Author SHA1 Message Date
master3395
44b1acc52c CI: fix 'Unrecognized function: hashFiles' — use in-step skip instead of job if
GitHub reported: Unrecognized function: 'hashFiles' at ci.yml L40.
Remove job-level if: hashFiles(...); skip inside the run step when
plogical/versionFetcher.py is missing (e.g. stable branch).
2026-02-15 20:06:33 +01:00
master3395
cdce54f61f CI: fix Actions failures — pin ubuntu-22.04, drop Docker in workflow
- All jobs now use runs-on: ubuntu-22.04 (avoids ubuntu-latest/24.04 Docker issues)
- validate-on-os: replaced 16 Docker matrix jobs with single validate-upgrade-script job
- No Docker in CI so workflow passes on hosted runners; multi-OS still testable locally
- validate-python: add timeout-minutes: 2
- Tested locally: all four job steps pass
2026-02-15 20:04:00 +01:00
master3395
8a06d7847d CI: run validate-on-os via script to fix quoting and reliability
- Add .github/scripts/ci-validate-upgrade.sh (single source for Docker validation)
- validate-on-os: run script inside container instead of inline bash -c
- Avoids nested quoting and glob/exit behavior differences across shells
- Same script can be run locally: bash .github/scripts/ci-validate-upgrade.sh
2026-02-15 19:57:49 +01:00
master3395
e741dfba11 CI: skip validate-python when versionFetcher.py missing; do not require it in key files
- stable branch has no plogical/versionFetcher.py; CI #23 failed on smoke-key-files and validate-python
- validate-python: run only if hashFiles('plogical/versionFetcher.py') != ''
- smoke-key-files and validate-on-os: require only preUpgrade, loader, upgrade.py, install.py; versionFetcher optional
2026-02-15 19:50:50 +01:00
master3395
a2331c5d14 CI: validate modular upgrade (loader + upgrade_modules). Loader: default to stable, support both branches.
- CI: when upgrade_modules/ exists, check all 12 modules and grep Branch_Check in modules
- CI: syntax-check upgrade_modules/*.sh in validate-shell and validate-on-os
- Loader: BRANCH_FOR_MODULES default 'stable' so one-liner works without -b
- Loader: show both stable and -b v2.5.5-dev in root-check message
2026-02-15 19:38:15 +01:00
master3395
e3eafc0df9 CI: Docker validate only shell + key files (no install/Python in container) 2026-02-15 04:09:22 +01:00
master3395
9955e046cd CI: use venv in Docker validate for reliable Python/requests 2026-02-15 04:06:21 +01:00
master3395
5750601c48 CI: pip install --break-system-packages fallback in Docker validate 2026-02-15 04:02:39 +01:00
master3395
f06d6c7c71 CI: CentOS 7 vault.centos.org repo fix for Docker validate-on-os 2026-02-15 04:02:01 +01:00
master3395
c8747de503 CI: fix shell syntax (for-loop 2>/dev/null), key-files grep (BRANCH_NAME + cyberpanel_upgrade.sh) 2026-02-15 03:57:01 +01:00
master3395
45fe91bb47 CI: fix Docker jobs (remove curl to avoid conflict), resilient shell check 2026-02-15 03:48:28 +01:00
master3395
3edfb28977 CI: validate on all supported OSes (Alma, CentOS, CloudLinux, Debian, RHEL, Rocky, Ubuntu)
- Add .github/workflows/ci.yml: shell syntax, Python version fetcher, key files
- Matrix job runs in Docker per OS (16 images); CloudLinux/RHEL use Rocky/Alma proxies
- CentOS 7: EPEL + pip fallbacks
2026-02-15 03:42:31 +01:00