Commit Graph

  • 797a1659e5 Move on_failure_hook to helper file tweak/bats Christian König 2026-05-29 10:35:11 +02:00
  • 28232c898d Use on_failure hook to improve failure output Christian König 2026-05-28 11:17:36 +02:00
  • a723ffd4be Set BATS pretty output flag depending on the terminal Christian König 2026-05-28 11:03:12 +02:00
  • 2671ebc2b8 Ubuntu 20 curl version does not support etag-compare and etag-save on the same file, so the target will always be downloaded and no 304 is returned test_gravity Christian König 2026-05-25 21:18:07 +02:00
  • 5198095e12 Bump actions/stale from 10.2.0 to 10.3.0 in the github-actions-dependencies group (#6640) development yubiuser 2026-05-24 07:51:44 +02:00
  • c9f932ab48 Bump actions/stale in the github-actions-dependencies group dependabot[bot] 2026-05-23 10:02:24 +00:00
  • a50b35b1a5 Add Fedora 44 and Ubuntu 26.04 LTS to tests (#6623) Adam Warner 2026-05-22 22:37:34 +01:00
  • 43840b250d Account for curl version < 7.75 Christian König 2026-05-21 23:42:56 +02:00
  • a8de5788c6 Be more generous regarding curl's error output Christian König 2026-05-21 23:25:14 +02:00
  • 227689f491 Adjust tests to recent changes from https://github.com/pi-hole/pi-hole/pull/6430 and https://github.com/pi-hole/pi-hole/pull/6607 and https://github.com/pi-hole/pi-hole/pull/6605 Christian König 2026-05-21 23:16:38 +02:00
  • 164a0c134a Fix shellcheck Christian König 2026-05-21 22:43:41 +02:00
  • d01a893721 replace tox with BATS for new OSes darkexplosiveqwx 2026-05-21 22:29:28 +02:00
  • af4df3fa75 Merge branch 'development' into april-os darkexplosiveqwx 2026-05-21 22:24:50 +02:00
  • de7cb639d5 Add gravity tests Christian König 2026-05-01 22:05:02 +02:00
  • bca84e7125 Replace pytest/tox with direct in-container BATS (#6598) Adam Warner 2026-05-21 19:33:31 +01:00
  • 86562b5eba Remove spurious runUnattended=true from install test Adam Warner 2026-04-20 21:01:59 +01:00
  • 3468c0c418 test: update README for BATS runner usage Adam Warner 2026-04-19 16:54:51 +01:00
  • e972c758ab test: split containers, simplify run_suite, improve distro error Adam Warner 2026-04-16 20:48:50 +01:00
  • 551b6516d1 test: bake BATS libraries into test images at build time Adam Warner 2026-04-16 20:48:34 +01:00
  • 356afe66c5 test: restore executable bit on installer FTL bats file Adam Warner 2026-04-13 22:24:21 +01:00
  • 1359c6aff5 test: simplify in-container BATS flow and clarify suite intent Adam Warner 2026-04-13 22:20:58 +01:00
  • da333b0982 test: replace pytest/tox with direct in-container BATS Adam Warner 2026-04-13 21:54:24 +01:00
  • 9648b90194 Bump the github-actions-dependencies group with 2 updates (#6636) yubiuser 2026-05-16 12:34:35 +02:00
  • 08d44b7a01 Bump the github-actions-dependencies group with 2 updates dependabot[bot] 2026-05-16 10:02:59 +00:00
  • 37eb5d7128 Fix shellcheck warnings fix/gravity Christian König 2026-05-12 13:59:23 +02:00
  • 9da776fb15 Improve gravity error handling Christian König 2026-05-12 13:57:04 +02:00
  • 78fb9b51cc Improve the command that finds the crash header new/crash_report RD WebDesign 2026-05-10 03:45:01 -03:00
  • 06507b7c89 New debug command to automatically upload part of FTL.log after a crash RD WebDesign 2026-05-09 19:26:28 -03:00
  • 3c65e11672 Bump github/codeql-action from 4.35.3 to 4.35.4 in the github-actions-dependencies group (#6631) yubiuser 2026-05-09 16:36:28 +02:00
  • ff8e6357ee Bump github/codeql-action in the github-actions-dependencies group dependabot[bot] 2026-05-09 10:02:55 +00:00
  • 826b293a7b Prevent double error message output in gravity run with invalid file (#6607) Adam Warner 2026-05-07 21:03:11 +01:00
  • b873bf45ab Bump github/codeql-action from 4.35.2 to 4.35.3 in the github-actions-dependencies group (#6629) yubiuser 2026-05-02 12:12:57 +02:00
  • f7d4429d9d Bump github/codeql-action in the github-actions-dependencies group dependabot[bot] 2026-05-02 10:02:56 +00:00
  • 9586b470e8 Add Fedora 44 and Ubuntu 26.04 LTS to tests darkexplosiveqwx 2026-04-29 20:27:39 +02:00
  • a3b7117404 Explicitly add gawk to APK dependencies (#6622) Dan Schaper 2026-04-28 13:30:09 -06:00
  • 9beb608147 Explicitly add gawk to APK dependencies Christian König 2026-04-28 21:12:55 +02:00
  • 8b250abef1 Use awk to compare curl versions (#6621) Dan Schaper 2026-04-27 14:36:12 -06:00
  • 7e72e17304 Use awk to compare curl versions RD WebDesign 2026-04-27 16:55:26 -03:00
  • 208ddd95b5 Revert "Replace head with sed to avoid error messages on the web interface" revert-6616-fix/curl_version_check Adam Warner 2026-04-27 18:51:15 +01:00
  • 4927e56b70 Replace head with sed to avoid error messages on the web interface (#6616) Adam Warner 2026-04-27 08:41:18 +01:00
  • 4360ac403d Replace head with sed to avoid error messages on the web interface RD WebDesign 2026-04-26 18:25:30 -03:00
  • cf19c83a81 Also hardcode the PID file location in utils.sh to prevent readonly variable warning (#6613) Dan Schaper 2026-04-25 12:05:35 -07:00
  • dbafd5fc31 Bump trufflesecurity/trufflehog from 3.94.3 to 3.95.2 in the github-actions-dependencies group (#6614) yubiuser 2026-04-25 14:56:33 +02:00
  • 3d12a10f16 Bump trufflesecurity/trufflehog in the github-actions-dependencies group dependabot[bot] 2026-04-25 10:02:58 +00:00
  • 0ebef1027d Sync master back into development (#6611) Adam Warner 2026-04-25 10:54:37 +01:00
  • b4af3f3ead We can also hardcode the PID file location in utils.sh Adam Warner 2026-04-25 10:51:55 +01:00
  • 6e94450826 Only check for curl/local file retrieval if download == true, prevents double error messages in certain situations Adam Warner 2026-04-25 00:11:54 +01:00
  • 3413768c90 Pi-hole Core v6.4.2 (#6610) master v6.4.2 Adam Warner 2026-04-24 22:56:21 +01:00
  • b065830df0 Merge commit from fork Adam Warner 2026-04-24 22:10:31 +01:00
  • 7ccb8ddfb0 Improve gravity error message including curl exit code and errormsg (#6605) Adam Warner 2026-04-24 21:57:02 +01:00
  • 9f0cb867b2 Use semicolon as separator for the returned values RD WebDesign 2026-04-21 17:17:16 -03:00
  • a7baecb57c Apply suggestions from code review RD WebDesign 2026-04-20 22:02:41 -03:00
  • bdaa61aa3e Make check-busybox-compat.sh executable new/short-vs-long-linter Adam Warner 2026-04-21 00:45:26 +01:00
  • 290886dc8e Introduce a BusyBox compatibility checker for shell options and wire it into CI with a fast differential PR path. Adam Warner 2026-04-21 00:42:50 +01:00
  • 48403f1d7b add lint-switch-style script and integrate into CI workflow Adam Warner 2026-04-20 23:27:09 +01:00
  • 9d28b2b5e7 add logrotate to DEB and RPM dependencies (#6524) Adam Warner 2026-04-20 17:50:19 +01:00
  • 16ec32275b Add comment explaining the code used to compare versions RD WebDesign 2026-04-20 13:29:33 -03:00
  • c65b63b10b Merge branch 'development' into logrotate darkexplosiveqwx 2026-04-20 17:15:49 +02:00
  • 145b861552 Clarify comment in pihole.cron darkexplosiveqwx 2026-04-20 17:14:38 +02:00
  • f4efe7d186 Show exit code using the same color as the message RD WebDesign 2026-04-19 18:44:15 -03:00
  • f166d0067b Fix permission for *.etag files after gravity run (#6353) Adam Warner 2026-04-19 21:57:44 +01:00
  • ef4095e81d Merge branch 'development' into tweak/gravity_curl_error2 RD WebDesign 2026-04-19 17:14:31 -03:00
  • 5a04d1ecd7 Loose requirements for local file access for gravity (#6430) Adam Warner 2026-04-19 21:02:36 +01:00
  • a3ed471d05 security: hardcode PID file path in service hooks Adam Warner 2026-04-19 12:53:50 +01:00
  • 065f9d7d93 Apply suggestion RD WebDesign 2026-04-18 21:11:19 -03:00
  • d9c2a51711 Add some adjustments to improve the curl message RD WebDesign 2026-04-18 19:40:06 -03:00
  • 2ad97acfd2 Get exit code using $? and only retrive http_code and errormsg RD WebDesign 2026-04-18 19:30:50 -03:00
  • 428f8bfd02 Simplify the code that generates the alternative message tweak/gravity_curl_error RD WebDesign 2026-04-18 17:34:21 -03:00
  • fb8afcd22a FTL can create its logfiles on its own (#6601) Adam Warner 2026-04-18 21:26:53 +01:00
  • 63a8eb4602 Add fallback for success case, just in case. RD WebDesign 2026-04-18 17:20:48 -03:00
  • 7bd01ef44e Get exit code using $? and only retrive http_code and errormsg RD WebDesign 2026-04-18 15:02:33 -03:00
  • e9bd61b0b7 Bump github/codeql-action from 4.35.1 to 4.35.2 in the github-actions-dependencies group (#6603) yubiuser 2026-04-18 12:45:54 +02:00
  • 9d737566d9 Bump github/codeql-action in the github-actions-dependencies group dependabot[bot] 2026-04-18 10:02:46 +00:00
  • cd440ba547 Set versions in /etc/pihole/versions to null if script fails (#6550) Adam Warner 2026-04-17 22:32:38 +01:00
  • dca5d882f6 Apply suggestions from code review yubiuser 2026-03-30 11:15:47 +02:00
  • ed3b6cb776 Set versions in /etc/pihole/versions to null if script fails Christian König 2026-02-23 11:33:06 +01:00
  • eac86148a3 Use fake HTTP code to avoid error messages if curl can't return json output RD WebDesign 2026-04-13 23:23:24 -03:00
  • c5c65ac396 Fix the github suggestion mess RD WebDesign 2025-10-19 16:14:55 -03:00
  • 9d75e02533 Apply suggestion from @MichaIng RD WebDesign 2025-10-19 14:48:54 -03:00
  • 92c0e2f294 Apply suggestion from @MichaIng RD WebDesign 2025-10-19 14:41:39 -03:00
  • d4dad4dc0e Improve curl error message including exit code and error message RD WebDesign 2025-10-17 22:20:20 -03:00
  • f424dd028b FTL can create its logfiles on its own Christian König 2026-04-14 10:06:48 +02:00
  • 2b19810cef ci: exclude missing-image arch/distro combos and fix QEMU arch-detection test bats-in-containers-insanity-mode Adam Warner 2026-04-13 23:08:23 +01:00
  • a11bb91f24 ci: group distro tests by arch and dedupe with YAML anchors (INSANITY) Adam Warner 2026-04-13 22:46:01 +01:00
  • 1d08359193 test(ci): insanity-mode multi-arch distro validation experiment Adam Warner 2026-04-13 22:38:00 +01:00
  • 1bcf395b24 test: restore executable bit on installer FTL bats file Adam Warner 2026-04-13 22:24:21 +01:00
  • bfee1f28e7 test: simplify in-container BATS flow and clarify suite intent Adam Warner 2026-04-13 22:20:58 +01:00
  • e307ddab6b test: replace pytest/tox with direct in-container BATS Adam Warner 2026-04-13 21:54:24 +01:00
  • abb054898d Address review comments use-bats-experiment Adam Warner 2026-04-13 20:44:15 +01:00
  • f0d28a12e9 Fix indentation yubiuser 2025-10-24 21:07:12 +02:00
  • 0f016555b0 Prevent URLs like file:/./ to circumvent permission check Christian König 2025-10-23 22:09:55 +02:00
  • a16005068c Loose requirements for local file access for gravity Christian König 2025-10-22 20:25:42 +02:00
  • 8d9d6c1f9f Apply changes based on @Copilot review Make the BATS command a bit easier to read Adam Warner 2026-03-29 13:23:41 +01:00
  • 5bd4fca65a Pin bats releases so that test results are reproducable Adam Warner 2026-03-29 13:03:36 +01:00
  • 85b2a147bd codeql analysis not needed as there is no more python Adam Warner 2026-03-29 12:26:08 +01:00
  • 7d8bc9acd6 Split BATS test suite across files for parallel execution Adam Warner 2026-03-17 21:50:25 +00:00
  • 330c355bf7 Replace pytest/tox test suite with BATS Adam Warner 2026-03-17 18:09:28 +00:00
  • 1ae2324559 Skip apt cache update when pihole-meta is current (#6581) Adam Warner 2026-04-12 13:16:52 +01:00
  • ea980d51b5 Bump the python-dependencies group in /test with 2 updates (#6596) yubiuser 2026-04-11 12:26:11 +02:00
  • 22755a4c2e Bump trufflesecurity/trufflehog from 3.94.2 to 3.94.3 in the github-actions-dependencies group (#6595) yubiuser 2026-04-11 12:24:46 +02:00