Skip to content

Commit

Permalink
Deprecate WordPress versions prior to 6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
xZero707 committed May 13, 2024
1 parent a3085c8 commit 7511668
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 105 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ Attempt to fix several of WordPress anti-patterns in ready to deploy container
* It has been deprecated/removed in the base
* This improves build speed as buidling linux/armhf is slow and was taking the most of the time
* Simplifies maintenance
- 2024-05-13 Deprecation of WordPress versions prior to 6.2
* Old images will remain, but will receive no further updates, until their eventual removal. Usage is not recommended.
* This decision will make build stack significantly lighter, ensuring much faster future builds

#### Public builds (docker)

Expand Down
92 changes: 1 addition & 91 deletions build/docker-bake.hcl
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
group "default" {
targets = [
"5_9_0",
"5_9_1",
"5_9_2",
"5_9_3",
"6_0_0",
"6_0_1",
"6_0_2",
"6_0_3",
"6_1_0",
"6_1_1",
"6_2_0",
"6_2_1",
"6_2_2",
Expand Down Expand Up @@ -74,7 +64,7 @@ function "get-cache-to" {

# Get list of image tags and registries
# Takes a version and a list of extra versions to tag
# eg. get-tags("5.9.0", ["5", "5.9", "latest"])
# eg. get-tags("6.2.0", ["6", "6.2", "latest"])
function "get-tags" {
params = [version, extra_versions]
result = concat(
Expand All @@ -95,86 +85,6 @@ function "get-tags" {
# Define the build targets
##########################

target "5_9_0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("5.9.0")
cache-to = get-cache-to("5.9.0")
tags = get-tags("5.9.0", [])
args = get-args("5.9.0", "5.9.0")
}

target "5_9_1" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("5.9.1")
cache-to = get-cache-to("5.9.1")
tags = get-tags("5.9.1", [])
args = get-args("5.9.1", "5.9.1")
}

target "5_9_2" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("5.9.2")
cache-to = get-cache-to("5.9.2")
tags = get-tags("5.9.2", [])
args = get-args("5.9.2", "5.9.1")
}

target "5_9_3" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("5.9.3")
cache-to = get-cache-to("5.9.3")
tags = get-tags("5.9.3", ["5", "5.9"])
args = get-args("5.9.3", "5.9.1")
}

target "6_0_0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("6.0.0")
cache-to = get-cache-to("6.0.0")
tags = get-tags("6.0.0", [])
args = get-args("6.0.0", "5.9.1")
}

target "6_0_1" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("6.0.1")
cache-to = get-cache-to("6.0.1")
tags = get-tags("6.0.1", [])
args = get-args("6.0.1", "5.9.1")
}

target "6_0_2" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("6.0.2")
cache-to = get-cache-to("6.0.2")
tags = get-tags("6.0.2", [])
args = get-args("6.0.2", "5.9.1")
}

target "6_0_3" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("6.0.3")
cache-to = get-cache-to("6.0.3")
tags = get-tags("6.0.3", ["6.0"])
args = get-args("6.0.3", "5.9.1")
}

target "6_1_0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("6.1.0")
cache-to = get-cache-to("6.1.0")
tags = get-tags("6.1.0", [])
args = get-args("6.1.0", "5.9.1")
}

target "6_1_1" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("6.1.1")
cache-to = get-cache-to("6.1.1")
tags = get-tags("6.1.1", ["6.1"])
args = get-args("6.1.1", "5.9.1")
}

target "6_2_0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("6.2.0")
Expand Down
14 changes: 0 additions & 14 deletions patches/5.9.0/wp-admin-update-core.patch

This file was deleted.

0 comments on commit 7511668

Please sign in to comment.