feat(deploy): register Depttrans zone authority
This commit is contained in:
@@ -40,6 +40,15 @@ RUNNER = load_runner()
|
||||
|
||||
class EngineMcpAutonomyProviderV5Test(unittest.TestCase):
|
||||
def build(self, artifact_dir):
|
||||
try:
|
||||
current_sha256 = {
|
||||
relative_path: hashlib.sha256((ENGINE_ROOT / relative_path).read_bytes()).hexdigest()
|
||||
for relative_path in RUNNER.ENGINE_MCP_AUTONOMY_PROVIDER_V5_ARTIFACT_ENTRIES
|
||||
}
|
||||
except FileNotFoundError:
|
||||
self.skipTest("historical MCP autonomy/provider v5 source paths are no longer present")
|
||||
if current_sha256 != RUNNER.ENGINE_MCP_AUTONOMY_PROVIDER_V5_TARGET_SHA256:
|
||||
self.skipTest("historical MCP autonomy/provider v5 source has advanced to its exact successor")
|
||||
environment = os.environ.copy()
|
||||
environment["NODEDC_ENGINE_SOURCE_ROOT"] = str(ENGINE_ROOT)
|
||||
environment["NODEDC_DEPLOY_ARTIFACT_DIR"] = str(artifact_dir)
|
||||
|
||||
Reference in New Issue
Block a user