Commit Graph

194 Commits

Author SHA1 Message Date
f79da27583 Update documentation for plugins installer
Also provide example of extending this image
2023-03-21 12:59:44 +01:00
53ab34b35e Rename to CONCURRENCY_LIMIT to WP_PLUGINS_INSTALL_CONCURRENCY and set default value to 5 2023-03-21 12:48:08 +01:00
47ba7873f1 Implement proccess locking for plugin installer in order to prevent script from running on multiple instances at the same time 2023-03-21 08:06:47 +01:00
879df6c042 Update tests and patch-util Docker image to use PHP 8.1 2023-03-21 02:12:31 +01:00
8df891a400 Refactor plugin installer
- Fixes issue where installation is dependent of existence of working database connection

- Overall improvements

- Move out some logic to wp-plugin script

- Use curl to download plugins, instead of wp cli
2023-03-21 01:40:07 +01:00
c26a0afd1f Define concurrency limit with variable 2023-03-17 21:14:26 +01:00
aa68d5ba82 Limit concurrency to 4 plugins per batch
This should help avoid concurrency related issues, sacrificing a little bit of performance
2023-03-17 21:00:06 +01:00
e2ed315ff2 Use indent of 4 spaces 2023-03-17 19:43:44 +01:00
a8f2aadab2 Trigger build - base image update 2023-03-17 03:16:04 +01:00
f387ec0773 Revert "Improve plugin installer reliability"
This reverts commit f81ec4c67e.
2023-03-15 02:54:53 +01:00
c41860611d Revert "Mark PLUGIN_PATH as mandatory variable"
This reverts commit 4fc19fa5e7.
2023-03-15 02:54:31 +01:00
4fc19fa5e7 Mark PLUGIN_PATH as mandatory variable 2023-03-15 02:38:24 +01:00
f81ec4c67e Improve plugin installer reliability 2023-03-15 02:33:50 +01:00
f0ce5dae9e Trigger build - refresh image 2023-03-06 20:02:00 +01:00
924a9c9304 Merge pull request #13 from N0rthernL1ghts/dependabot/github_actions/lewagon/wait-on-check-action-1.3.1
Bump lewagon/wait-on-check-action from 1.2.0 to 1.3.1
2023-03-05 15:19:56 +01:00
dependabot[bot]
0b69603a10 Bump lewagon/wait-on-check-action from 1.2.0 to 1.3.1
Bumps [lewagon/wait-on-check-action](https://github.com/lewagon/wait-on-check-action) from 1.2.0 to 1.3.1.
- [Release notes](https://github.com/lewagon/wait-on-check-action/releases)
- [Commits](https://github.com/lewagon/wait-on-check-action/compare/v1.2.0...v1.3.1)

---
updated-dependencies:
- dependency-name: lewagon/wait-on-check-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 23:02:59 +00:00
2fd2e0d6aa Trigger build - base image change 2023-02-01 01:52:03 +01:00
fcd9719d6b Merge pull request #12 from N0rthernL1ghts/dependabot/github_actions/docker/build-push-action-4
Bump docker/build-push-action from 3 to 4
2023-01-31 01:41:21 +01:00
dependabot[bot]
89fb3fa6a0 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-01-30 22:17:15 +00:00
e398d3a71a Fix issue where wp-config.php is not initialized 2023-01-24 02:17:20 +01:00
64722d5b6c Add healthcheck script and mechanism to make unhealthy if WP install integrity is compromised 2023-01-24 01:42:53 +01:00
fedfaeafc4 Apply patch during build time 2023-01-24 01:24:46 +01:00
bb3f62ef10 Initialize WordPress during build time 2023-01-23 23:03:06 +01:00
a72f393567 Remove nginx leftover 2023-01-23 22:46:31 +01:00
705a2d505d Remove built-in and use official docker-optimized wp-config.php instead 2023-01-23 22:32:36 +01:00
dd43a2e929 Remove WEB_ROOT env variable (legacy) 2023-01-23 19:50:30 +01:00
e5ad0997f6 Trigger build - base image change 2023-01-23 19:44:54 +01:00
4edf0ee410 Trigger build - base image change 2023-01-23 17:33:02 +01:00
fdb3c6727e Replace NGINX + PHP-FPM combo with NGINX Unit application server 2023-01-22 20:07:53 +01:00
824994c6b7 Retire PHP7.4. Welcome PHP8.1 2023-01-21 03:03:19 +01:00
3377076391 Remove deprecated instruction 2023-01-21 03:00:48 +01:00
88b4e4514a Add http.d directory
Missing since e344128779
2023-01-21 02:59:27 +01:00
149e34bcd2 Add maintainer label 2023-01-21 02:51:41 +01:00
0d454a15d9 Update nlss/base-alpine:3.14 -> nlss/base-alpine:3.16 2023-01-20 18:03:18 +01:00
e344128779 Remove remaining ties to nlss/php-nginx:7.4 image 2023-01-20 18:00:51 +01:00
6d526d71e1 Remove rootfs/usr/local/etc/php-fpm.d/ ties to nlss/php-nginx:7.4 image 2023-01-20 17:40:55 +01:00
550bcea00d Remove /etc/services.d/php-fpm/ ties to nlss/php-nginx:7.4 image 2023-01-20 17:38:08 +01:00
68da285e90 Remove /etc/cont-init.d ties to nlss/php-nginx:7.4 image 2023-01-20 17:32:48 +01:00
a1563b89f4 Merge pull request #11 from N0rthernL1ghts/other/deprecate-old-versions
Deprecate WordPress versions prior to 5.9
2023-01-20 17:05:16 +01:00
656e859e19 Deprecate WordPress versions prior to 5.9 2023-01-20 17:03:12 +01:00
3aa2e9e272 Update WordPress 6.1.0 -> 6.1.1 2023-01-19 23:48:13 +01:00
97e64857fe Restore builds for arm that were removed since 26669f06 2022-11-02 22:04:39 +01:00
506a372d35 Trigger build 2022-11-02 21:48:22 +01:00
a40e91ade4 Merge pull request #10 from N0rthernL1ghts/dependabot/github_actions/lewagon/wait-on-check-action-1.2.0
Bump lewagon/wait-on-check-action from 1.1.2 to 1.2.0
2022-11-02 21:45:12 +01:00
6aa1d765f5 Merge branch 'master' of github.com:N0rthernL1ghts/wordpress 2022-11-02 21:44:01 +01:00
46dd544a43 Update accordingly to recent updates 2022-11-02 21:42:06 +01:00
c2a0006ab3 Tag major versions 2022-11-02 21:40:14 +01:00
2fd59fe292 Update WordPress 6.0.3 -> 6.1.0 2022-11-02 21:37:13 +01:00
8d737c58c7 Update WordPress 6.0.2 -> 6.0.3 2022-11-02 21:33:34 +01:00
2077482c5d Update .gitignore 2022-11-02 21:28:11 +01:00