Classes | Functions | Variables
artifacts.artifact_targets Namespace Reference

Classes

class  CSharpExtArtifact
 
class  PHPArtifact
 
class  ProtocArtifact
 
class  PythonArtifact
 
class  RubyArtifact
 

Functions

def _reorder_targets_for_build_speed (targets)
 
def create_docker_jobspec (name, dockerfile_dir, shell_command, environ={}, flake_retries=0, timeout_retries=0, timeout_seconds=30 *60, extra_docker_args=None, verbose_success=False)
 
def create_jobspec (name, cmdline, environ={}, shell=False, flake_retries=0, timeout_retries=0, timeout_seconds=30 *60, use_workspace=False, cpu_cost=1.0, verbose_success=False)
 
def targets ()
 

Variables

dictionary _ARCH_FLAG_MAP = {'x86': '-m32', 'x64': '-m64'}
 
string _LATEST_MANYLINUX = "manylinux2014"
 
string _MACOS_COMPAT_FLAG = '-mmacosx-version-min=10.10'
 

Function Documentation

◆ _reorder_targets_for_build_speed()

def artifacts.artifact_targets._reorder_targets_for_build_speed (   targets)
private
Reorder targets to achieve optimal build speed

Definition at line 407 of file artifact_targets.py.

◆ create_docker_jobspec()

def artifacts.artifact_targets.create_docker_jobspec (   name,
  dockerfile_dir,
  shell_command,
  environ = {},
  flake_retries = 0,
  timeout_retries = 0,
  timeout_seconds = 30 * 60,
  extra_docker_args = None,
  verbose_success = False 
)
Creates jobspec for a task running under docker.

Definition at line 28 of file artifact_targets.py.

◆ create_jobspec()

def artifacts.artifact_targets.create_jobspec (   name,
  cmdline,
  environ = {},
  shell = False,
  flake_retries = 0,
  timeout_retries = 0,
  timeout_seconds = 30 * 60,
  use_workspace = False,
  cpu_cost = 1.0,
  verbose_success = False 
)
Creates jobspec.

Definition at line 64 of file artifact_targets.py.

◆ targets()

def artifacts.artifact_targets.targets ( )
Gets list of supported targets

Definition at line 417 of file artifact_targets.py.

Variable Documentation

◆ _ARCH_FLAG_MAP

dictionary artifacts.artifact_targets._ARCH_FLAG_MAP = {'x86': '-m32', 'x64': '-m64'}
private

Definition at line 98 of file artifact_targets.py.

◆ _LATEST_MANYLINUX

string artifacts.artifact_targets._LATEST_MANYLINUX = "manylinux2014"
private

Definition at line 25 of file artifact_targets.py.

◆ _MACOS_COMPAT_FLAG

string artifacts.artifact_targets._MACOS_COMPAT_FLAG = '-mmacosx-version-min=10.10'
private

Definition at line 96 of file artifact_targets.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:57