From e2e92a43520304afed7fcd0621932275edd90798 Mon Sep 17 00:00:00 2001 From: Nicolas Lopez Date: Wed, 13 Nov 2024 15:54:40 -0500 Subject: [PATCH] update for newer version of prelude --- buck2/cpp/.buckconfig | 8 ++++---- buck2/cpp/toolchains/BUCK | 7 +++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/buck2/cpp/.buckconfig b/buck2/cpp/.buckconfig index c3ac155e..6674d939 100644 --- a/buck2/cpp/.buckconfig +++ b/buck2/cpp/.buckconfig @@ -38,10 +38,10 @@ digest_algorithms = SHA256 [buck2_re_client] -engine_address = .cluster.engflow.com -action_cache_address = .cluster.engflow.com -cas_address = .cluster.engflow.com -http_headers = x-engflow-auth-method:jwt-v0,x-engflow-auth-token:LONG_JWT_STRING +engine_address = glass.cluster.engflow.com +action_cache_address = glass.cluster.engflow.com +cas_address = glass.cluster.engflow.com +http_headers = x-engflow-auth-method:jwt-v0,x-engflow-auth-token:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImZhNTI2ZWUwLWNiNGQtNTljMy1iNzg1LTdjOTE0M2NlYWE4NiJ9.eyJpc3MiOiJFbmdGbG93IEluYy4iLCJpYXQiOjE3MzEwODEzOTYsImV4cCI6MTc0Njg5MjU5NiwiZW5nZmxvdy52ZXJzaW9uIjoxLCJlbmdmbG93LnNlc3Npb24ubmFtZSI6Im5pY29sYXNAZW5nZmxvdy5jb20iLCJlbmdmbG93LnNlc3Npb24ucm9sZXMiOlsiYWRtaW4iXSwiZW5nZmxvdy5zZXNzaW9uLnJvbGUiOiJhZG1pbiIsInByaW5jaXBhbCI6Im5pY29sYXNAZW5nZmxvdy5jb20ifQ.jy4eGx383ZfKHPJH0wOEYhFaojBhTqHtQtPh1xVWh4yWzGKebT89TvEl2ksxOWRnvtv2Numy5I_3mz_lVV2YyWfELI_Q8tzBGuq_qjhcgKsDCPFlcGXnMID_fWl1D6b3tHy5w7at5ZBaybXcChrrjsBrnLgjaHz2eTx1Iw5ELd3VOIFCGnl-CSQLpa6CTXFyqH2K0cnweHKhYdILgCHFO9YcOI7oTVeeZmrsaJGBuHLyMs9y2HoP0GNr4oVE43k2W0zIb1OVbcCwAoHmhOT9V1hI2zQmFaz9z2nT0qMYNrjQYeN-fa_FVEjYQdKZ6uSjxxXhu0-9H4lSu4DxTExKwxGLxSsw3RG4wJzDmvIwUPMzWbULwWX2AuF2Tgfd_YfabvzKodZvLmOUQih5c9UgKLzH1TFOoRom92PyhENScX1hR7UfnLr1zkFz1nOw3QNYuZZn5pdq3W8QUt9qDnjmJUpb872Hq_KYqOCNRy_HGO95oZbjkFXUwPkRpQaATQ_KnGfZreq659mKg7R-a8nIr8_xNIN55NAr3XITwCO8iwUcqxoyRoNmiM3c8j7s-8NfXsrxNMMzi8Q6hk2r4ZLAA3pBmrJzDxQwU1EUpVYGgv6QxNaANobL8lB0xrpvZGCgz9EUTSUy5CG4TWp_lYCp_r2ZOwOO7rTF5HEHN8N2u9w [build] execution_platforms = root//platforms:remote_platform diff --git a/buck2/cpp/toolchains/BUCK b/buck2/cpp/toolchains/BUCK index 3b13b551..eca80dcf 100644 --- a/buck2/cpp/toolchains/BUCK +++ b/buck2/cpp/toolchains/BUCK @@ -14,6 +14,7 @@ load("@prelude//toolchains:python.bzl", "system_python_bootstrap_toolchain") load("@prelude//toolchains:cxx.bzl", "cxx_tools_info_toolchain") load("@prelude//toolchains:remote_test_execution.bzl", "remote_test_execution_toolchain") +load("@prelude//tests:test_toolchain.bzl", "noop_test_toolchain") load("tools.bzl", "path_clang_tools") # We use the default system python toolchain in this example, focusing only on configuring the cpp toolchain. @@ -53,3 +54,9 @@ remote_test_execution_toolchain( } }, ) + +# In some cases the execution of test can fail looking for this `noop_test_toolchain`. +noop_test_toolchain( + name = "test", + visibility = ["PUBLIC"], +)