Beispiel #1
0
def builder_exec_cmd(args):
    instance = BuilderInstance.instance()
    exec_remote_to_stdout(instance, args['remote_cmd'])
Beispiel #2
0
def conan_exec_cmd(args):
    instance = ConanInstance.instance()
    exec_remote_to_stdout(instance, args['remote_cmd'])
Beispiel #3
0
def runner_discovery():
    """Execute compiler discovery on the builder instance."""
    instance = RunnerInstance.instance()
    exec_remote_to_stdout(
        instance,
        ['bash', '-c', 'cd /infra && sudo /infra/init/do-discovery.sh'])
Beispiel #4
0
def runner_pull():
    """Execute git pull on the builder instance."""
    instance = RunnerInstance.instance()
    exec_remote_to_stdout(instance,
                          ['bash', '-c', 'cd /infra && sudo git pull'])
Beispiel #5
0
def runner_exec(remote_cmd: Sequence[str]):
    """Execute REMOTE_CMD on the builder instance."""
    instance = RunnerInstance.instance()
    exec_remote_to_stdout(instance, remote_cmd)
Beispiel #6
0
def conan_exec(remote_cmd: Sequence[str]):
    """Execute the REMOTE_CMD on the conan instance."""
    instance = ConanInstance.instance()
    exec_remote_to_stdout(instance, remote_cmd)