You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+18-4
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,26 @@ The **Skyline.DataMiner.CICD.Tools.GitHubToCatalogYaml** tool automates the crea
21
21
| Variable: `CATALOGIDENTIFIER`|`Id`| If not specified in the existing YAML or as a variable, an identifier is generated automatically for each catalog entry. |
22
22
| Owners |`Owners`| Customizable, with owner email, name, and URL settings. |
23
23
24
-
## Auto-Generated Catalog YAML File
24
+
## **Auto-Generated Catalog YAML File**
25
25
26
-
This tool not only extends an existing `catalog.yml` or `manifest.yml` but also generates an `auto-generated-catalog.yml` file in the `.githubtocatalog` directory. This secondary file is essential because:
26
+
**WARNING! DO NOT MODIFY THIS FILE.**
27
27
28
-
1.**Tracking Catalog IDs**: By committing and pushing `auto-generated-catalog.yml`, the tool can create a unique ID on the first run and reuse this ID on future runs. This avoids duplicate catalog records that can occur if new IDs are generated in every workflow run.
29
-
2.**Workflow Automation**: The `auto-generated-catalog.yml` is maintained separately to allow other processes to retrieve it as needed without modifying the primary catalog file in each update.
28
+
This tool generates an `auto-generated-catalog.yml` file in the `.githubtocatalog` directory, alongside extending any existing `catalog.yml` or `manifest.yml` file. This secondary file is critical for the following reasons:
29
+
30
+
1.**Tracking Catalog IDs:**
31
+
Committing and pushing the `auto-generated-catalog.yml` allows the tool to create a unique Catalog ID on the first run and reuse it for future runs. This prevents duplicate catalog records, which can occur if new IDs are generated with each workflow run.
32
+
33
+
2.**Workflow Automation:**
34
+
The `auto-generated-catalog.yml` is maintained separately, enabling other processes to access it without modifying the primary catalog file during updates.
35
+
36
+
37
+
38
+
## **Primary Catalog YAML File**
39
+
40
+
If you wish to make adjustments based on the `auto-generated-catalog.yml` file, you can do so by:
41
+
42
+
- Creating a new `catalog.yml` file in the root of your repository and including only the modifications you want.
43
+
- Alternatively, duplicating the entire `auto-generated-catalog.yml` file to the root of your repository and making adjustments as needed.
0 commit comments