From 23e6aa078b29ddb325d57d7905f1a68c47fa489f Mon Sep 17 00:00:00 2001 From: Vinicius Mignot Date: Fri, 12 Jan 2024 16:11:19 -0300 Subject: [PATCH] fix(build): force invalidation of wasm related env vars --- build/README.md | 3 --- build/kong_bindings.bzl | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build/README.md b/build/README.md index 7f54803d68fa..7e795dff7774 100644 --- a/build/README.md +++ b/build/README.md @@ -195,9 +195,6 @@ time to control how the ngx_wasm_module repository is sourced: tells bazel to build from a branch rather than using the tag found in our `.requirements` file -**NOTE:** these environment variables currently do not integrate very well with -bazel's cache mechanism, so you may need to clear cache after changing their value. - ## Cross compiling Cross compiling is currently only tested on Ubuntu 22.04 x86_64 with following targeting platforms: diff --git a/build/kong_bindings.bzl b/build/kong_bindings.bzl index 2bab05a8fa89..90353230f942 100644 --- a/build/kong_bindings.bzl +++ b/build/kong_bindings.bzl @@ -110,6 +110,7 @@ load_bindings = repository_rule( "INSTALL_DESTDIR", "RPM_SIGNING_KEY_FILE", "NFPM_RPM_PASSPHRASE", + "NGX_WASM_MODULE_BRANCH", "NGX_WASM_MODULE_REMOTE", ], )