Skip to content

Automated Dependency Updates for Batect

Categories: batect

Renovate supports updating Batect dependencies.

File Matching

By default, Renovate will check any files matching the following regular expression: (^|/)batect(-bundle)?\.ya?ml$.

For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: git-tags.

Default config

{
  "fileMatch": [
    "(^|/)batect(-bundle)?\\.ya?ml$"
  ]
}

Additional Information

Extracts all Docker images and Batect bundles from Batect configuration files.

For updates to Batect itself, see batect-wrapper.

Files searched

By default, the manager searches for files called batect.yml or batect-bundle.yml.

If you keep your Batect configuration in other files, you'll need to tell Renovate where to find them. Files included in your main configuration file with include don't need to be listed.

You do this by creating a "batect" object in your renovate.json file. This object should have a fileMatch array with regular expressions that match the configuration file names.

For example:

{
  "batect": {
    "fileMatch": [
      "(^|/)batect(-bundle)?\\.yml$",
      "(^|/)my-other-batect-file\\.yml$",
      "^a-directory/[^/]*\\.yml$"
    ]
  }
}

Bundle versioning

This manager assumes that any bundles referenced use tags for versioning, and that these tags use SemVer. The implementation of SemVer is strict - versions must follow the X.Y.Z or vX.Y.Z format. Versions that don't match this format (eg. X.Y) will be ignored.