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 |
|---|---|
StepsRunner |
authenticatePush() |
static StepsRunner |
begin(BuildConfiguration buildConfiguration)
Starts building the steps to run.
|
StepsRunner |
buildAndCacheApplicationLayers() |
StepsRunner |
buildImage() |
StepsRunner |
loadDocker(DockerClient dockerClient) |
StepsRunner |
pullAndCacheBaseImageLayers() |
StepsRunner |
pullBaseImage() |
StepsRunner |
pushApplicationLayers() |
StepsRunner |
pushBaseImageLayers() |
StepsRunner |
pushContainerConfiguration() |
StepsRunner |
pushImage() |
StepsRunner |
retrieveTargetRegistryCredentials() |
BuildResult |
run() |
StepsRunner |
writeTarFile(Path outputPath) |
public static StepsRunner begin(BuildConfiguration buildConfiguration)
buildConfiguration - the BuildConfigurationStepsRunnerpublic StepsRunner retrieveTargetRegistryCredentials()
public StepsRunner authenticatePush()
public StepsRunner pullBaseImage()
public StepsRunner pullAndCacheBaseImageLayers()
public StepsRunner pushBaseImageLayers()
public StepsRunner buildAndCacheApplicationLayers()
public StepsRunner buildImage()
public StepsRunner pushContainerConfiguration()
public StepsRunner pushApplicationLayers()
public StepsRunner pushImage()
public StepsRunner loadDocker(DockerClient dockerClient)
public StepsRunner writeTarFile(Path outputPath)
public BuildResult run() throws ExecutionException, InterruptedException
Copyright © 2019. All rights reserved.