Commit Graph

465 Commits

Author SHA1 Message Date
Théophile Diot c2db157bb5
Update python docker image to 3.12.0 2023-10-03 14:10:04 +02:00
Théophile Diot 202698f41f
Fix python deps conflicts and update them 2023-10-03 13:54:53 +02:00
Théophile Diot 628068e9ae
Lint files with prettier 2023-10-03 12:53:30 +02:00
Théophile Diot 87ca176633
Fix typos raised by codespell 2023-10-03 12:37:56 +02:00
Théophile Diot 6b2df35858
Tweak py file to respect flake8 rules 2023-10-03 12:01:24 +02:00
Théophile Diot 5a7f9147fa
Update python deps and update script 2023-10-02 13:08:28 +01:00
Théophile Diot 5ed595be68
Fix shellcheck tests failing 2023-10-02 11:05:15 +01:00
Théophile Diot 1b7e1840cd
Fix blacklist core tests' requirements.txt file 2023-09-29 18:15:38 +01:00
Théophile Diot 1f90d3668c
Add a pre-commit-config file and passed all checks 2023-09-29 18:11:48 +01:00
Théophile Diot 073e8575e2
Updated Dockerfile, python deps and npm package to use pinned dependencies 2023-09-29 16:47:34 +01:00
Théophile Diot b4a320afaa
Made ui tests better 2023-09-28 14:31:23 +01:00
Théophile Diot 6e2db59919
Add a sleep before changing from cache page to log page to avoid errors in ui tests 2023-09-26 13:33:41 +01:00
Théophile Diot 1db769c321
Remove bugged UI tests check in linux 2023-09-26 13:12:02 +01:00
Théophile Diot db99d16874
Update the condition that checks the integration in core tests 2023-09-26 13:11:30 +01:00
Théophile Diot 579c80357f
Update UI starting script and ui tests script on linux 2023-09-26 12:56:14 +01:00
Théophile Diot b901d29710
Update python deps 2023-09-26 12:16:26 +01:00
Théophile Diot 15eef6ef57
Try to fix python deps issues with linux and try to have more logs in linux ui tests 2023-09-26 09:47:03 +01:00
Théophile Diot cc0167f427
Fix ui linux tests when waiting for the ui to be ready 2023-09-26 08:36:18 +01:00
Théophile Diot fd4c147b89
Update how the scripts wait for the UI to get ready before starting the tests 2023-09-26 08:01:31 +01:00
Théophile Diot 95afba8792
Change how the ui tests waits for the ui to be ready 2023-09-26 07:44:08 +01:00
Théophile Diot ea5cb0db2d
Try to fix ui linux test by adding more sleeps 2023-09-25 19:33:40 +01:00
Théophile Diot cb3250e4e7
Fix UI linux test (again) 2023-09-25 19:17:08 +01:00
Théophile Diot 81b5e80da6
Try to fix deps permissions with linux ui tests (again) 2023-09-25 17:44:17 +01:00
Théophile Diot 6a162d7250
Fix linux permissions with ui tests 2023-09-25 17:35:34 +01:00
Théophile Diot be5fe2830e
Try to fix ui python deps in ui linux tests 2023-09-25 17:24:19 +01:00
Théophile Diot 380e609abd
Change ui linux tests command into development mode 2023-09-25 17:15:25 +01:00
Théophile Diot 39f17bce60
Try to fix permission issues with Linux and ui python deps 2023-09-25 16:31:32 +01:00
Théophile Diot 94c7c832e6
Fix permissions with python deps in ui linux tests 2023-09-25 16:15:49 +01:00
Théophile Diot 42be334e40
Fix permissions with ui tests on linux 2023-09-25 16:08:08 +01:00
Théophile Diot cad3012e6d
Try to fix python dependencies error with test ui linux 2023-09-25 09:04:54 +01:00
Théophile Diot a04282d3f8
Fix test core redis with linux 2023-09-25 09:04:26 +01:00
Théophile Diot b90da0f909
Add better health check in linux ui tests 2023-09-23 17:11:14 +01:00
Théophile Diot c964d68f99
Add more tries when the dnsbl server isn't found 2023-09-23 16:38:08 +01:00
Théophile Diot 78a29e65ea
Tweak reversescan core test to avoid false negative 2023-09-23 16:35:48 +01:00
Théophile Diot 16d4c1133b
Optimize the way errors are being checked in linux core tests 2023-09-23 15:05:21 +01:00
Théophile Diot 6534a429af
Fix looking for error in the wrong place in test code linux 2023-09-23 13:54:47 +01:00
Théophile Diot 25eb8de01e
Try to fix a few shenanigans with linux core tests 2023-09-23 13:22:20 +01:00
Théophile Diot 2065d688f1
Fix ui tests with docker checking the wrong containers if healthy 2023-09-23 12:29:54 +01:00
Théophile Diot 87f84d438e
Add a retry on nginx error in linux core tests 2023-09-23 12:13:42 +01:00
Théophile Diot 99b30af8ea
Fix reverse scan python script 2023-09-23 09:17:00 +01:00
Théophile Diot 1ff2aed68c
Fix UI docker tests docker compose file 2023-09-23 09:16:36 +01:00
Théophile Diot 48bcb11983
Rearrange imports for blacklist init core test 2023-09-23 09:03:09 +01:00
Théophile Diot ae9450d0dc
Add whitelist and greylist linux core tests 2023-09-23 09:02:35 +01:00
Théophile Diot 9a17e92d62
Fix typos in dnsbl core test 2023-09-23 08:21:18 +01:00
Théophile Diot 2244f734fa
Add dnsbl linux test 2023-09-23 08:20:41 +01:00
Théophile Diot a29ac80e4b
Add country linux tests 2023-09-23 08:20:27 +01:00
Théophile Diot cff5c77679
Fix sessions core test for linux 2023-09-23 07:48:47 +01:00
Théophile Diot 6ae6764f27
Fix blacklist core tests docker compose 2023-09-23 07:46:27 +01:00
Théophile Diot 27959e1aa9
Fix sessions permissions issues with python requirements 2023-09-22 20:37:24 +01:00
Théophile Diot 6283ce2dd7
Add linux tests for blacklist and bunkernet 2023-09-22 20:30:38 +01:00
Théophile Diot 61c8ef73b0
Fix permission issues with sessions core test with linux 2023-09-22 16:36:51 +01:00
Théophile Diot be25ae8e05
Fix failing linux core tests + add more logs when an error occur in ui tests 2023-09-22 15:58:36 +01:00
Théophile Diot 57374ecc2f
Fix tests ui with linux 2023-09-22 13:13:19 +01:00
Théophile Diot fdb9a7c294
Fix errors linux tests permission issues 2023-09-22 09:17:31 +01:00
Théophile Diot e378be9a92
Fix typo in tests ui linux file name + add more logs in ui docker tests 2023-09-22 08:49:33 +01:00
Théophile Diot 432d1587c7
Add linux ui tests 2023-09-22 08:47:47 +01:00
Théophile Diot ce2fa3d360
Fix a few core tests for linux 2023-09-20 18:19:05 +02:00
Théophile Diot 06da40bf13
Added more linux core tests 2023-09-20 16:41:33 +02:00
Théophile Diot 84a27a3fc3
Fix DB core test with docker 2023-09-20 15:02:17 +02:00
Théophile Diot 9e34251824
Fix path issues with db core test init 2023-09-20 14:19:43 +02:00
Théophile Diot c90cd7399a
Fix permission issues in tests core linux 2023-09-20 13:43:50 +02:00
Théophile Diot 91e5528a3f
Fix already existing tests core linux 2023-09-20 13:01:51 +02:00
Théophile Diot 8a6e14d8c8
Added linux tests to a few core plugins 2023-09-19 17:53:07 +02:00
Théophile Diot 0ece8fda00
Fix permission issues when starting BunkerWeb in antibot linux tests 2023-09-19 15:37:25 +02:00
Théophile Diot e935132242
ci/cd Try to fix permission problems with Firefox in test core linux 2023-09-19 15:20:55 +02:00
Théophile Diot 094d5d5dfe
ci/cd Fix a few things with test core linux + finish antibot linux core tests 2023-09-19 14:52:06 +02:00
Théophile Diot d59cf1835d
ci/cd fix permissions issue in test core linux + fix shenanigans with antibot linux core tests 2023-09-19 11:27:10 +02:00
Théophile Diot a0516f773f
ci/cd Install firefox from apt instead of snap + fix antibot core tests for linux 2023-09-19 09:45:17 +02:00
Théophile Diot 80d56fcca6
ci/cd start working on linux core tests 2023-09-18 12:12:03 +02:00
Théophile Diot e51e178357
Update python deps 2023-09-15 14:51:53 +02:00
Théophile Diot 11664cc1d8
Fix wrong variable name in limit core tests 2023-09-07 11:01:26 +02:00
Théophile Diot c6b2199dd3
prepare for 1.5.2 🚀 2023-09-06 15:11:36 +02:00
Théophile Diot c7e834a0dc
Update python deps 2023-09-06 13:45:41 +02:00
Théophile Diot 673ee921f6
Lint files 2023-09-06 13:44:45 +02:00
Théophile Diot 3a02c0ca5c
Add more delays in badbehavior core test 2023-09-04 15:52:43 +02:00
bunkerity b5638aae19 ci/cd - move k8s login in staging-tests job 2023-08-31 12:16:29 +02:00
bunkerity 4450762b8c ci/cd - fix image name in k8s tests 2023-08-31 11:32:40 +02:00
florian 64d2ed91ec ci/cd - fix secret key 2023-08-31 08:17:56 +02:00
bunkerity c52e54b812 ci/cd - fix tf files again 2023-08-30 15:39:38 +02:00
bunkerity e5c37a00ac ci/cd - fix k8s tf 2023-08-30 15:19:02 +02:00
Théophile Diot 637573e591
Update docker images and python deps 2023-08-29 15:47:03 +02:00
bunkerity d6aa6a9b09 ci/cd - staging improvements 2023-08-25 17:51:32 +02:00
bunkerity e81ab4ff9b Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev 2023-08-24 16:49:39 +02:00
florian 00cb6c1a8b
tests - fix regex for geckodriver version 2023-08-22 15:14:20 +02:00
florian 898ee7ec87
tests - tweak dpkg before installing BW 2023-08-22 14:12:38 +02:00
bunkerity 643b30f993 tests - ignore wrong testing version in deb packages 2023-08-22 12:21:00 +02:00
Théophile Diot 69e944d56a
Revert "Fix LinuxTest package installation commands"
This reverts commit 82fb7b277d.
2023-08-22 10:27:21 +02:00
Théophile Diot 82fb7b277d
Fix LinuxTest package installation commands 2023-08-22 09:48:29 +02:00
Théophile Diot 6d1d464e16
Remove tries limit in wget commands (defaulting to 20 tries) 2023-08-22 09:20:58 +02:00
Théophile Diot b5de52ead9
Add more retries when testing the newly created service in ui tests 2023-08-22 09:20:22 +02:00
Théophile Diot 8632dd3244
Fix exit code for ui tests 2023-08-21 16:55:01 +02:00
Théophile Diot fbf0232d52
Update python deps 2023-08-21 16:39:30 +02:00
Théophile Diot 5b6f00dfc6
Revert "Remove unused imports in ui tests"
This reverts commit 681def5f02.
2023-08-21 16:37:03 +02:00
Théophile Diot 681def5f02
Remove unused imports in ui tests 2023-08-21 16:29:39 +02:00
Théophile Diot a844b235b9
Remove geckodriver.log 2023-08-21 16:29:23 +02:00
Théophile Diot 73e31ca625
Add wget to fix error with tests 2023-08-21 16:29:03 +02:00
Théophile Diot d82136f040
Fix UI tests not exiting if container fails to start 2023-08-21 16:08:32 +02:00
Théophile Diot 55fd177901
Fix wget command when downloading the geckodriver sometimes fails 2023-08-21 16:02:37 +02:00
Théophile Diot b6b87fcb03
Update python deps 2023-08-14 17:06:24 -04:00
florian b8778de08b
use nightly tag for docker-socket-proxy 2023-08-10 15:06:38 +02:00