public class StepsRunner extends Object
Use by first calling begin(com.google.cloud.tools.jib.configuration.BuildConfiguration) and then calling the individual step running methods. Note
that order matters, so make sure that steps are run before other steps that depend on them. Wait
on the last step by calling the respective wait... methods.
| Modifier and Type | Method and Description |
|---|---|
static StepsRunner |
begin(BuildConfiguration buildConfiguration)
Starts building the steps to run.
|
StepsRunner |
dockerLoadSteps(DockerClient dockerClient) |
StepsRunner |
registryPushSteps() |
BuildResult |
run() |
StepsRunner |
tarBuildSteps(Path outputPath) |
public static StepsRunner begin(BuildConfiguration buildConfiguration)
buildConfiguration - the BuildConfigurationStepsRunnerpublic StepsRunner dockerLoadSteps(DockerClient dockerClient)
public StepsRunner tarBuildSteps(Path outputPath)
public StepsRunner registryPushSteps()
public BuildResult run() throws ExecutionException, InterruptedException
Copyright © 2019. All rights reserved.