Package io.jenkins.updatebot.kind.helm
Class HelmUpdater
java.lang.Object
io.jenkins.updatebot.kind.UpdaterSupport
io.jenkins.updatebot.kind.helm.HelmUpdater
- All Implemented Interfaces:
Updater
public class HelmUpdater extends UpdaterSupport
-
Constructor Summary
Constructors Constructor Description HelmUpdater()
-
Method Summary
Modifier and Type Method Description void
addVersionChangesFromSource(CommandContext context, Dependencies dependencyConfig, List<DependencyVersionChange> list)
Lets find changes from a local release build of a chart and push them into dependent projectsstatic boolean
applyRequirementsChanges(CommandContext context, List<DependencyVersionChange> changes, Requirements requirements, File requirementsFile)
protected boolean
fileExistsInDir(File dir, String fileName)
boolean
isApplicable(CommandContext context)
boolean
pushVersions(CommandContext context, List<DependencyVersionChange> changes)
protected boolean
pushVersionsForDir(CommandContext context, List<DependencyVersionChange> changes, File dir)
Methods inherited from class io.jenkins.updatebot.kind.UpdaterSupport
checkDependencies, pullVersions
-
Constructor Details
-
HelmUpdater
public HelmUpdater()
-
-
Method Details
-
applyRequirementsChanges
public static boolean applyRequirementsChanges(CommandContext context, List<DependencyVersionChange> changes, Requirements requirements, File requirementsFile) throws IOException- Throws:
IOException
-
isApplicable
-
fileExistsInDir
-
addVersionChangesFromSource
public void addVersionChangesFromSource(CommandContext context, Dependencies dependencyConfig, List<DependencyVersionChange> list) throws IOExceptionLets find changes from a local release build of a chart and push them into dependent projects- Parameters:
context
-dependencyConfig
-list
-- Throws:
IOException
-
pushVersions
public boolean pushVersions(CommandContext context, List<DependencyVersionChange> changes) throws IOException- Throws:
IOException
-
pushVersionsForDir
protected boolean pushVersionsForDir(CommandContext context, List<DependencyVersionChange> changes, File dir) throws IOException- Throws:
IOException
-