Remove the image build and consolidate operational code under scripts
This commit is contained in:
77 files changed
+586
-260607
No files matched your search
@@ -7,6 +7,6 @@ METADATA = Meta(summary="Verify a working Docker toolchain or install it on stoc
|
||||
|
||||
|
||||
def run(ctx, args):
|
||||
provisioning = Path(ctx.paths.commons) / "ci/scripts/init-node"
|
||||
ctx.sys.sudo(["python3", "-E", "-s", "-m", "provisioning.baseline", "--docker-policy"],
|
||||
provisioning = Path(ctx.paths.commons) / "scripts"
|
||||
ctx.sys.sudo(["python3", "-E", "-s", "-m", "provisioning.docker"],
|
||||
cwd=str(provisioning))
|
||||
@@ -174,7 +174,7 @@ def run(ctx, args):
|
||||
if operation == "begin":
|
||||
port, address = _original_endpoint(ctx, args)
|
||||
options.extend(["--original-port", str(port), "--client-address", address, "--token", uuid.uuid4().hex])
|
||||
installer = Path(__file__).resolve().parents[2] / "ci/scripts/init-node/provisioning/manual_bundle.py"
|
||||
installer = Path(__file__).resolve().parents[2] / "scripts/provisioning/manual_bundle.py"
|
||||
bundle = ctx.sys.sudo(["/usr/bin/python3", "-I", "-B", str(installer)], capture=True).stdout.strip()
|
||||
else:
|
||||
if not state:
|
||||
|
||||
Reference in new issue
Block a user