From 174dd52891f9d1761d354991f80f5f9ee6829ef8 Mon Sep 17 00:00:00 2001 From: michalby24 Date: Wed, 18 Dec 2024 14:49:15 +0200 Subject: [PATCH] docs(bundler): add bundlerrc feature --- .../DevOps/pipelines/bundler-unbundler.mdx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/knowledge-base/DevOps/pipelines/bundler-unbundler.mdx b/docs/knowledge-base/DevOps/pipelines/bundler-unbundler.mdx index 35343a3..e64d3d6 100644 --- a/docs/knowledge-base/DevOps/pipelines/bundler-unbundler.mdx +++ b/docs/knowledge-base/DevOps/pipelines/bundler-unbundler.mdx @@ -46,13 +46,26 @@ Here's an example of the `artifacts.json` } }, "git": [ - "MapColonies/helm-charts" + "MapColonies/helm-charts", + "MapColonies/jenkins-integration@multifiles" ] } ``` The bundler pipeline will bundle all the artifacts (docker tar balls, helm packages, git repos) into 1 zip file. +### .bundlerrc Feature +Repositories that include a `.bundlerrc` file in their root directory will be processed with this file as a whitelist. +Only the files and directories explicitly declared in the `.bundlerrc` file will be saved in the final ZIP file. +Repositories without a `.bundlerrc` file will have their entire contents saved in the ZIP file. + +```text title=".bundlerrc" +helm/ +README.md +scripts/ +``` + +### Slack notification Once the bundler is done it'll send a slack message to the `-notifications` channel based on the user logged in. ![Bundler slack message](./img/bundler-slack.png)