@storm-software/k8s-tools 0.17.1 → 0.19.0
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/CHANGELOG.md +18 -0
- package/dist/chunk-2GAU2GHG.js +203 -0
- package/dist/chunk-2QNNUD5M.js +86 -0
- package/dist/chunk-3GQAWCBQ.js +13 -0
- package/dist/chunk-3J7KBHMJ.mjs +0 -0
- package/dist/chunk-6V45YKVB.mjs +203 -0
- package/dist/chunk-7AV2CVBT.mjs +169 -0
- package/dist/chunk-7BCSLKT3.js +98 -0
- package/dist/chunk-7IJP4RLN.mjs +63 -0
- package/dist/chunk-AFPEYAYK.js +61 -0
- package/dist/chunk-DHBG5ASJ.js +1 -0
- package/dist/chunk-DZ5UCMNL.mjs +1063 -0
- package/dist/chunk-EAQFLLRB.js +23 -0
- package/dist/chunk-EISL3C34.js +169 -0
- package/dist/chunk-GDXB64KG.js +1063 -0
- package/dist/chunk-GOVHOOTS.js +184 -0
- package/dist/chunk-IOT45LXV.js +134 -0
- package/dist/chunk-LFNGKV6F.js +18 -0
- package/dist/chunk-LSBSNYPQ.mjs +86 -0
- package/dist/chunk-O7U3AH6A.mjs +58 -0
- package/dist/chunk-OA63SGD6.mjs +23 -0
- package/dist/chunk-OBT35QXS.mjs +59 -0
- package/dist/chunk-OXY6AHKS.js +57 -0
- package/dist/chunk-Q6DDBFXE.mjs +147 -0
- package/dist/chunk-RVFKH45R.mjs +134 -0
- package/dist/chunk-T5WNZJOD.js +63 -0
- package/dist/chunk-TUDMFJIT.mjs +98 -0
- package/dist/chunk-U76ID4TS.js +1 -0
- package/dist/chunk-UDLI3L7V.mjs +18 -0
- package/dist/chunk-UWJTAL4W.js +59 -0
- package/{src/plugins/docker/index.js → dist/chunk-W7DPLC4K.mjs} +46 -68
- package/dist/chunk-WWU25UQ4.mjs +0 -0
- package/dist/chunk-XMPMWMWQ.js +147 -0
- package/dist/chunk-XO66D74Z.js +1 -0
- package/dist/chunk-XUV4U54K.mjs +21 -0
- package/dist/chunk-YSCEY447.mjs +0 -0
- package/dist/chunk-ZO7MGNKJ.mjs +61 -0
- package/dist/executor-DY-z8MOl.d.mts +53 -0
- package/dist/executor-Dr6UXfvX.d.ts +53 -0
- package/dist/executors.d.mts +6 -0
- package/dist/executors.d.ts +6 -0
- package/dist/executors.js +19 -0
- package/dist/executors.mjs +19 -0
- package/dist/generator-B5bCfIUV.d.ts +24 -0
- package/dist/generator-BIe65kKR.d.mts +28 -0
- package/dist/generator-Cad7bXVB.d.mts +24 -0
- package/dist/generator-D7M45zOU.d.ts +28 -0
- package/dist/generators.d.mts +6 -0
- package/dist/generators.d.ts +6 -0
- package/dist/generators.js +15 -0
- package/dist/generators.mjs +15 -0
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +57 -0
- package/dist/index.mjs +57 -0
- package/dist/schema.d-Cx_3iG9A.d.mts +150 -0
- package/dist/schema.d-Cx_3iG9A.d.ts +150 -0
- package/dist/src/executors/container-publish/executor.d.mts +11 -0
- package/dist/src/executors/container-publish/executor.d.ts +11 -0
- package/dist/src/executors/container-publish/executor.js +13 -0
- package/dist/src/executors/container-publish/executor.mjs +13 -0
- package/dist/src/executors/helm-package/executor.d.mts +4 -0
- package/dist/src/executors/helm-package/executor.d.ts +4 -0
- package/dist/src/executors/helm-package/executor.js +15 -0
- package/dist/src/executors/helm-package/executor.mjs +15 -0
- package/{src → dist/src}/executors/helm-package/schema.d.ts +1 -1
- package/dist/src/generators/helm-chart/generator.d.mts +5 -0
- package/dist/src/generators/helm-chart/generator.d.ts +5 -0
- package/dist/src/generators/helm-chart/generator.js +12 -0
- package/dist/src/generators/helm-chart/generator.mjs +12 -0
- package/{src → dist/src}/generators/helm-chart/schema.d.ts +4 -1
- package/dist/src/generators/helm-dependency/generator.d.mts +5 -0
- package/dist/src/generators/helm-dependency/generator.d.ts +5 -0
- package/dist/src/generators/helm-dependency/generator.js +12 -0
- package/dist/src/generators/helm-dependency/generator.mjs +12 -0
- package/{src → dist/src}/generators/helm-dependency/schema.d.ts +4 -1
- package/dist/src/plugins/docker/index.d.mts +12 -0
- package/dist/src/plugins/docker/index.d.ts +12 -0
- package/dist/src/plugins/docker/index.js +15 -0
- package/dist/src/plugins/docker/index.mjs +15 -0
- package/dist/src/types.d.mts +31 -0
- package/{src → dist/src}/types.d.ts +9 -6
- package/dist/src/types.js +7 -0
- package/dist/src/types.mjs +7 -0
- package/dist/src/utils/client.d.mts +35 -0
- package/{src → dist/src}/utils/client.d.ts +7 -3
- package/dist/src/utils/client.js +11 -0
- package/dist/src/utils/client.mjs +11 -0
- package/dist/src/utils/ensure-init.d.mts +11 -0
- package/{src → dist/src}/utils/ensure-init.d.ts +3 -1
- package/dist/src/utils/ensure-init.js +7 -0
- package/dist/src/utils/ensure-init.mjs +7 -0
- package/dist/src/utils/index.d.mts +6 -0
- package/dist/src/utils/index.d.ts +6 -0
- package/dist/src/utils/index.js +21 -0
- package/dist/src/utils/index.mjs +21 -0
- package/dist/src/utils/prettier.d.mts +13 -0
- package/dist/src/utils/prettier.d.ts +13 -0
- package/dist/src/utils/prettier.js +9 -0
- package/dist/src/utils/prettier.mjs +9 -0
- package/dist/tsup.config.d.mts +5 -0
- package/dist/tsup.config.d.ts +5 -0
- package/dist/tsup.config.js +36 -0
- package/dist/tsup.config.mjs +36 -0
- package/dist/types-BCBFBwnJ.d.mts +20 -0
- package/dist/types-BCBFBwnJ.d.ts +20 -0
- package/dist/types-CIJRaFHD.d.mts +1185 -0
- package/dist/types-CIJRaFHD.d.ts +1185 -0
- package/executors.json +4 -4
- package/generators.json +4 -4
- package/package.json +1 -1
- package/index.d.ts +0 -1
- package/index.js +0 -3269
- package/meta.json +0 -654
- package/src/executors/container-publish/executor.d.ts +0 -7
- package/src/executors/container-publish/executor.js +0 -199
- package/src/executors/helm-package/executor.d.ts +0 -8
- package/src/executors/helm-package/executor.js +0 -242
- package/src/executors/index.d.ts +0 -2
- package/src/generators/helm-chart/files/chart/.helmignore +0 -23
- package/src/generators/helm-chart/generator.d.ts +0 -8
- package/src/generators/helm-chart/generator.js +0 -79
- package/src/generators/helm-dependency/generator.d.ts +0 -8
- package/src/generators/helm-dependency/generator.js +0 -2747
- package/src/generators/index.d.ts +0 -2
- package/src/index.d.ts +0 -3
- package/src/plugins/docker/_dockerfile.d.ts +0 -9
- package/src/plugins/docker/index.d.ts +0 -1
- package/src/plugins/index.d.ts +0 -1
- package/src/utils/prettier.d.ts +0 -9
- /package/{src → dist/src}/executors/container-publish/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/container-publish/schema.json +0 -0
- /package/{src → dist/src}/executors/helm-package/schema.json +0 -0
- /package/{src → dist/src}/generators/helm-chart/files/chart/Chart.yaml.template +0 -0
- /package/{src → dist/src}/generators/helm-chart/files/chart/templates/NOTES.txt +0 -0
- /package/{src → dist/src}/generators/helm-chart/files/chart/templates/_helpers.yaml +0 -0
- /package/{src → dist/src}/generators/helm-chart/files/chart/templates/deployment.yaml +0 -0
- /package/{src → dist/src}/generators/helm-chart/files/chart/templates/hpa.yaml +0 -0
- /package/{src → dist/src}/generators/helm-chart/files/chart/templates/ingress.yaml +0 -0
- /package/{src → dist/src}/generators/helm-chart/files/chart/templates/service.yaml +0 -0
- /package/{src → dist/src}/generators/helm-chart/files/chart/templates/serviceaccount.yaml +0 -0
- /package/{src → dist/src}/generators/helm-chart/files/chart/templates/test/test-connection.yaml +0 -0
- /package/{src → dist/src}/generators/helm-chart/files/chart/values.yaml +0 -0
- /package/{src → dist/src}/generators/helm-chart/schema.json +0 -0
- /package/{src → dist/src}/generators/helm-dependency/schema.json +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { B as BaseGeneratorSchema, a as BaseGeneratorResult } from './types-BCBFBwnJ.js';
|
|
2
|
+
import * as _nx_devkit from '@nx/devkit';
|
|
3
|
+
import { Tree } from '@nx/devkit';
|
|
4
|
+
import { S as StormConfig } from './types-CIJRaFHD.js';
|
|
5
|
+
|
|
6
|
+
interface HelmDependencyGeneratorSchema extends BaseGeneratorSchema {
|
|
7
|
+
/** Project name */
|
|
8
|
+
project: string;
|
|
9
|
+
/** Chart Name of the Dependency */
|
|
10
|
+
chartName?: string;
|
|
11
|
+
/** Chart Version of the Dependency */
|
|
12
|
+
chartVersion?: string;
|
|
13
|
+
/** Repository of the Dependency */
|
|
14
|
+
repository: string;
|
|
15
|
+
/** Repository Name of the Dependency */
|
|
16
|
+
repositoryName: string;
|
|
17
|
+
/** Format the generated files */
|
|
18
|
+
format?: boolean;
|
|
19
|
+
|
|
20
|
+
[k: string]: unknown;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare function helmDependencyGeneratorFn(tree: Tree, options: HelmDependencyGeneratorSchema, config?: StormConfig): Promise<{
|
|
24
|
+
success: boolean;
|
|
25
|
+
}>;
|
|
26
|
+
declare const _default: (tree: Tree, _options: HelmDependencyGeneratorSchema) => Promise<_nx_devkit.GeneratorCallback | BaseGeneratorResult>;
|
|
27
|
+
|
|
28
|
+
export { type HelmDependencyGeneratorSchema as H, _default as _, helmDependencyGeneratorFn as h };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { H as HelmChartGeneratorSchema, h as helmChartGeneratorFn } from './generator-Cad7bXVB.mjs';
|
|
2
|
+
export { H as HelmDependencyGeneratorSchema, h as helmDependencyGeneratorFn } from './generator-BIe65kKR.mjs';
|
|
3
|
+
import './types-BCBFBwnJ.mjs';
|
|
4
|
+
import '@nx/devkit';
|
|
5
|
+
import './types-CIJRaFHD.mjs';
|
|
6
|
+
import 'zod';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { H as HelmChartGeneratorSchema, h as helmChartGeneratorFn } from './generator-B5bCfIUV.js';
|
|
2
|
+
export { H as HelmDependencyGeneratorSchema, h as helmDependencyGeneratorFn } from './generator-D7M45zOU.js';
|
|
3
|
+
import './types-BCBFBwnJ.js';
|
|
4
|
+
import '@nx/devkit';
|
|
5
|
+
import './types-CIJRaFHD.js';
|
|
6
|
+
import 'zod';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-DHBG5ASJ.js');
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkOXY6AHKSjs = require('./chunk-OXY6AHKS.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunk7BCSLKT3js = require('./chunk-7BCSLKT3.js');
|
|
8
|
+
require('./chunk-2QNNUD5M.js');
|
|
9
|
+
require('./chunk-AFPEYAYK.js');
|
|
10
|
+
require('./chunk-GDXB64KG.js');
|
|
11
|
+
require('./chunk-3GQAWCBQ.js');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
exports.helmChartGeneratorFn = _chunkOXY6AHKSjs.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunk7BCSLKT3js.helmDependencyGeneratorFn;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "./chunk-3J7KBHMJ.mjs";
|
|
2
|
+
import {
|
|
3
|
+
helmChartGeneratorFn
|
|
4
|
+
} from "./chunk-O7U3AH6A.mjs";
|
|
5
|
+
import {
|
|
6
|
+
helmDependencyGeneratorFn
|
|
7
|
+
} from "./chunk-TUDMFJIT.mjs";
|
|
8
|
+
import "./chunk-LSBSNYPQ.mjs";
|
|
9
|
+
import "./chunk-ZO7MGNKJ.mjs";
|
|
10
|
+
import "./chunk-DZ5UCMNL.mjs";
|
|
11
|
+
import "./chunk-XUV4U54K.mjs";
|
|
12
|
+
export {
|
|
13
|
+
helmChartGeneratorFn,
|
|
14
|
+
helmDependencyGeneratorFn
|
|
15
|
+
};
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { getRegistryVersion } from './src/executors/container-publish/executor.mjs';
|
|
2
|
+
export { C as ContainerPublishExecutorSchema } from './schema.d-Cx_3iG9A.mjs';
|
|
3
|
+
export { H as HelmPackageExecutorSchema, s as serveExecutor } from './executor-DY-z8MOl.mjs';
|
|
4
|
+
export { H as HelmChartGeneratorSchema, h as helmChartGeneratorFn } from './generator-Cad7bXVB.mjs';
|
|
5
|
+
export { H as HelmDependencyGeneratorSchema, h as helmDependencyGeneratorFn } from './generator-BIe65kKR.mjs';
|
|
6
|
+
export { DockerFilePluginOptions, createDependencies, createNodes, description, name } from './src/plugins/docker/index.mjs';
|
|
7
|
+
export { AbstractHelmClient, Initializable, PackageOptions, PrettierConfig, PushOptions } from './src/types.mjs';
|
|
8
|
+
export { HelmClient, createHelmClient } from './src/utils/client.mjs';
|
|
9
|
+
export { ensureInitialized } from './src/utils/ensure-init.mjs';
|
|
10
|
+
export { addToPrettierIgnore, resolveUserExistingPrettierConfig } from './src/utils/prettier.mjs';
|
|
11
|
+
import '@nx/devkit';
|
|
12
|
+
import './types-CIJRaFHD.mjs';
|
|
13
|
+
import 'zod';
|
|
14
|
+
import './types-BCBFBwnJ.mjs';
|
|
15
|
+
import 'prettier';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { getRegistryVersion } from './src/executors/container-publish/executor.js';
|
|
2
|
+
export { C as ContainerPublishExecutorSchema } from './schema.d-Cx_3iG9A.js';
|
|
3
|
+
export { H as HelmPackageExecutorSchema, s as serveExecutor } from './executor-Dr6UXfvX.js';
|
|
4
|
+
export { H as HelmChartGeneratorSchema, h as helmChartGeneratorFn } from './generator-B5bCfIUV.js';
|
|
5
|
+
export { H as HelmDependencyGeneratorSchema, h as helmDependencyGeneratorFn } from './generator-D7M45zOU.js';
|
|
6
|
+
export { DockerFilePluginOptions, createDependencies, createNodes, description, name } from './src/plugins/docker/index.js';
|
|
7
|
+
export { AbstractHelmClient, Initializable, PackageOptions, PrettierConfig, PushOptions } from './src/types.js';
|
|
8
|
+
export { HelmClient, createHelmClient } from './src/utils/client.js';
|
|
9
|
+
export { ensureInitialized } from './src/utils/ensure-init.js';
|
|
10
|
+
export { addToPrettierIgnore, resolveUserExistingPrettierConfig } from './src/utils/prettier.js';
|
|
11
|
+
import '@nx/devkit';
|
|
12
|
+
import './types-CIJRaFHD.js';
|
|
13
|
+
import 'zod';
|
|
14
|
+
import './types-BCBFBwnJ.js';
|
|
15
|
+
import 'prettier';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkGOVHOOTSjs = require('./chunk-GOVHOOTS.js');
|
|
7
|
+
require('./chunk-XO66D74Z.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkXMPMWMWQjs = require('./chunk-XMPMWMWQ.js');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunkEISL3C34js = require('./chunk-EISL3C34.js');
|
|
14
|
+
require('./chunk-UWJTAL4W.js');
|
|
15
|
+
require('./chunk-IOT45LXV.js');
|
|
16
|
+
require('./chunk-DHBG5ASJ.js');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
var _chunkOXY6AHKSjs = require('./chunk-OXY6AHKS.js');
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
var _chunk7BCSLKT3js = require('./chunk-7BCSLKT3.js');
|
|
23
|
+
require('./chunk-2QNNUD5M.js');
|
|
24
|
+
require('./chunk-AFPEYAYK.js');
|
|
25
|
+
require('./chunk-GDXB64KG.js');
|
|
26
|
+
require('./chunk-U76ID4TS.js');
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
var _chunkT5WNZJODjs = require('./chunk-T5WNZJOD.js');
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
var _chunk2GAU2GHGjs = require('./chunk-2GAU2GHG.js');
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
var _chunkLFNGKV6Fjs = require('./chunk-LFNGKV6F.js');
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
var _chunkEAQFLLRBjs = require('./chunk-EAQFLLRB.js');
|
|
41
|
+
require('./chunk-3GQAWCBQ.js');
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
exports.AbstractHelmClient = _chunkLFNGKV6Fjs.AbstractHelmClient; exports.HelmClient = _chunk2GAU2GHGjs.HelmClient; exports.addToPrettierIgnore = _chunkT5WNZJODjs.addToPrettierIgnore; exports.createDependencies = _chunkGOVHOOTSjs.createDependencies; exports.createHelmClient = _chunk2GAU2GHGjs.createHelmClient; exports.createNodes = _chunkGOVHOOTSjs.createNodes; exports.description = _chunkGOVHOOTSjs.description; exports.ensureInitialized = _chunkEAQFLLRBjs.ensureInitialized; exports.getRegistryVersion = _chunkXMPMWMWQjs.getRegistryVersion; exports.helmChartGeneratorFn = _chunkOXY6AHKSjs.helmChartGeneratorFn; exports.helmDependencyGeneratorFn = _chunk7BCSLKT3js.helmDependencyGeneratorFn; exports.name = _chunkGOVHOOTSjs.name; exports.resolveUserExistingPrettierConfig = _chunkT5WNZJODjs.resolveUserExistingPrettierConfig; exports.serveExecutor = _chunkEISL3C34js.serveExecutor;
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createDependencies,
|
|
3
|
+
createNodes,
|
|
4
|
+
description,
|
|
5
|
+
name
|
|
6
|
+
} from "./chunk-W7DPLC4K.mjs";
|
|
7
|
+
import "./chunk-YSCEY447.mjs";
|
|
8
|
+
import {
|
|
9
|
+
getRegistryVersion
|
|
10
|
+
} from "./chunk-Q6DDBFXE.mjs";
|
|
11
|
+
import {
|
|
12
|
+
serveExecutor
|
|
13
|
+
} from "./chunk-7AV2CVBT.mjs";
|
|
14
|
+
import "./chunk-OBT35QXS.mjs";
|
|
15
|
+
import "./chunk-RVFKH45R.mjs";
|
|
16
|
+
import "./chunk-3J7KBHMJ.mjs";
|
|
17
|
+
import {
|
|
18
|
+
helmChartGeneratorFn
|
|
19
|
+
} from "./chunk-O7U3AH6A.mjs";
|
|
20
|
+
import {
|
|
21
|
+
helmDependencyGeneratorFn
|
|
22
|
+
} from "./chunk-TUDMFJIT.mjs";
|
|
23
|
+
import "./chunk-LSBSNYPQ.mjs";
|
|
24
|
+
import "./chunk-ZO7MGNKJ.mjs";
|
|
25
|
+
import "./chunk-DZ5UCMNL.mjs";
|
|
26
|
+
import "./chunk-WWU25UQ4.mjs";
|
|
27
|
+
import {
|
|
28
|
+
addToPrettierIgnore,
|
|
29
|
+
resolveUserExistingPrettierConfig
|
|
30
|
+
} from "./chunk-7IJP4RLN.mjs";
|
|
31
|
+
import {
|
|
32
|
+
HelmClient,
|
|
33
|
+
createHelmClient
|
|
34
|
+
} from "./chunk-6V45YKVB.mjs";
|
|
35
|
+
import {
|
|
36
|
+
AbstractHelmClient
|
|
37
|
+
} from "./chunk-UDLI3L7V.mjs";
|
|
38
|
+
import {
|
|
39
|
+
ensureInitialized
|
|
40
|
+
} from "./chunk-OA63SGD6.mjs";
|
|
41
|
+
import "./chunk-XUV4U54K.mjs";
|
|
42
|
+
export {
|
|
43
|
+
AbstractHelmClient,
|
|
44
|
+
HelmClient,
|
|
45
|
+
addToPrettierIgnore,
|
|
46
|
+
createDependencies,
|
|
47
|
+
createHelmClient,
|
|
48
|
+
createNodes,
|
|
49
|
+
description,
|
|
50
|
+
ensureInitialized,
|
|
51
|
+
getRegistryVersion,
|
|
52
|
+
helmChartGeneratorFn,
|
|
53
|
+
helmDependencyGeneratorFn,
|
|
54
|
+
name,
|
|
55
|
+
resolveUserExistingPrettierConfig,
|
|
56
|
+
serveExecutor
|
|
57
|
+
};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
type ContainerPublishExecutorSchema =
|
|
2
|
+
Partial<ExternalContainerExecutorSchema> & {
|
|
3
|
+
registry?: string;
|
|
4
|
+
packageRoot?: string;
|
|
5
|
+
dryRun?: boolean;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
interface ExternalContainerExecutorSchema {
|
|
9
|
+
engine?: "docker" | "podman" | "kaniko";
|
|
10
|
+
quiet?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* List of customs host-to-IP mapping (e.g., docker:10.180.0.1)
|
|
13
|
+
*/
|
|
14
|
+
"add-hosts"?: string[];
|
|
15
|
+
/**
|
|
16
|
+
* List of extra privileged entitlement (eg. network.host,security.insecure)
|
|
17
|
+
*/
|
|
18
|
+
allow?: string[];
|
|
19
|
+
/**
|
|
20
|
+
* List of build-time variables
|
|
21
|
+
*/
|
|
22
|
+
"build-args"?: string[];
|
|
23
|
+
/**
|
|
24
|
+
* List of additional build contexts (e.g., name=path)
|
|
25
|
+
*/
|
|
26
|
+
"build-contexts"?: string[];
|
|
27
|
+
/**
|
|
28
|
+
* Builder instance (see setup-buildx action)
|
|
29
|
+
*/
|
|
30
|
+
builder?: string;
|
|
31
|
+
/**
|
|
32
|
+
* List of external cache sources for buildx (eg. user/app:cache, type=local,src=path/to/dir)
|
|
33
|
+
*/
|
|
34
|
+
"cache-from"?: string | string[];
|
|
35
|
+
/**
|
|
36
|
+
* List of cache export destinations for buildx (eg. user/app:cache, type=local,dest=path/to/dir)
|
|
37
|
+
*/
|
|
38
|
+
"cache-to"?: string | string[];
|
|
39
|
+
/**
|
|
40
|
+
* Optional parent cgroup for the container used in the build
|
|
41
|
+
*/
|
|
42
|
+
"cgroup-parent"?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Build's context is the set of files located in the specified PATH or URL (default .)
|
|
45
|
+
*/
|
|
46
|
+
context?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Path to the Dockerfile (default Dockerfile)
|
|
49
|
+
*/
|
|
50
|
+
file?: string;
|
|
51
|
+
/**
|
|
52
|
+
* List of metadata for an image
|
|
53
|
+
*/
|
|
54
|
+
labels?: string[];
|
|
55
|
+
/**
|
|
56
|
+
* Load is a shorthand for --output=type=docker (default false)
|
|
57
|
+
*/
|
|
58
|
+
load?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Set the networking mode for the RUN instructions during build
|
|
61
|
+
*/
|
|
62
|
+
network?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Do not use cache when building the image (default false)
|
|
65
|
+
*/
|
|
66
|
+
"no-cache"?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* List of output destinations (format: type=local,dest=path)
|
|
69
|
+
*/
|
|
70
|
+
outputs?: string[];
|
|
71
|
+
/**
|
|
72
|
+
* List of target platforms for build
|
|
73
|
+
*/
|
|
74
|
+
platforms?: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Change or disable provenance attestations for the build result
|
|
77
|
+
*/
|
|
78
|
+
provenance?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Always attempt to pull a newer version of the image (default false)
|
|
81
|
+
*/
|
|
82
|
+
pull?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Push is a shorthand for --output=type=registry (default false)
|
|
85
|
+
*/
|
|
86
|
+
push?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* List of secrets to expose to the build (eg. key=string, GIT_AUTH_TOKEN=mytoken)
|
|
89
|
+
*/
|
|
90
|
+
secrets?: string[];
|
|
91
|
+
/**
|
|
92
|
+
* List of secret files to expose to the build (eg. key=filename, MY_SECRET=./secret.txt)
|
|
93
|
+
*/
|
|
94
|
+
"secret-files"?: string[];
|
|
95
|
+
/**
|
|
96
|
+
* Size of /dev/shm (e.g., 2g)
|
|
97
|
+
*/
|
|
98
|
+
"shm-size"?: string;
|
|
99
|
+
/**
|
|
100
|
+
* List of SSH agent socket or keys to expose to the build
|
|
101
|
+
*/
|
|
102
|
+
ssh?: string[];
|
|
103
|
+
/**
|
|
104
|
+
* List of tags
|
|
105
|
+
*/
|
|
106
|
+
tags?: string[];
|
|
107
|
+
/**
|
|
108
|
+
* Sets the target stage to build
|
|
109
|
+
*/
|
|
110
|
+
target?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Ulimit options (e.g., nofile=1024:1024)
|
|
113
|
+
*/
|
|
114
|
+
ulimit?: string[];
|
|
115
|
+
/**
|
|
116
|
+
* Extract metadata from CI context
|
|
117
|
+
*/
|
|
118
|
+
metadata?: {
|
|
119
|
+
/**
|
|
120
|
+
* List of Docker images to use as base name for tags. Required.
|
|
121
|
+
*/
|
|
122
|
+
images?: string[];
|
|
123
|
+
/**
|
|
124
|
+
* List of tags as key-value pair attributes
|
|
125
|
+
*/
|
|
126
|
+
tags?: string[];
|
|
127
|
+
/**
|
|
128
|
+
* Flavors to apply
|
|
129
|
+
*/
|
|
130
|
+
flavor?: string[];
|
|
131
|
+
/**
|
|
132
|
+
* List of custom labels
|
|
133
|
+
*/
|
|
134
|
+
labels?: string[];
|
|
135
|
+
/**
|
|
136
|
+
* Separator to use for tags output (default '\n')
|
|
137
|
+
*/
|
|
138
|
+
"sep-tags"?: string;
|
|
139
|
+
/**
|
|
140
|
+
* Separator to use for labels output (default '\n')
|
|
141
|
+
*/
|
|
142
|
+
"sep-labels"?: string;
|
|
143
|
+
/**
|
|
144
|
+
* Bake target name (default container-metadata-action)
|
|
145
|
+
*/
|
|
146
|
+
"bake-target"?: string;
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export type { ContainerPublishExecutorSchema as C, ExternalContainerExecutorSchema as E };
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
type ContainerPublishExecutorSchema =
|
|
2
|
+
Partial<ExternalContainerExecutorSchema> & {
|
|
3
|
+
registry?: string;
|
|
4
|
+
packageRoot?: string;
|
|
5
|
+
dryRun?: boolean;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
interface ExternalContainerExecutorSchema {
|
|
9
|
+
engine?: "docker" | "podman" | "kaniko";
|
|
10
|
+
quiet?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* List of customs host-to-IP mapping (e.g., docker:10.180.0.1)
|
|
13
|
+
*/
|
|
14
|
+
"add-hosts"?: string[];
|
|
15
|
+
/**
|
|
16
|
+
* List of extra privileged entitlement (eg. network.host,security.insecure)
|
|
17
|
+
*/
|
|
18
|
+
allow?: string[];
|
|
19
|
+
/**
|
|
20
|
+
* List of build-time variables
|
|
21
|
+
*/
|
|
22
|
+
"build-args"?: string[];
|
|
23
|
+
/**
|
|
24
|
+
* List of additional build contexts (e.g., name=path)
|
|
25
|
+
*/
|
|
26
|
+
"build-contexts"?: string[];
|
|
27
|
+
/**
|
|
28
|
+
* Builder instance (see setup-buildx action)
|
|
29
|
+
*/
|
|
30
|
+
builder?: string;
|
|
31
|
+
/**
|
|
32
|
+
* List of external cache sources for buildx (eg. user/app:cache, type=local,src=path/to/dir)
|
|
33
|
+
*/
|
|
34
|
+
"cache-from"?: string | string[];
|
|
35
|
+
/**
|
|
36
|
+
* List of cache export destinations for buildx (eg. user/app:cache, type=local,dest=path/to/dir)
|
|
37
|
+
*/
|
|
38
|
+
"cache-to"?: string | string[];
|
|
39
|
+
/**
|
|
40
|
+
* Optional parent cgroup for the container used in the build
|
|
41
|
+
*/
|
|
42
|
+
"cgroup-parent"?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Build's context is the set of files located in the specified PATH or URL (default .)
|
|
45
|
+
*/
|
|
46
|
+
context?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Path to the Dockerfile (default Dockerfile)
|
|
49
|
+
*/
|
|
50
|
+
file?: string;
|
|
51
|
+
/**
|
|
52
|
+
* List of metadata for an image
|
|
53
|
+
*/
|
|
54
|
+
labels?: string[];
|
|
55
|
+
/**
|
|
56
|
+
* Load is a shorthand for --output=type=docker (default false)
|
|
57
|
+
*/
|
|
58
|
+
load?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Set the networking mode for the RUN instructions during build
|
|
61
|
+
*/
|
|
62
|
+
network?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Do not use cache when building the image (default false)
|
|
65
|
+
*/
|
|
66
|
+
"no-cache"?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* List of output destinations (format: type=local,dest=path)
|
|
69
|
+
*/
|
|
70
|
+
outputs?: string[];
|
|
71
|
+
/**
|
|
72
|
+
* List of target platforms for build
|
|
73
|
+
*/
|
|
74
|
+
platforms?: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Change or disable provenance attestations for the build result
|
|
77
|
+
*/
|
|
78
|
+
provenance?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Always attempt to pull a newer version of the image (default false)
|
|
81
|
+
*/
|
|
82
|
+
pull?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Push is a shorthand for --output=type=registry (default false)
|
|
85
|
+
*/
|
|
86
|
+
push?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* List of secrets to expose to the build (eg. key=string, GIT_AUTH_TOKEN=mytoken)
|
|
89
|
+
*/
|
|
90
|
+
secrets?: string[];
|
|
91
|
+
/**
|
|
92
|
+
* List of secret files to expose to the build (eg. key=filename, MY_SECRET=./secret.txt)
|
|
93
|
+
*/
|
|
94
|
+
"secret-files"?: string[];
|
|
95
|
+
/**
|
|
96
|
+
* Size of /dev/shm (e.g., 2g)
|
|
97
|
+
*/
|
|
98
|
+
"shm-size"?: string;
|
|
99
|
+
/**
|
|
100
|
+
* List of SSH agent socket or keys to expose to the build
|
|
101
|
+
*/
|
|
102
|
+
ssh?: string[];
|
|
103
|
+
/**
|
|
104
|
+
* List of tags
|
|
105
|
+
*/
|
|
106
|
+
tags?: string[];
|
|
107
|
+
/**
|
|
108
|
+
* Sets the target stage to build
|
|
109
|
+
*/
|
|
110
|
+
target?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Ulimit options (e.g., nofile=1024:1024)
|
|
113
|
+
*/
|
|
114
|
+
ulimit?: string[];
|
|
115
|
+
/**
|
|
116
|
+
* Extract metadata from CI context
|
|
117
|
+
*/
|
|
118
|
+
metadata?: {
|
|
119
|
+
/**
|
|
120
|
+
* List of Docker images to use as base name for tags. Required.
|
|
121
|
+
*/
|
|
122
|
+
images?: string[];
|
|
123
|
+
/**
|
|
124
|
+
* List of tags as key-value pair attributes
|
|
125
|
+
*/
|
|
126
|
+
tags?: string[];
|
|
127
|
+
/**
|
|
128
|
+
* Flavors to apply
|
|
129
|
+
*/
|
|
130
|
+
flavor?: string[];
|
|
131
|
+
/**
|
|
132
|
+
* List of custom labels
|
|
133
|
+
*/
|
|
134
|
+
labels?: string[];
|
|
135
|
+
/**
|
|
136
|
+
* Separator to use for tags output (default '\n')
|
|
137
|
+
*/
|
|
138
|
+
"sep-tags"?: string;
|
|
139
|
+
/**
|
|
140
|
+
* Separator to use for labels output (default '\n')
|
|
141
|
+
*/
|
|
142
|
+
"sep-labels"?: string;
|
|
143
|
+
/**
|
|
144
|
+
* Bake target name (default container-metadata-action)
|
|
145
|
+
*/
|
|
146
|
+
"bake-target"?: string;
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export type { ContainerPublishExecutorSchema as C, ExternalContainerExecutorSchema as E };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecutorContext } from '@nx/devkit';
|
|
2
|
+
import { S as StormConfig } from '../../../types-CIJRaFHD.mjs';
|
|
3
|
+
import { C as ContainerPublishExecutorSchema } from '../../../schema.d-Cx_3iG9A.mjs';
|
|
4
|
+
import 'zod';
|
|
5
|
+
|
|
6
|
+
declare function publishExecutor(options: ContainerPublishExecutorSchema, context: ExecutorContext): AsyncGenerator<undefined, {
|
|
7
|
+
success: boolean;
|
|
8
|
+
}, unknown>;
|
|
9
|
+
declare const getRegistryVersion: (name: string, config: StormConfig) => Promise<string[]>;
|
|
10
|
+
|
|
11
|
+
export { publishExecutor as default, getRegistryVersion };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExecutorContext } from '@nx/devkit';
|
|
2
|
+
import { S as StormConfig } from '../../../types-CIJRaFHD.js';
|
|
3
|
+
import { C as ContainerPublishExecutorSchema } from '../../../schema.d-Cx_3iG9A.js';
|
|
4
|
+
import 'zod';
|
|
5
|
+
|
|
6
|
+
declare function publishExecutor(options: ContainerPublishExecutorSchema, context: ExecutorContext): AsyncGenerator<undefined, {
|
|
7
|
+
success: boolean;
|
|
8
|
+
}, unknown>;
|
|
9
|
+
declare const getRegistryVersion: (name: string, config: StormConfig) => Promise<string[]>;
|
|
10
|
+
|
|
11
|
+
export { publishExecutor as default, getRegistryVersion };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkXMPMWMWQjs = require('../../../chunk-XMPMWMWQ.js');
|
|
5
|
+
require('../../../chunk-UWJTAL4W.js');
|
|
6
|
+
require('../../../chunk-IOT45LXV.js');
|
|
7
|
+
require('../../../chunk-AFPEYAYK.js');
|
|
8
|
+
require('../../../chunk-GDXB64KG.js');
|
|
9
|
+
require('../../../chunk-3GQAWCBQ.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
exports.default = _chunkXMPMWMWQjs.publishExecutor; exports.getRegistryVersion = _chunkXMPMWMWQjs.getRegistryVersion;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getRegistryVersion,
|
|
3
|
+
publishExecutor
|
|
4
|
+
} from "../../../chunk-Q6DDBFXE.mjs";
|
|
5
|
+
import "../../../chunk-OBT35QXS.mjs";
|
|
6
|
+
import "../../../chunk-RVFKH45R.mjs";
|
|
7
|
+
import "../../../chunk-ZO7MGNKJ.mjs";
|
|
8
|
+
import "../../../chunk-DZ5UCMNL.mjs";
|
|
9
|
+
import "../../../chunk-XUV4U54K.mjs";
|
|
10
|
+
export {
|
|
11
|
+
publishExecutor as default,
|
|
12
|
+
getRegistryVersion
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkEISL3C34js = require('../../../chunk-EISL3C34.js');
|
|
5
|
+
require('../../../chunk-UWJTAL4W.js');
|
|
6
|
+
require('../../../chunk-AFPEYAYK.js');
|
|
7
|
+
require('../../../chunk-GDXB64KG.js');
|
|
8
|
+
require('../../../chunk-2GAU2GHG.js');
|
|
9
|
+
require('../../../chunk-LFNGKV6F.js');
|
|
10
|
+
require('../../../chunk-EAQFLLRB.js');
|
|
11
|
+
require('../../../chunk-3GQAWCBQ.js');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
exports.default = _chunkEISL3C34js.executor_default; exports.serveExecutor = _chunkEISL3C34js.serveExecutor;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
executor_default,
|
|
3
|
+
serveExecutor
|
|
4
|
+
} from "../../../chunk-7AV2CVBT.mjs";
|
|
5
|
+
import "../../../chunk-OBT35QXS.mjs";
|
|
6
|
+
import "../../../chunk-ZO7MGNKJ.mjs";
|
|
7
|
+
import "../../../chunk-DZ5UCMNL.mjs";
|
|
8
|
+
import "../../../chunk-6V45YKVB.mjs";
|
|
9
|
+
import "../../../chunk-UDLI3L7V.mjs";
|
|
10
|
+
import "../../../chunk-OA63SGD6.mjs";
|
|
11
|
+
import "../../../chunk-XUV4U54K.mjs";
|
|
12
|
+
export {
|
|
13
|
+
executor_default as default,
|
|
14
|
+
serveExecutor
|
|
15
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseExecutorSchema } from "@storm-software/workspace-tools";
|
|
1
|
+
import { BaseExecutorSchema } from "@storm-software/workspace-tools/base/base-executor.schema.d";
|
|
2
2
|
|
|
3
3
|
export interface HelmPackageExecutorSchema extends BaseExecutorSchema {
|
|
4
4
|
/** Folder where the chart is stored */
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkOXY6AHKSjs = require('../../../chunk-OXY6AHKS.js');
|
|
5
|
+
require('../../../chunk-2QNNUD5M.js');
|
|
6
|
+
require('../../../chunk-AFPEYAYK.js');
|
|
7
|
+
require('../../../chunk-GDXB64KG.js');
|
|
8
|
+
require('../../../chunk-3GQAWCBQ.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.default = _chunkOXY6AHKSjs.generator_default; exports.helmChartGeneratorFn = _chunkOXY6AHKSjs.helmChartGeneratorFn;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
generator_default,
|
|
3
|
+
helmChartGeneratorFn
|
|
4
|
+
} from "../../../chunk-O7U3AH6A.mjs";
|
|
5
|
+
import "../../../chunk-LSBSNYPQ.mjs";
|
|
6
|
+
import "../../../chunk-ZO7MGNKJ.mjs";
|
|
7
|
+
import "../../../chunk-DZ5UCMNL.mjs";
|
|
8
|
+
import "../../../chunk-XUV4U54K.mjs";
|
|
9
|
+
export {
|
|
10
|
+
generator_default as default,
|
|
11
|
+
helmChartGeneratorFn
|
|
12
|
+
};
|