def pack_package(args, artifact, version):
  cmd = ["tar", "-C", "%s/%s" % (args.package_root, args.cluster),
    "-zchf", "%s/%s/%s-%s-%d.tar.gz" % (args.package_root,
        args.cluster, artifact, version, time.time()),
    "./%s-%s" % (artifact, version)]
  subprocess.check_call(cmd)
Pack the package with generated configuration files into a tarball.
dataset/ETHPy150Open XiaoMi/minos/client/deploy_utils.py/pack_package