Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fbcode_macros[sh_test] change labels into remote_execution attribute
Test Plan: CI checked several target and their attributes before and after the change. 1. before ``` 10:23:36 0|[[email protected]]:/data/users/kuki/fbsource/fbcode (856d0843b)💜 buck2 targets //antlir/vm/tests:python-remote-execution -A | grep capabili ... "labels":{"__type":"concat","items":[["disabled","vmtest","heavyweight","use-testpilot-adapter","tpx:list-format-migration:json","test-framework=8:vmtest","vmtest_python","antlir_macros","antlir__internal","buck","dev","clang","platform010","x86_64","buck_sh","supports_remote_execution","re_opts_capabilities={\"platform\":\"mtia\",\"codename\":\"freya\"}","re_remote_cache_enabled=False"],... "remote_execution":{"capabilities":{"codename":"freya","platform":"mtia"},"remote_cache_enabled":false,"use_case":null}, ``` after: ``` 10:28:05 0|[[email protected]]:/data/users/kuki/fbsource/fbcode (dc24fdba8)💜 buck2 targets //antlir/vm/tests:python-remote-execution -A | grep capabili ... "labels":{"__type":"concat","items":[["supports_remote_execution","re_opts_capabilities={\"platform\":\"mtia\", \"codename\":\"freya\"}","disabled","vmtest","heavyweight","use-testpilot-adapter","tpx:list-format-migration:json","test-framework=8:vmtest","vmtest_python","antlir_macros","antlir__internal","buck","dev","clang","platform010","x86_64","buck_sh"],... "remote_execution":{"capabilities":{"codename":"freya","platform":"mtia"},"use_case":null}, ``` 2. before: ``` 10:42:45 0|[[email protected]]:/data/users/kuki/fbsource/fbcode (086cc3cf8)💜 buck2 targets //hphp/test:verify_slow_interp_jit_re -A | grep capa ... "labels":{"__type":"concat","items":[["buck","dev","clang","platform010","x86_64","custom","custom-type-json","fbcode_macros","hphp-test","tpx-test-type:hphp-test","long_running","run_as_bundle","tpx:experimental-shard-size-for-bundle=3","re_opts_capabilities={\"platform\": \"linux-remote-execution\"}","re_opts_use_case=hhvm_test","re_remote_cache_enabled=false","supports_remote_execution","buck2_run_from_project_root"],..., "remote_execution":{"capabilities":{"platform":"linux-remote-execution"},"remote_cache_enabled":false,"use_case":"hhvm_test"}, ``` after: ``` 10:46:47 0|[[email protected]]:/data/users/kuki/fbsource/fbcode (2027d6fe0)💜 buck2 targets //hphp/test:verify_slow_interp_jit_re -A | grep capa ... "labels":{"__type":"concat","items":[["buck","dev","clang","platform010","x86_64","custom","custom-type-json","fbcode_macros","hphp-test","tpx-test-type:hphp-test","long_running","run_as_bundle","tpx:experimental-shard-size-for-bundle=3","buck2_run_from_project_root"],...,"re_remote_cache_enabled=False"]]}, "remote_execution":{"capabilities":{"platform":"linux-remote-execution"},"remote_cache_enabled":false,"use_case":"hhvm_test"}, ``` Reviewed By: markisaa Differential Revision: D50178914 fbshipit-source-id: 3e910ef461e7ab19ece4c9d29704f1b27e00dde6
- Loading branch information