Commit Graph

465 Commits

Author SHA1 Message Date
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
Théophile Diot 600ea7e168
Update python deps 2023-08-08 12:03:49 +00:00
Théophile Diot 18ee159711
lint python files 2023-08-08 11:39:43 +00:00
florian 6047a43358
set default value for ports in bw entrypoint, fix core db tests and fix missing PYTHONPATH for certbot job 2023-08-07 22:16:06 +02:00
florian ee2aeda13a
tests - add static delay for linux tests and fix core db tests 2023-08-07 20:47:48 +02:00
florian 5df2a74caf
improved LE certificates checks and fix missing full SERVER_NAME when MULTISITE=no 2023-08-05 18:56:31 +02:00
florian 843c023707
tests - fix wrong command in linux tests 2023-08-04 17:13:07 +02:00
florian 8f7833413b
linux - fix letsencryt not working and fix permissions on /etc/bunkerweb/configs for tests 2023-08-04 16:36:49 +02:00
florian e2fe947cb4
ci/cd - fix tests UI not showing logs 2023-08-02 17:39:18 +02:00
florian bf9cd367d0
fix missing Strict-Transport-Policy header, fix X-Forwarded-Prefix with regex URLs and print logs when UI tests failed 2023-08-02 16:54:05 +02:00
Théophile Diot ad45bbb4d7
Update python deps and fix error with PyYAML compilation 2023-07-19 13:05:11 -04:00
Théophile Diot 9216becb56
Update python deps 2023-07-17 10:02:40 -04:00
Théophile Diot 08f9e5f20a
Fix bad behavior core tests by adding a custom subnet to the bw-docker network 2023-07-04 16:26:54 -04:00
Théophile Diot fccb25bee6
Add automatic bw-docker network removal between each try 2023-07-04 16:19:27 -04:00
Théophile Diot d6407b8186
Fix db core tests by making the network bw-docker entirely external 2023-07-04 16:10:48 -04:00
Théophile Diot 1cf281ef83
Update core tests to be even more verbose 2023-07-04 15:59:16 -04:00
Théophile Diot 3a714b9a3f
Update core tests to be more verbose 2023-07-04 15:43:48 -04:00
Théophile Diot 864619542c
Fix core db tests (again) 2023-07-04 15:15:38 -04:00
Théophile Diot be46f7a8d8
Optimize db core tests 2023-07-04 12:44:25 -04:00
Théophile Diot e0055328af
Fix add missing deps for core db tests 2023-06-30 17:02:32 -04:00
Théophile Diot 265123835f
Update python deps 2023-06-29 12:27:08 -04:00
Théophile Diot 162198bb93
Update db core tests to ignore the added value for env custom configs 2023-06-21 15:46:50 -04:00
Théophile Diot 7a524b43e6
Revert back to 30 seconds of sleep in tests ui after creating a custom config 2023-06-21 15:33:49 -04:00
Théophile Diot 0661916ffc
Update ui tests to wait more after creating a custom config 2023-06-21 13:58:45 -04:00
Théophile Diot 2105dc0f32
Update core db tests to use the right hash for plugins_page files 2023-06-21 13:56:41 -04:00
Théophile Diot 3e871efed8
Update python deps 2023-06-17 13:34:53 -04:00
florian dcf1561358
prepare for 1.5.1 🚀 2023-06-14 21:39:12 +02:00
bunkerity 4023e6dc69 road to v1.5.1 2023-06-14 18:30:34 +02:00
AxyFr 7e66c577f8 Removing python 3.11 in linux 2023-06-14 15:15:44 +02:00
Théophile Diot 73060e42a1
Fix limit core tests 2023-06-12 19:07:48 -04:00
Théophile Diot 5d7ef69c9d
Update limit core tests to avoid false negative 2023-06-12 18:37:14 -04:00
Théophile Diot 855ae89363
Update limit core tests to avoid false positive 2023-06-12 18:35:24 -04:00
Théophile Diot 605e237fd5
Remove 404 from Bad behavior status codes 2023-06-12 16:55:33 -04:00
Théophile Diot 6ab48d9dd2
Update python image to tag 3.11.4-alpine 2023-06-09 13:24:55 -04:00
Théophile Diot c39dd78aec
Update cors plugin tests 2023-06-08 09:32:51 -04:00
Théophile Diot 64aa12b70b
Update python deps 2023-06-06 09:29:40 -04:00
Théophile Diot 6cc20efe72
Update bad behavior test BAD_BEHAVIOR_COUNT_TIME to 30 seconds 2023-06-02 10:30:02 -04:00
Théophile Diot e2a3bfb106
Bad behavior core tests change the ban time to 60 seconds 2023-06-02 10:08:51 -04:00
Théophile Diot 1eeefead95
Core tests sleep between each request 2023-06-02 09:49:25 -04:00
Théophile Diot 8b2517cdf0
Remove ui cache download test - to much unstable 2023-06-01 10:30:17 -04:00
Théophile Diot 7efb82a7ee
Update python deps 2023-05-31 14:15:21 -04:00
Théophile Diot 1f2c973a3b
Fix docker-compose file for custom cert job 2023-05-26 15:03:29 -04:00
Théophile Diot 83413aef2b
Remove open ports from core tests docker compose files 2023-05-26 14:48:03 -04:00
Théophile Diot 548630e3e9
Update python deps 2023-05-23 16:57:28 -04:00
florian 6666a25fcc
edit version, update images on docs and fix bug in Linux script 2023-05-22 19:31:41 +02:00
florian f85f736785
Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev 2023-05-22 15:39:22 +02:00
florian f1efe06e99
ci/cd - fix /opt/actions-runner perms for self-hosted runners 2023-05-22 15:39:09 +02:00
Théophile Diot 78f7570e16
core - Fix bwcli condition when checking bans 2023-05-21 12:50:16 -04:00
Théophile Diot 97723185ba
core - Add bwcli tests 2023-05-21 12:17:35 -04:00
Théophile Diot ab3b3ea8fd
ui-tests - update waiting time after creating a custom conf 2023-05-21 10:49:56 -04:00
Théophile Diot 9b58b397c9
Fix ui tests (again) 2023-05-20 17:46:55 -04:00
Théophile Diot 69b35636e3
Fix UI tests (once again) 2023-05-20 17:10:28 -04:00
Théophile Diot af19cc226d
core - Add redis tests 2023-05-19 16:25:01 -04:00
Théophile Diot 0087ae5832
Update python deps 2023-05-19 16:24:45 -04:00
Théophile Diot 8133c134e0
core - Fix db tests by removing "order" key check 2023-05-19 16:09:24 -04:00
Théophile Diot 1d126e1d0e
core - fix cors tests with the preflight request 2023-05-18 18:01:18 -04:00
Théophile Diot dbb8840992
core - Update allowed_methods test method to GET 2023-05-18 17:04:55 -04:00
Théophile Diot 62cb85453a
core - Remove cert verification when testing allowed methods in misc tests 2023-05-18 16:47:35 -04:00
Théophile Diot 10bdf551aa
core - Add misc tests 2023-05-18 14:05:27 -04:00
Théophile Diot 7158e7e9a1
core - Optimize cors tests 2023-05-18 09:05:07 -04:00
florian 4c4fa44fbc
ci/cd - fix core/cors tests 2023-05-17 09:05:17 +02:00
florian 4378f18cc8
fix typo in bunkernet.lua, add missing Origin header in cors tests and fix allow origin expected value 2023-05-16 19:26:45 +02:00
florian 7d84e03a15
fix header plugin phase not called for internal request (fixes CORS), fix bunkernet init_worker bug where ngx.ctx.bw is not available, add CORS_DENY_REQUEST setting and edit values for core/cors tests 2023-05-16 18:57:19 +02:00
Théophile Diot 36fdec1058
core - fix sessions tests 2023-05-16 11:23:56 -04:00
Théophile Diot 991f7ff8d0
Fix tests core reverse scan wasn't using the image 2023-05-15 09:20:29 -04:00
Théophile Diot 9c77f77fa7
Fix test core DB 2023-05-15 09:18:43 -04:00
Théophile Diot 9ee74aef4f
Add up back when retrying to up the stack + remove useless print 2023-05-15 09:01:53 -04:00
Théophile Diot 7bf4c11bc5
When docker up fails in core tests retry one time 2023-05-15 08:47:52 -04:00
Théophile Diot 82aadfa38c
Update core db tests to add the settings.json file and optimizations 2023-05-15 08:26:09 -04:00
Théophile Diot 394f5fe4bd
Move back to images in the whitelist tests 2023-05-14 21:00:11 -04:00
Théophile Diot b06210bdfb
Remove unused files in tests core 2023-05-14 20:59:54 -04:00
Théophile Diot e6bb9fb55f
Add tests for core plugins 2023-05-14 20:57:58 -04:00
Théophile Diot 64789276ac
Update python deps 2023-05-09 11:12:24 -04:00
florian a58e5c60c0
deps - upgrade python dependencies 2023-05-07 12:12:44 +02:00
florian fd056102d4
fix centos repo command in rhel dockerfiles and fix delete infras order for staging wf 2023-05-07 11:21:07 +02:00
florian a086ff6909
Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev 2023-05-06 02:22:51 +02:00
florian a286e7bd32
fix wrong container in autoconf/k8s, init work on linux arm and ci/cd refactoring 2023-05-06 02:22:30 +02:00
Théophile Diot d4934cfee5
Remove test-ui service in the main docker compose file as it's been extracted 2023-05-05 10:02:46 -04:00
Théophile Diot 500d58e508
Separate the compose file back 2023-05-05 09:56:03 -04:00
Théophile Diot 21dc67b68d
Update test.sh for ui-tests an the compose file 2023-05-05 09:46:52 -04:00
Théophile Diot 75d2be7db7
Update tests-ui to fix them 2023-05-05 09:39:22 -04:00
Théophile Diot 041b7f71e5
Update ui-tests to make a valid password 2023-05-05 09:06:54 -04:00
florian b75ba601b5
Merge branch 'staging' into dev 2023-05-05 07:36:19 +02:00
Théophile Diot 9ff64426b7
Fix ui tests with the external plugins 2023-05-04 18:51:44 -04:00
Théophile Diot 964d318939
Fix wrong attribute value when checking for external plugins 2023-05-04 17:41:27 -04:00
Théophile Diot 914686e78e
Fix often occurring bug when testing the web UI 2023-05-04 17:30:43 -04:00
florian 1c74c5d8d5
ci/cd - refactoring 2023-05-04 23:21:36 +02:00
Théophile Diot 2f992baab3
Lint py files with black 2023-04-30 09:15:06 +02:00
Théophile Diot 7befd927d7
Update python deps 2023-04-30 09:14:52 +02:00
Théophile Diot d4ceb7c106
Remove dev comments for ui tests 2023-04-30 08:50:07 +02:00
Théophile Diot b37c86e620
Fix ui tests problem with the logs page 2023-04-30 08:44:33 +02:00
Théophile Diot 3b237ed3cc
Fix UI tests 2023-04-30 08:20:27 +02:00
Théophile Diot 08e1d157d7
Fix ui-tests by removing no longer present checks 2023-04-29 17:13:55 +02:00
Théophile Diot f6b8d23fba
Fix ui tests by editing the attributes name to the new ones 2023-04-29 15:50:53 +02:00
florian 54a17c7752
init work on CI/CD for generic beta releases, remove useless autoconf examples and fix linux postinstall script 2023-04-29 15:21:30 +02:00
bunkerity 5e4ce45793 various fixes 2023-04-28 16:47:51 +02:00
bunkerity fa67c5d7ba ci/cd - fix missing arg for copytree 2023-04-28 15:45:21 +02:00
Théophile Diot 3dabd42dfc
Update python deps 2023-04-23 16:15:53 +02:00
Théophile Diot 3b5c083fc7
Soft merge branch "1.4" into "dev" + changing versions 2023-04-18 12:03:54 +02:00
Théophile Diot 0afe038aa5
WIP Ui 2023-04-18 10:27:00 +02:00
bunkerity b5fa473ae3 Merge branch 'refactor' into staging 2023-04-18 09:53:23 +02:00