Skip to content

Commit a61ee44

Browse files
feat(*): Add compatibility with crowdsec bouncer lib 0.20.0
1 parent b9a4a95 commit a61ee44

File tree

150 files changed

+13056
-628
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+13056
-628
lines changed

.github/workflows/end-to-end-auto-prepend-test-suite.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: End-to-end auto-prepend-file mode test suite
22
on:
33
push:
4-
branches:
5-
- main
64
paths-ignore:
75
- '**.md'
86
workflow_dispatch:
@@ -137,6 +135,10 @@ jobs:
137135
cd ${{ github.workspace }}/my-own-modules/${{ env.EXTENSION_PATH }}/tests/e2e-ddev/__scripts__
138136
./run-tests.sh ci "./__tests__/4-live-mode-cache.js"
139137
138+
- name: Prepare cron usage
139+
run: |
140+
sed -i 's/fastcgi_finish_request/\/\/fastcgi_finish_request/g' wp-cron.php
141+
140142
- name: Run Stream mode tests
141143
run: |
142144
cd ${{ github.workspace }}/my-own-modules/${{ env.EXTENSION_PATH }}/tests/e2e-ddev/__scripts__

.github/workflows/end-to-end-test-suite.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ jobs:
117117
cd ${{ github.workspace }}/my-own-modules/${{ env.EXTENSION_PATH }}/tests/e2e-ddev/__scripts__
118118
./run-tests.sh ci "./__tests__/4-live-mode-cache.js"
119119
120+
- name: Prepare cron usage
121+
run: |
122+
sed -i 's/fastcgi_finish_request/\/\/fastcgi_finish_request/g' wp-cron.php
123+
120124
- name: Run Stream mode tests
121125
run: |
122126
cd ${{ github.workspace }}/my-own-modules/${{ env.EXTENSION_PATH }}/tests/e2e-ddev/__scripts__

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
},
1616
"require": {
17-
"crowdsec/bouncer": "0.15.0",
17+
"crowdsec/bouncer": "0.20.0",
1818
"symfony/polyfill-mbstring": "1.20.0",
1919
"symfony/service-contracts": "2.4.1"
2020
},

0 commit comments

Comments
 (0)