@vaharoni/devops 1.2.16 → 1.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/devops.js +1 -0
- package/package.json +1 -1
- package/src/libs/k8s-generate.ts +3 -0
package/dist/devops.js
CHANGED
|
@@ -884,6 +884,7 @@ import fs from "fs";
|
|
|
884
884
|
import { globSync } from "glob";
|
|
885
885
|
import _ from "lodash";
|
|
886
886
|
import Handlebars from "handlebars";
|
|
887
|
+
Handlebars.registerHelper("eq", (a, b) => a === b);
|
|
887
888
|
var MANIFEST_FOLDER_PATH = path3.join(process.cwd(), ".devops/manifests");
|
|
888
889
|
var MANIFEST_INDEX_FILE_PATH = path3.join(MANIFEST_FOLDER_PATH, "_index.yaml");
|
|
889
890
|
var DB_MIGRATE_TEMPLATE_NAME = "db-migrate";
|
package/package.json
CHANGED
package/src/libs/k8s-generate.ts
CHANGED
|
@@ -9,6 +9,9 @@ import { globSync } from "glob";
|
|
|
9
9
|
import _ from 'lodash';
|
|
10
10
|
import Handlebars from "handlebars";
|
|
11
11
|
import { getImageData } from "./config";
|
|
12
|
+
|
|
13
|
+
// Register Handlebars helpers
|
|
14
|
+
Handlebars.registerHelper('eq', (a, b) => a === b);
|
|
12
15
|
import { getImageDescendentData } from "./discovery/images";
|
|
13
16
|
|
|
14
17
|
const MANIFEST_FOLDER_PATH = path.join(process.cwd(), '.devops/manifests');
|