Commit Graph

295 Commits (master)

Author SHA1 Message Date
dependabot[bot] 8a2829de87
Bump pytest-xdist from 3.2.0 to 3.2.1 in /test
1 year ago
William Blew b9a6970bfd
Fix addKey to handle substrings of existing keys
1 year ago
dependabot[bot] 0b60601f86
Bump pytest from 7.2.1 to 7.2.2 in /test
1 year ago
dependabot[bot] 31a9e18997
Bump tox from 4.4.5 to 4.4.6 in /test
1 year ago
Christian König 4fd0f15d90
Ignore commented lines when reding PRIVACYLEVEL from config file
1 year ago
Dan Schaper 2380359270
Bump pytest-xdist from 3.1.0 to 3.2.0 in /test (#5170)
1 year ago
Christian König 90da155053
Use buildx to create docker test images
1 year ago
Christian König 4b503a080b
Revert "Use new worksteal distribution algorithm"
1 year ago
Christian König 46fe37b4da
Use new worksteal distribution algorithm
1 year ago
dependabot[bot] d6275cdd7c
Bump pytest-xdist from 3.1.0 to 3.2.0 in /test
1 year ago
dependabot[bot] 5ecdfb53c2
Bump tox from 4.4.4 to 4.4.5 in /test
1 year ago
dependabot[bot] e5ea361b53
Bump tox from 4.3.5 to 4.4.4 in /test
1 year ago
dependabot[bot] d6e25403ee
Bump tox from 4.2.8 to 4.3.5 in /test
1 year ago
Christian König afc8241c2c
Remove leftover Fedora 35 tox file
1 year ago
Adam Warner bb4698429f
Remove fed 35 from test suite
1 year ago
dependabot[bot] eb1f2ac01c
Bump pytest from 7.2.0 to 7.2.1 in /test
1 year ago
dependabot[bot] 318ee3b7d3
Bump tox from 4.0.17 to 4.2.8 in /test
1 year ago
Christian König d87cad76fb
Tweak get_directories_recursive
1 year ago
Christian König 64d0621d2b
Update and set test suite python dependencies
1 year ago
Adam Warner ec1d4c5500
lighttpd: do not overwrite /etc/lighttpd/lighttpd.conf (On new installs) (#5075)
1 year ago
Glenn Strauss 34f45d011d
lighttpd: do not install obsolete 404 handler
1 year ago
Glenn Strauss c6342ed84c
lighttpd: do not overwrite /etc/lighttpd/lighttpd.conf
1 year ago
Adam Warner 9072a6a7f0
add Fedora 37 to distro-test in .github/workflows/test.yml (#5067)
1 year ago
Glenn Strauss 78f9e38425
lighttpd: test for /etc/lighttpd/conf*/pihole-admin.conf
1 year ago
Christian König c8e69c6139
Set testenv explicitly
1 year ago
Christian König da8893f477
Try bandaid
1 year ago
Glenn Strauss e7e7a817bb
add Fedora 37 to distro-test
1 year ago
Christian König ea26171c18
Do not require man pages to be present in test script
1 year ago
Adam Warner 6b8ba3c15e
Replace deprecated shell commands (#4907)
1 year ago
RD WebDesign 85ffbcf05e
Allow replacing conflicting existing packages from testing image
2 years ago
RD WebDesign 528abc9c97
Adding CentOS Stream 9 tests
2 years ago
MichaIng 5c090d25e1
Fix ldd sh mock in tests
2 years ago
a1346054 e5695f862f
test_any_automated_install.py: Use `command -v` instead of `which`
2 years ago
Christian König 4265bcb178
Add initscripts to CentOS8 dockerfile
2 years ago
Dan Schaper 71b560667b
Add Fedora 35 and 36, remove 34 to/from the test suite (#4952)
2 years ago
Christian König 3731b65bd5
Remoce Fedora 34 from tests
2 years ago
Christian König 6057b134ae
Add initscripts to Fedora 35 and 36 dockerfile
2 years ago
Christian König a705fbca73
Add Fedora 35 and 36 to the test suite
2 years ago
Christian König 276c480f50
Return default port if non-numeric characters are set in pihole-FTL.conf for FTLPORT. FTL does the same in such case and provide the API on 4711
2 years ago
Christian König 3d01e4d0cf No detour - use pihole-FTL.conf to get the API port number
2 years ago
Adam Warner 1b0b0ca445
Update python tests and add black code formatter action (#4926)
2 years ago
Christian König 17ec88d96f
Remove `installed_binary` variable which was leftover from https://github.com/pi-hole/pi-hole/pull/4893
2 years ago
Christian König 0df38cd64e
Format all /test files with black
2 years ago
Christian König 73ca4ebdbc
Update test requirements
2 years ago
yubiuser 2ff1fa1b85
Merge branch 'development' into use_utils
2 years ago
Christian König 8bc5b16527
Set tox envlist to py3
2 years ago
Christian König c1a927fff1
Run test workflows on python 3.10
2 years ago
Adam Warner 0f74165c9d
Drop Ubuntu 18 tests
2 years ago
Adam Warner 46e1a87e9e
Tweak FTL test to ensure we don't get false positives on incompatible OS (Will remote Ub18 in a separate commit)
2 years ago
Christian König 9b5ea13a33 Use utils.sh in install script
2 years ago
Adam Warner 5421aad03e
Store versions as key/value pairs rather than space delimeted values
2 years ago
Adam Warner 5816f495f4
Fix test_installPiholeWeb_fresh_install_no_errors and test_installPihole_fresh_install_readableBlockpage
2 years ago
Adam Warner 71bc237639
Merge pull request #4828 from pi-hole/centos7-can-do-one
2 years ago
Adam Warner 9028898ba7
Move code from `check_epel_repo_required` into the rpm branch of the if check on package_manager_detect(), adjust tests to accommodate
2 years ago
Adam Warner fc2a564cc0
remove tests no longer needed
2 years ago
Adam Warner b613758419
rename select_rpm_php and simplify it to remove code no longer needed (discussed internally removing the unsupported dialog here to match behaviour on non rpm distros)
2 years ago
Adam Warner 9c03915cb0
Remove special Centos7 hand holds. Move the unsupported dialog out to a further if block so that a user may still continue to install on centos7 (provided they have the pre-requisites installed)
2 years ago
Adam Warner e29aa4e205
First things first...
2 years ago
Christian König ab6b37bdcf
Fix stickler and codefactor complaints
2 years ago
Christian König c8c4eb59b7
Add getFTLPID() tests
2 years ago
Christian König 2651abbe6c
Add tests
2 years ago
Christian König 7b77d991df
Move FTL port and PID functions to utils.sh
2 years ago
Adam Warner 21af75a2d2
Ubuntu 21 tests are failing entirely. apt-update does not work on an impish vm, either
2 years ago
Christian König 9f918972d2 Adjust tests
2 years ago
Christian König 518cbd10e0
Rename also in docker files
2 years ago
Dan Schaper 0b10c50a0b
Merge branch 'development' into tweak/dialog
2 years ago
Dan Schaper 6efb3a3372
Fix for epel mirror timeouts
2 years ago
Dan Schaper 2845c72bde Add testing dependencies for CentOS7 and dialog
2 years ago
Dan Schaper a650641da4 Change tests to mock dialog
2 years ago
Dan Schaper 80bef5f6b6
Direct pull for epel-release
2 years ago
Adam Warner 0be987239e
Adds spellcheck action to the smoke-tests (also moves editorconfig-checker to smoketests away from it's own action)
2 years ago
Christian König f740e0fefb
Ubt22 is jammy not impish
2 years ago
Christian König 8c498acd4c
Re-add Ubuntu21 tests
2 years ago
Christian König f9d1893f96
Update test to reflect currently supported OS
2 years ago
Christian König 2c07d27ad7 Forgot two places
2 years ago
Christian König 0fa94e0946
Remove unused test which was commented since 5 years by PR 1244
2 years ago
Adam Warner 73aa43611f
Merge pull request #4700 from spmfox/4697-centos8-container-ftl-arch
2 years ago
Dan Schaper c19788dd18
Mock `which sh` to reutrn `/bin/sh`.
2 years ago
Adam Warner 8de814ab34
Split the tests, too. Enhance the descriptions
2 years ago
spmfox 2601162243 Changed ldd binary check from /bin/ls to /usr/bin/bash
2 years ago
Adam Warner db116971ce
I tried to do too many things in one function, vastly overcomplicating what should have been _this_ all along
2 years ago
yubiuser d3e94cbceb
Merge pull request #4653 from pi-hole/refactor-utils-redux
2 years ago
Adam Warner 4d31d5ee11
Address review comments
2 years ago
Adam Warner 7fa8cdd03e
Address:
2 years ago
Dan Schaper 4230be0c80
Hirsute buildpack EOL upstream. Adding impish.
2 years ago
Adam Warner 48138d32b6
Adjust addOrEditKeyValPair to optionally take two or three arguments (adjust test to suit)
2 years ago
Christian König 42424b515b Add getFTLAPIPort function
2 years ago
Christian König d7d8e9730b Remove pihole-FTL.conf.5 from automated tests
2 years ago
Adam Warner 444526ad58
Switch from centos8 to centos8:stream base image for centos 8 tests
2 years ago
Adam Warner 77e5121d43
Split new function out into a separte utility script and add a test for it. Can be used in future to organise re/commonly-used code
2 years ago
MichaIng 14a379d448
Fix generated /etc/os-release file in OS check test
2 years ago
Adam Warner cdd4d9ea9e
Update the tests (#4427)
2 years ago
pvogt09 cedd1a2591
unit test for umask problems in #3177 and #2730 (#3191)
3 years ago
Blayne Campbell 8713135b01
update tests: remove fedora 32, add fedora 34 (#4403)
3 years ago
Adam Warner 5b03160295
Install script comment tweaks (#4361)
3 years ago
Christian König 466520366d Fogot to save...
3 years ago
Christian König 9dbcbdbe66 Adjust tests
3 years ago
yubiuser 1c286c7bc4
Select proper PHP version on RPM based OS after INSTALLER_DEPS have been installed (#4325)
3 years ago
Adam Warner d68a2ffaf3
Install only minimal requiered package before performing os_check
3 years ago
Adam Warner 1358209a9a
rename distro_check to package_manager_detect, as it is more in keeping with what the function actually does
3 years ago