MCPcopy Create free account
hub / github.com/ceph/ceph / pull_base_image

Function pull_base_image

src/script/cpatch.py:83–88  ·  view source on GitHub ↗

Pull the base image.

(cli_ctx)

Source from the content-addressed store, hash-verified

81
82
83def pull_base_image(cli_ctx):
84 """Pull the base image."""
85 cmd = [cli_ctx.engine, "pull", cli_ctx.base_image]
86 if cli_ctx.root_build:
87 cmd.insert(0, "sudo")
88 _run(cmd).check_returncode()
89
90
91def push_image(cli_ctx):

Callers 1

mainFunction · 0.85

Calls 2

_runFunction · 0.70
insertMethod · 0.45

Tested by

no test coverage detected