Commit Graph

281 Commits

Author SHA1 Message Date
04393a679c
Merge pull request #18 from N0rthernL1ghts/dependabot/github_actions/docker/bake-action-3.0.1
Bump docker/bake-action from 2.3.0 to 3.0.1
2023-05-03 01:14:17 +02:00
b51d428221
Remove GHA cache due to issues when used in combination with registry cache 2023-05-03 00:46:44 +02:00
dependabot[bot]
449429be08
Bump docker/bake-action from 2.3.0 to 3.0.1
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 2.3.0 to 3.0.1.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v2.3.0...v3.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 23:05:16 +00:00
82237ce431
Merge pull request #17 from N0rthernL1ghts/revert-15-dependabot/github_actions/docker/bake-action-3.0.1
Revert "Bump docker/bake-action from 2.3.0 to 3.0.1"
2023-04-23 17:33:51 +02:00
e96813bdd1
Revert "Bump docker/bake-action from 2.3.0 to 3.0.1" 2023-04-23 17:33:15 +02:00
f26a5d68e6
Merge pull request #15 from N0rthernL1ghts/dependabot/github_actions/docker/bake-action-3.0.1
Bump docker/bake-action from 2.3.0 to 3.0.1
2023-04-22 22:48:59 +02:00
dependabot[bot]
eed560bb99
Bump docker/bake-action from 2.3.0 to 3.0.1
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 2.3.0 to 3.0.1.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v2.3.0...v3.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-19 23:01:03 +00:00
5b75b4119e
Use variable for REGISTRY_CACHE 2023-04-11 12:59:28 +02:00
4d712f7861
Fix link to packages 2023-04-11 03:02:19 +02:00
83e0bc5924
Link packages 2023-04-11 03:01:17 +02:00
04f0dc4d93
Improve formatting, order and docs 2023-04-09 21:58:01 +02:00
ec520c2e42
Use variable for REGISTRY_CACHE 2023-04-09 21:46:50 +02:00
0a225eedd7
Add deprecation notice for docker.io images 2023-04-09 21:09:15 +02:00
9a2794d584
Fix double tagging 2023-04-08 19:46:25 +02:00
e39555b0b1
Simlify, and refactor to use functions
This should greatly reduce duplication and overall size
2023-04-08 19:39:44 +02:00
a6080cbef0
Use SHA-1 instead of MD5 for cache tags 2023-04-08 16:49:58 +02:00
7e55f47ac6
Implement registry cache as additional cache for all builds 2023-04-08 16:39:12 +02:00
f8beef6bf4
Attempt using both gha and registry cache for 6.1.1 2023-04-08 15:52:34 +02:00
cad36f6e7e
Fix some old stuff 2023-04-06 21:36:33 +02:00
a50ce69fc0
Reformat and cleanup 2023-04-06 21:32:28 +02:00
6f165400a4
Apply formatting 2023-04-06 08:40:00 +02:00
f57537dfcf
Define more org.opencontainers labels 2023-04-06 03:30:03 +02:00
7c8fa6cfc8
Add org.opencontainers.image.source label 2023-04-06 00:33:24 +02:00
d236f0ba51
Update ghcr.io namespace 2023-04-06 00:01:28 +02:00
69c43a5caa
Add ghcr.io tags and push 2023-04-05 23:14:50 +02:00
1357f2fec3
Add step for authorizing to ghcr 2023-04-05 22:54:20 +02:00
fd6fba8dc9
Trigger build 2023-04-05 19:45:00 +02:00
8a0671090e
Remove empty defintion 2023-04-05 19:31:57 +02:00
f70d3d891c
Use platform as part of the scope 2023-04-05 19:20:00 +02:00
fc85a1d8cb
Improve caching
Inspired by: https://hackernoon.com/one-dockerfile-is-all-it-takes-how-i-fell-in-love-with-bake
2023-04-05 19:09:34 +02:00
23192aaa94
Update WordPress 6.1.1 -> 6.2.0 2023-04-02 20:32:47 +02:00
e184127d38
Update formatting 2023-04-02 20:31:39 +02:00
aeb39d0f13
Use target _blank 2023-04-02 20:25:19 +02:00
250227f3e1
Refactor: Change structure. Remove strictness 2023-03-22 03:24:27 +01:00
90f38805fa
Rename 20-install-plugins -> 20-install-resources (more generic) 2023-03-22 02:38:07 +01:00
ef47e1b2b9
Add wp-theme script for managing themes 2023-03-22 02:35:46 +01:00
1b62dba10a
Add delete functionality 2023-03-22 02:34:13 +01:00
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