Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): fix the building failure when applying patches #11696

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build/kong_bindings.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ def _load_vars(ctx):

# convert them into a list of labels relative to the workspace root
# TODO: this may not change after a bazel clean if cache exists
patches = [
patches = sorted([
'"@kong//:%s"' % str(p).replace(workspace_path, "").lstrip("/")
for p in ctx.path(workspace_path + "/build/openresty/patches").readdir()
]
])

content += '"OPENRESTY_PATCHES": [%s],' % (", ".join(patches))

Expand Down
7 changes: 7 additions & 0 deletions changelog/unreleased/kong/fix_patch_order.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
message: fix the building failure when applying patches
type: bugfix
scope: Core
prs:
- 11696
jiras:
- KAG-2712