renovate/lib/manager/batect
2021-04-13 12:07:57 +02:00
..
__fixtures__ feat(batect): Automatically extract dependencies for files included into Batect configuration (#8091) 2020-12-21 12:18:53 +01:00
extract.spec.ts refactor(manager): Enforce getName usage (#9523) 2021-04-13 12:07:57 +02:00
extract.ts refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
index.ts fix(batect): "Failed to parse newContent" (#8632) 2021-02-11 08:32:57 +01:00
readme.md feat(batect): Automatically extract dependencies for files included into Batect configuration (#8091) 2020-12-21 12:18:53 +01:00
types.ts feat(batect): Automatically extract dependencies for files included into Batect configuration (#8091) 2020-12-21 12:18:53 +01:00

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 contain 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.