public class StepsRunner extends Object
Use by constructing the runner and calling run... each step. Make sure that steps are
run before other steps that depend on them. Wait on the last step.
| Constructor and Description |
|---|
StepsRunner(BuildConfiguration buildConfiguration,
Cache baseLayersCache,
Cache applicationLayersCache) |
public StepsRunner(BuildConfiguration buildConfiguration, Cache baseLayersCache, Cache applicationLayersCache)
public StepsRunner runRetrieveTargetRegistryCredentialsStep()
public StepsRunner runAuthenticatePushStep()
public StepsRunner runPullBaseImageStep()
public StepsRunner runPullAndCacheBaseImageLayersStep()
public StepsRunner runPushBaseImageLayersStep()
public StepsRunner runBuildAndCacheApplicationLayerSteps()
public StepsRunner runBuildImageStep()
public StepsRunner runPushContainerConfigurationStep()
public StepsRunner runPushApplicationLayersStep()
public StepsRunner runFinalizingPushStep()
public StepsRunner runFinalizingBuildStep()
public StepsRunner runPushImageStep()
public StepsRunner runLoadDockerStep()
public StepsRunner runWriteTarFileStep(Path outputPath)
public void waitOnPushImageStep()
throws ExecutionException,
InterruptedException
public void waitOnLoadDockerStep()
throws ExecutionException,
InterruptedException
public void waitOnWriteTarFileStep()
throws ExecutionException,
InterruptedException
public List<CachedLayer> getCachedBaseImageLayers() throws ExecutionException
pullAndCacheBaseImageLayersStepExecutionException - if pullAndCacheBaseImageLayersStep threw an exception
during executionpublic List<CachedLayerWithMetadata> getCachedApplicationLayers() throws ExecutionException
buildAndCacheApplicationLayerStepsExecutionException - if buildAndCacheApplicationLayerSteps threw an exception
during executionCopyright © 2018. All rights reserved.