Commit Graph

18 Commits

Author SHA1 Message Date
master3395
87502cfcbc 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
0e35bc4386 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
508a9f5512 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
c8d64ae439 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
d1a9bd787e 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
530ea640be CI: Docker validate only shell + key files (no install/Python in container) 2026-02-15 04:09:22 +01:00
master3395
bdc9adc9de CI: use venv in Docker validate for reliable Python/requests 2026-02-15 04:06:21 +01:00
master3395
1a28329c65 CI: pip install --break-system-packages fallback in Docker validate 2026-02-15 04:02:39 +01:00
master3395
d8cd44e8ac CI: CentOS 7 vault.centos.org repo fix for Docker validate-on-os 2026-02-15 04:02:01 +01:00
master3395
f38f862370 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
b36ab0fd02 CI: fix Docker jobs (remove curl to avoid conflict), resilient shell check 2026-02-15 03:48:28 +01:00
master3395
69e21b91c4 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
Master3395
59c415ae1d Enhance CyberPanel functionality with FTP Quota and Bandwidth Management features: Added models, views, and templates for managing FTP quotas and bandwidth resets. Implemented IP blocking functionality with associated views and templates. Updated system scripts for improved repository synchronization and OS detection. Removed outdated workflow files. 2025-09-23 21:09:38 +02:00
Master3395
9acb23ea33 Refine README.md for clarity and consistency: Updated formatting, improved section organization, and clarified installation instructions. 2025-09-23 21:03:17 +02:00
qtwrk
1429126cfe Update sync2gitee.yml 2021-11-13 21:20:34 +01:00
qtwrk
05d6c1ad1b auto-sync to gitee.com 2021-11-02 23:41:47 +01:00
istiak101
84ca58fda7 Update issue templates 2021-10-12 13:35:38 +06:00
Istiak Ferdous
af9ebb0b75 Move FUNDING.YML under .github folder 2021-10-06 10:31:13 +06:00