Commit Graph

400 Commits

Author SHA1 Message Date
florian 758fc13c3d
ci/cd - replace version string for testing release 2023-08-15 21:28:17 +02:00
florian cd825cd341
ci/cd - fix wrong VERSION path for testing release 2023-08-15 21:01:06 +02:00
florian c03b1bb20b
ci/cd - update VERSION file for testing release 2023-08-15 20:32:03 +02:00
florian a5e50d0f74
ci/cd - fix linux package name for staging 2023-08-15 13:17:01 +02:00
florian 1a57e0a202
ci/cd - remove linux arm64 packages pushes 2023-08-15 12:47:38 +02:00
florian de568f335f
ci/cd - temp disable staging tests 2023-08-15 12:37:03 +02:00
florian 244b912476
ci/cd - fix syntax error in push-github wf 2023-08-15 11:44:27 +02:00
florian 08ce31bb0f
ci/cd - prepare for testing releases 2023-08-15 11:40:05 +02:00
florian e93b2f65ff
cache dev container images, fix CVE-2023-35945 and force scheduler to reload when instances change 2023-08-02 15:59:23 +02:00
florian f3ba16be9d
add instances changes check to scheduler and auto push dev container images 2023-08-02 15:47:33 +02:00
florian 3dac0aef0e
tests - temp fix for compose network errors 2023-07-05 01:15:40 +02:00
Théophile Diot b529d85255
Revert "Update checkout part of workflow to include submodules"
This reverts commit 4b4e0f8b3b.
2023-06-28 09:59:37 -04:00
Théophile Diot 4b4e0f8b3b
Update checkout part of workflow to include submodules 2023-06-26 13:01:02 -04:00
Théophile Diot c2cfd4dd9f
Remove checkout from dev.yml 2023-06-26 12:55:17 -04:00
Théophile Diot 642da402bc
Fix dev workflow 2023-06-26 12:51:33 -04:00
Théophile Diot 4bb6d40a53
Update dev workflow to checkout the code and submodules first 2023-06-26 12:49:49 -04:00
dependabot[bot] 8585007bcb
deps/gha: bump scaleway/action-scw
Bumps [scaleway/action-scw](https://github.com/scaleway/action-scw) from bbcfd65cd2af73456ce439088e0d42c1657c4c38 to c718eca1fcb9fec1fb1433752d61599c6a0ad2e9.
- [Release notes](https://github.com/scaleway/action-scw/releases)
- [Commits](bbcfd65cd2...c718eca1fc)

---
updated-dependencies:
- dependency-name: scaleway/action-scw
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 10:01:32 +00:00
florian 340b4a4929
change arm server flavor 2023-05-23 01:36:00 +02:00
dependabot[bot] a586b5b6be
deps/gha: bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 22:39:34 +00:00
florian 1f2b550f60
ci/cd - fix swarm examples and init work on release workflow 2023-05-22 16:41:13 +02:00
florian 4962f786ba
fix wrong env parsing in init phase, bypass modsec/crs when method is not allowed, refactor ALLOWED_METHODS and improve error page management 2023-05-18 21:09:51 +02:00
florian 2a78d2c057
ci/cd - perform all core tests even if one failed 2023-05-15 13:37:54 +02:00
florian 5f668aecaa
ci/cd - fix syntax error in test core wf 2023-05-15 13:12:17 +02:00
florian 9a2e37984d
ci/cd core tests and antibot refactoring 2023-05-15 13:10:27 +02:00
florian e14475de4a
ci/cd - fix missing version in linux package name 2023-05-08 16:37:43 +02:00
florian 136f68cd3b
ci/cd - fix typo in beta wf 2023-05-08 16:06:20 +02:00
florian d83730cf75
ci/cd - fix linux package name in upload/download steps 2023-05-08 15:36:57 +02:00
florian 14ca85cdb6
ci/cd - fix package.sh name in linux build wf 2023-05-07 19:51:03 +02:00
florian dc1cb6a6fa
ci/cd - fix scp command in linux build wf 2023-05-07 19:32:38 +02:00
florian 73acbe0852
ci/cd - fix typo in linux build wf 2023-05-07 18:41:54 +02:00
florian 45c90527c4
ci/cd - fix linux package generation when arch is ARM 2023-05-07 18:27:45 +02:00
florian 141f5a1d5b
ci/cd - fix typo in beta wf (again) 2023-05-07 17:39:49 +02:00
florian 6e82fde8a1
ci/cd - fix typo in beta wf 2023-05-07 17:39:08 +02:00
florian 00ba46ebf0
prepare for 1.5.0-beta update 2023-05-07 17:38:20 +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 fb03733433
ci/cd - use single quote in linux build wf 2023-05-07 11:17:29 +02:00
florian 43cbc79c75
ci/cd - move ARM_* to secrets in linux build wf 2023-05-07 11:15:17 +02:00
florian 7592e5a84f
ci/cd - fix typo in staging.yml 2023-05-07 11:11:44 +02:00
florian 819ad60a48
fix hcaptcha antibot and refactor ci/cd for staging 2023-05-06 18:20:25 +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
florian 97dc6540eb
ci/cd - fix typo in dev wf 2023-05-05 14:18:57 +02:00
florian 1c74c5d8d5
ci/cd - refactoring 2023-05-04 23:21:36 +02:00
florian 1cc9f57739
prepare for v1.5.0-beta fixes 2023-05-04 21:39:18 +02:00
florian bddfb58a0d
Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev 2023-05-02 17:21:17 +02:00
Théophile Diot ef551846b9
ci/cd Update mmdb - Let only the schedule and change branch to push on 2023-05-02 10:56:16 -04:00
Théophile Diot a7b7c2031d
ci/cd Update mmdb - Add check for curl commands 2023-05-02 10:53:19 -04:00
Théophile Diot 0afb250b91
ci/cd mmdb update - Changed branch to push on 2023-05-02 10:35:59 -04:00
Théophile Diot 019a927b06
ci/cd remove secret required for auto mmdb update 2023-05-02 10:34:42 -04:00
Théophile Diot 283a63f160
ci/cd try fixing workflow auto download mmdb 2023-05-02 10:32:28 -04:00
Théophile Diot 42707ad46a
ci/cd test mmdb update 2023-05-02 10:30:21 -04:00
florian cd57eb423e
ci/cd - fix automatic push of doc 2023-05-02 16:00:37 +02:00
florian 01fbacf0ff
ci/cd - fix pdf path for draft release + fix missing git fetch before deploying doc 2023-05-02 13:05:23 +02:00
florian d693d065f8
ci/cd - allow to update release tag, add PDF to release and fix multiline CHANGELOG in release 2023-05-02 11:50:02 +02:00
florian aa2ada0a00
ci/cd - update git user/mail for push doc wf 2023-05-02 11:25:47 +02:00
florian a47d7df401
ci/cd - execute apt install as root for doc to pdf workflow 2023-05-02 10:47:42 +02:00
florian c4093a2d7b
ci/cd - increase ARM node storage 2023-05-02 10:24:16 +02:00
florian 01e5994936
ci/cd - concurrent builds for ARM + fix version string for RPM packages 2023-05-02 10:09:32 +02:00
florian 0b93c6e10f
ci/cd - add more cores to ARM instance 2023-05-01 20:20:52 +02:00
florian 88db3fa344
ci/cd - fix build rhel var 2023-05-01 20:18:16 +02:00
florian 5c01bd3f74
ci/cd - various fixes for push workflows 2023-05-01 19:57:00 +02:00
florian ba7422218d
ci/cd - fix push workflows 2023-04-30 15:44:26 +02:00
florian fda2948e0e
ci/cd - fix typo in push docker wf 2023-04-30 14:11:51 +02:00
florian 59e5b1d54f
ci/cd - fix push workflows 2023-04-30 14:10:27 +02:00
Florian Pitance 0b5746aba3
ci/cd - add missing inputs for build arm 2023-04-30 11:59:35 +02:00
florian 94dc501c17
ci/cd - remove load image in buildkit for ARM archs because of docker limitation 2023-04-30 11:47:44 +02:00
florian 8ffaa7cf79
ci/cd - force shutdown when deleting ARM node 2023-04-30 11:35:58 +02:00
Florian Pitance 6e99e7a981
cicd - fix docker buildx arm driver 2023-04-30 11:21:22 +02:00
florian 2eef2b8bb7
ci/cd - fix variable share for ARM (again) 2023-04-30 11:09:48 +02:00
florian 406c686e4f
ci/cd - fix variable share for ARM 2023-04-30 10:56:46 +02:00
florian 6cecc70c32
ci/cd - fix ssh command for ARM builder 2023-04-30 10:31:52 +02:00
Théophile Diot c3d0d7ca70
Add workflow that automatically update cached mmdb files 2023-04-30 09:11:12 +02:00
florian a55a0df5de
ci/cd - remove useless condition in create ARM workflow 2023-04-30 04:17:28 +02:00
florian ae33ca52ed
ci/cd - fix wait-on variable 2023-04-30 04:14:46 +02:00
florian 8867eb23be
ci/cd - fix wrong json keys from scw api 2023-04-30 04:05:17 +02:00
florian 1b79e291eb
ci/cd - various fixes for arm build 2023-04-30 03:56:19 +02:00
florian 98ce5041d2
ci/cd - use fixed sha1 commit for scw action in rm arm workflow 2023-04-30 03:36:58 +02:00
florian 66d7216dc3
ci/cd - fix typo in create arm workflow 2023-04-30 03:35:28 +02:00
florian 45fa4d1c26
ci/cd - ignore /root/.cargo dir for security checks, use fixed sha1 commit for scw actions and add missing deps for ui/arm 2023-04-30 03:34:06 +02:00
florian 9cd13990e3
ci/cd - pass ARM ID as secret 2023-04-30 03:11:43 +02:00
florian 266383abb1
ci/cd - dynamic arm build node 2023-04-30 03:07:26 +02:00
florian 4e0d2fce5f
add missing dependencies when prebuilt crypto package is not present 2023-04-30 00:58:37 +02:00
florian 823c09195a
ci/cd - add missing var for ARM builds 2023-04-30 00:32:15 +02:00
florian e71dc132ec
ci/cd - fix typo in container build workflow 2023-04-30 00:27:38 +02:00
florian 0db5f7cf0f
ci/cd - fix typo in beta workflow 2023-04-30 00:26:18 +02:00
florian 4bfc5b693f
ci/cd - fix wrong cache name in container build workflow 2023-04-30 00:24:35 +02:00
florian 93d0a991a9
ci/cd - fix typo in push doc workflow 2023-04-30 00:00:51 +02:00
florian 1c178ed75c
ci/cd - fix version output for beta/release workflows 2023-04-29 23:58:39 +02:00
florian ab7e1f6244
ci/cd - add missing runs-on in beta/release workflows 2023-04-29 23:41:24 +02:00
florian 0f499c9d37
ci/cd - fix typo in push packagecloud workflow 2023-04-29 23:34:46 +02:00
florian d0f6d59f6f
road to v1.5.0-beta 🚀 2023-04-29 21:43:26 +02:00
florian 4086628697
ci/cd - fix typo in doc-to-pdf 2023-04-29 21:03:34 +02:00
florian 312757594c
ci/cd - fix typo in beta/release (again) 2023-04-29 21:00:07 +02:00
florian 11f86ea754
ci/cd - fix typo in beta/release 2023-04-29 20:56:47 +02:00
florian ad16067420
use proper links in docs, automatic doc push and add pdf to releases 2023-04-29 20:54:56 +02:00
florian 641a27f5ec
ci/cd - remove useless needs for ui branch 2023-04-29 16:58:37 +02:00
florian 4684070818
ci/cd - fix typo in staging workflow 2023-04-29 16:55:21 +02:00
florian 6784bd6914
ci/cd - fix wrong condition for container-build workflow 2023-04-29 16:53:33 +02:00
florian ef1897de82
ci/cd - add missing needs to tests-ui staging 2023-04-29 16:50:57 +02:00
florian 9815f22d72
ci/cd fix typo in container-build workflow 2023-04-29 16:48:34 +02:00
florian 14a4db8bdb
use current_bw_version for docs, add automatic tests to ui branch and fix letsencrypt permissions for linux 2023-04-29 16:47:28 +02:00
florian 58fd04430e
ci/cd - fix typo in staging.yml 2023-04-29 15:22:42 +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 04db308c93 ci/cd - edit staging workflow 2023-04-28 15:12:35 +02:00
bunkerity 5d2045803c ci/cd - edit staging workflow 2023-04-28 15:11:55 +02:00
bunkerity 1bc42204d9 ci/cd - use dynamic random subdomains to bypass LE rate limit 2023-04-05 13:33:21 +02:00
florian 8b54073a7e
fix missing backslashes in autoconf custom configs and add missing full reload after custom configs update 2023-04-04 22:50:55 +02:00
bunkerity 6af3b985a0 fix deadlock in autoconf/swarm and fix missing favicon in default and loading pages 2023-04-04 15:53:03 +02:00
bunkerity 220374db4b ci/cd - fix syntax error in jobs 2023-04-03 15:34:20 +02:00
bunkerity 9b8606d40e fix redis hostname for k8s files and only append tasks with a desired state of running for autoconf/swarm 2023-04-03 15:32:44 +02:00
bunkerity 1c3c0d63b7 ci/cd - fix missing k8s create infra job 2023-04-03 12:16:41 +02:00
bunkerity e8c6d04aa6 ci/cd - various fixes for k8s tests 2023-04-03 12:15:54 +02:00
florian 1bb79b155b
linux - add geoip deps to rhel rpm 2023-03-31 14:57:42 +02:00
florian ea1394b044
ci/cd - add linux/rhel tests, fix docker/behind-reverse-proxy, fix missing stream module for linux/fedora and remove placement constraints for swarm 2023-03-31 13:04:51 +02:00
florian b3eb647459
ci/cd - temp disable autoconf tests and add missing packages for linux/centos 2023-03-31 09:52:37 +02:00
Théophile Diot 8c67d08aee
Lint code 2023-03-09 10:04:59 +01:00
bunkerity 966f57ceaa init work on examples refactoring 2023-03-08 17:01:55 +01:00
bunkerity c7d8b7dc18 update resty core and http lua to support latest version of stream lua and various fixes related to ci/cd 2023-03-07 15:31:41 +01:00
bunkerity b28668d68a ci/cd - revert back to old condition for pulling images 2023-03-07 11:42:36 +01:00
bunkerity 706305917a ci/cd - fix wrong autoconf local image name, add missing secrets for tests-ui, fix wrong IMAGE_TAG for tests-k8s and try to fix pcre issue on linux 2023-03-07 11:40:39 +01:00
bunkerity 2d440d26e1 ci/cd - add missing runs-on for reusable tests-ui 2023-03-07 10:51:52 +01:00
bunkerity 93945f391f ci/cd - add ui tests 2023-03-07 10:49:27 +01:00
florian 01fab41620
ci/cd - fix CVE-2022-1304 and wrong TEST_DOMAINS 2023-03-06 16:20:35 +01:00
florian 88a2955173
ci/cd - fix log() call 2023-03-05 21:51:04 +01:00
florian b95d1bc6d5
ci/cd - add missing log() and fix TYPE for linux tests 2023-03-05 19:00:25 +01:00
florian 2604d9a563
ci/cd - trying a hack to support dynamic runs-on 2023-03-05 17:51:03 +01:00
bunkerity ed4d945293 ci/cd - trying to fix runs-on problem 2023-03-03 16:29:58 +01:00
bunkerity 53410e831b ci/cd - remove steps 2023-03-03 16:19:18 +01:00
bunkerity 609210021d ci/cd - inherit secrets for tests workflow 2023-03-03 16:08:56 +01:00
bunkerity a168f2bceb ci/cd - fix rhel build and runs-on for tests 2023-03-03 15:51:20 +01:00
bunkerity 8bf211bc53 ci/cd - fix linux package generation (again) 2023-03-03 15:30:25 +01:00
bunkerity 9250faa524 ci/cd - fix linux package generation 2023-03-03 15:12:53 +01:00
bunkerity 7149a34cc5 ci/cd - add empty .trivyignore and rename redhat to rhel 2023-03-03 11:44:05 +01:00
bunkerity 5c5dbcfc72 ci/cd - fix type in push-packagecloud workflow 2023-03-03 11:34:15 +01:00
bunkerity e826c619f8 ci/cd - fix wrong quotes in delete-infra workflow 2023-03-03 11:31:48 +01:00
bunkerity b24cbf73da ci/cd - fix wrong quotes in tests workflow 2023-03-03 11:27:23 +01:00
bunkerity 99e27c4300 ci/cd - add missing input in tests workflow 2023-03-03 11:22:16 +01:00
bunkerity ee0e608de7 ci/cd - fix negative conditions 2023-03-03 11:18:43 +01:00
bunkerity 10f9658f56 ci/cd - fix wrong jobs name in needs 2023-03-03 11:08:15 +01:00
bunkerity 27bac0382f ci/cd - trying to fix dynamic runs-on 2023-03-03 11:03:40 +01:00
bunkerity 97627cf836 ci/cd - pass runs-on to reusable workflows 2023-03-03 10:41:05 +01:00
bunkerity 8969b1e726 ci/cd - remove version from reusable workflows 2023-03-03 10:21:35 +01:00
bunkerity 8ca292fb36 ci/cd - change reusable workflow paths 2023-03-03 10:20:04 +01:00
bunkerity 8e73eb87cf ci/cd - fix syntax errors 2023-03-03 10:11:58 +01:00
bunkerity 95c5e2e47f ci/cd - move dynamic runs-on from reusable to staging workflow 2023-03-02 12:01:18 +01:00
bunkerity 131857a9b3 ci/cd - fix wrong indent in staging/delete-infra-* 2023-03-02 11:57:40 +01:00
bunkerity fc1cab1af4 ci/cd - remove subfolder and continue work on staging 2023-03-02 11:56:14 +01:00
bunkerity 25729fda74 ci/cd - init work 2023-03-01 17:46:40 +01:00
Théophile Diot 7a8a75901f
Fix multiple CVEs (see comment) (finally) 2023-02-22 10:13:34 +01:00
Théophile Diot 0f35c05eee
Ignore multiple CVEs due to missing deps in python:3.11-alpine 2023-02-16 14:16:32 +01:00
Théophile Diot 38b59954a3
Lint yml files 2022-12-14 17:10:39 +01:00
florian 984b6c5f05
ci/cd - speedup codeql by ignoring some folders not containing python files 2022-11-16 22:14:35 +01:00
florian 272de0b8be
ci/cd - fix codeql config path 2022-11-16 22:03:14 +01:00
florian d9fc713c4d
ci/cd - move codeql config to file 2022-11-16 22:01:48 +01:00
florian c2503d63d3
ci/cd - add codeql 2022-11-16 21:57:33 +01:00
florian fa1739439d
ci/cd - init work on dependabot 2022-11-16 21:25:06 +01:00
florian 82df3f17f7
ci/cd - init work 2022-11-16 20:52:41 +01:00
TheophileDiot 79eea0e998 Linting + starting to migrate bunkerweb to the 1.5 2022-10-19 17:37:13 +02:00
florian 478e980189
ci/cd - temp disable k8s test 2022-08-26 19:14:28 +02:00
bunkerity 72caf907a0
ci/cd - temp disable swarm tests 2022-08-25 16:06:39 +02:00
bunkerity 01acb1cf30
ci/cd - temp disable nextcloud/swarm 2022-08-25 15:13:56 +02:00
bunkerity fc3c7892da
ci/cd - add missing prepare for prod tests 2022-08-25 11:41:31 +02:00
bunkerity 6afdb298fa
lua - fix pcall for asn/country mmdb lookup 2022-08-25 10:33:09 +02:00
bunkerity 04019a617a
tests - fix nextcloud/swarm 2022-08-25 09:12:13 +02:00
bunkerity 4244399eb1
road to v1.4.3 🚀 2022-08-24 15:14:26 +02:00
bunkerity 66029a316c
tests - edit prod workflow 2022-08-24 10:29:13 +02:00
bunkerity 61d57b4ebb
tests - fix mongo-express/swarm 2022-08-23 13:27:15 +02:00
bunkerity 8f273a929d
ci/cd - fix missing comment chars 2022-08-23 09:34:02 +02:00
bunkerity 45f4e06ace
road to v1.4.3 2022-08-23 09:32:07 +02:00
florian 561e64a890
tests - road to debian 2022-08-22 16:12:47 +02:00
bunkerity 17801caebd
temp disable arm 2022-08-12 16:39:49 +02:00
bunkerity 552588adf1
temp disable arm 2022-08-12 16:39:00 +02:00
bunkerity 3762c38741
tests - copy variables.env for Linux tests 2022-08-08 13:57:00 +02:00
bunkerity e8305b0b65
tests - fix missing prestashop/kubernetes.yml 2022-07-28 14:28:29 +02:00
bunkerity b076370090
examples - fix mongo-express/swarm 2022-07-26 14:56:02 +02:00
bunkerity 95e3022eba
examples - fix autoconf/reverse-proxy-singlesite 2022-07-26 11:19:46 +02:00
bunkerity e90d4cc7e2
tests - fix json for reverse-proxy-multisite 2022-07-25 10:53:16 +02:00
bunkerity 17e14f4d53
tests - fix wildcard with sudo 2022-07-21 15:59:16 +02:00
bunkerity d1d2e51a31
cleanup tests directory and init tests refactoring for drupal 2022-07-20 11:03:14 +02:00
bunkerity 02db54ce0d
examples - follow redirect when downloading authelia for linux 2022-07-19 16:55:10 +02:00
bunkerity 2505bc015f
tests - add linux to authelia kinds 2022-07-19 15:54:32 +02:00
bunkerity b1df38374f
tests - temp enable docker 2022-07-19 15:48:50 +02:00
bunkerity 850a8057cf
ignore CVE-2022-30065 until we have a fix 2022-07-19 12:04:10 +02:00
florian f47ab0adc5 tests - integrated LinuxTest 2022-07-18 22:00:14 +02:00
bunkerity bb425bc361
tests - init work on Linux tests 2022-07-18 14:30:46 +02:00
bunkerity 720f36f473
tests - init kubernetes refactoring 2022-07-15 13:20:14 +02:00
florian 3b73c50c32 tests - ignore docker stack ps return code 2022-07-14 22:25:39 +02:00
florian ba6fddb56a tests - init swarm refactoring 2022-07-14 22:18:35 +02:00
florian eb59a9377d tests - init refactoring for autoconf 2022-07-13 22:57:36 +02:00
florian dfc5f2e79e tests - export runner env 2022-07-13 20:52:59 +02:00
florian 16573a397e tests - do not run as root 2022-07-13 16:59:23 +02:00
florian 56afbd4577 tests - run as root 2022-07-13 16:04:41 +02:00
florian b64af85262 tests - DockerTest on the road 2022-07-13 15:14:08 +02:00
florian 658ab75049
docs - add ansible diagram 2022-07-11 07:51:56 +02:00
bunkerity 5586b3733b
misc - add DENY_HTTP_STATUS setting (403 or 444) 2022-07-07 15:15:45 +02:00
florian 4a699ef6c6
fix missing local Linux images import in ci/cd, and fix bug related to jobs in Linux integration 2022-06-26 16:50:55 +02:00
bunkerity cd0d70b8f6 cache dev Linux images in ci/cd and disable site config generation for autoconf/swarm/k8s 2022-06-22 14:32:27 +02:00
florian 4a2504c3b8 reflect ci/cd changes to dev 2022-06-19 10:21:50 +02:00
florian fd0c7b1e53 ci/cd - add automatic build for Linux images 2022-06-16 17:40:15 +02:00
florian 1e6d62ce79
fix packagecloud yank name 2022-06-16 12:52:44 +02:00