@catladder/cli 0.0.0-main-379f0956 → 0.0.0-main-27439377
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/bundles/catenv/index.js +7 -2
- package/dist/bundles/cli/index.js +7 -2
- package/dist/pipeline/src/bash/replaceAsync.js +5 -2
- package/dist/pipeline/src/bash/replaceAsync.js.map +1 -1
- package/dist/pipeline/src/deploy/cloudRun/createJobs/cloudRunServices.js +2 -0
- package/dist/pipeline/src/deploy/cloudRun/createJobs/cloudRunServices.js.map +1 -1
- package/dist/pipeline/src/deploy/types/googleCloudRun.d.ts +7 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -939,12 +939,15 @@ const BashExpression_1 = __nccwpck_require__(2376);
|
|
|
939
939
|
// and adjusted a bit
|
|
940
940
|
async function replaceAsync(string, searchValue, replacer) {
|
|
941
941
|
const wasBashExpression = string instanceof BashExpression_1.BashExpression;
|
|
942
|
+
const stringRepresentation = wasBashExpression
|
|
943
|
+
? string.toString()
|
|
944
|
+
: (0, BashExpression_1.bashEscape)(string);
|
|
942
945
|
try {
|
|
943
946
|
// 1. Run fake pass of `replace`, collect values from `replacer` calls
|
|
944
947
|
// 2. Resolve them with `Promise.all`
|
|
945
948
|
// 3. Run `replace` with resolved values
|
|
946
949
|
const values = [];
|
|
947
|
-
String.prototype.replace.call(
|
|
950
|
+
String.prototype.replace.call(stringRepresentation, searchValue, function (...args) {
|
|
948
951
|
// eslint-disable-next-line prefer-spread
|
|
949
952
|
const result = replacer.apply(undefined, args);
|
|
950
953
|
values.push(result);
|
|
@@ -952,7 +955,7 @@ async function replaceAsync(string, searchValue, replacer) {
|
|
|
952
955
|
});
|
|
953
956
|
const resolvedValues = await Promise.all(values);
|
|
954
957
|
const containsBashExpression = resolvedValues.some((value) => value instanceof BashExpression_1.BashExpression);
|
|
955
|
-
const result = String.prototype.replace.call(
|
|
958
|
+
const result = String.prototype.replace.call(stringRepresentation, searchValue, function () {
|
|
956
959
|
var _a, _b;
|
|
957
960
|
return (_b = (_a = resolvedValues.shift()) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : "";
|
|
958
961
|
});
|
|
@@ -3939,6 +3942,8 @@ const getServiceDeployScript = (context, service, nameSuffix) => {
|
|
|
3939
3942
|
timeout: customConfig === null || customConfig === void 0 ? void 0 : customConfig.timeout,
|
|
3940
3943
|
"vpc-connector": customConfig === null || customConfig === void 0 ? void 0 : customConfig.vpcConnector,
|
|
3941
3944
|
"vpc-egress": customConfig === null || customConfig === void 0 ? void 0 : customConfig.vpcEgress,
|
|
3945
|
+
network: customConfig === null || customConfig === void 0 ? void 0 : customConfig.network,
|
|
3946
|
+
subnet: customConfig === null || customConfig === void 0 ? void 0 : customConfig.subnet,
|
|
3942
3947
|
"use-http2": customConfig === null || customConfig === void 0 ? void 0 : customConfig.http2,
|
|
3943
3948
|
"allow-unauthenticated": (_d = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _d !== void 0 ? _d : true,
|
|
3944
3949
|
ingress: (_e = customConfig === null || customConfig === void 0 ? void 0 : customConfig.ingress) !== null && _e !== void 0 ? _e : "all",
|
|
@@ -4107,12 +4107,15 @@ const BashExpression_1 = __nccwpck_require__(42376);
|
|
|
4107
4107
|
// and adjusted a bit
|
|
4108
4108
|
async function replaceAsync(string, searchValue, replacer) {
|
|
4109
4109
|
const wasBashExpression = string instanceof BashExpression_1.BashExpression;
|
|
4110
|
+
const stringRepresentation = wasBashExpression
|
|
4111
|
+
? string.toString()
|
|
4112
|
+
: (0, BashExpression_1.bashEscape)(string);
|
|
4110
4113
|
try {
|
|
4111
4114
|
// 1. Run fake pass of `replace`, collect values from `replacer` calls
|
|
4112
4115
|
// 2. Resolve them with `Promise.all`
|
|
4113
4116
|
// 3. Run `replace` with resolved values
|
|
4114
4117
|
const values = [];
|
|
4115
|
-
String.prototype.replace.call(
|
|
4118
|
+
String.prototype.replace.call(stringRepresentation, searchValue, function (...args) {
|
|
4116
4119
|
// eslint-disable-next-line prefer-spread
|
|
4117
4120
|
const result = replacer.apply(undefined, args);
|
|
4118
4121
|
values.push(result);
|
|
@@ -4120,7 +4123,7 @@ async function replaceAsync(string, searchValue, replacer) {
|
|
|
4120
4123
|
});
|
|
4121
4124
|
const resolvedValues = await Promise.all(values);
|
|
4122
4125
|
const containsBashExpression = resolvedValues.some((value) => value instanceof BashExpression_1.BashExpression);
|
|
4123
|
-
const result = String.prototype.replace.call(
|
|
4126
|
+
const result = String.prototype.replace.call(stringRepresentation, searchValue, function () {
|
|
4124
4127
|
var _a, _b;
|
|
4125
4128
|
return (_b = (_a = resolvedValues.shift()) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : "";
|
|
4126
4129
|
});
|
|
@@ -7107,6 +7110,8 @@ const getServiceDeployScript = (context, service, nameSuffix) => {
|
|
|
7107
7110
|
timeout: customConfig === null || customConfig === void 0 ? void 0 : customConfig.timeout,
|
|
7108
7111
|
"vpc-connector": customConfig === null || customConfig === void 0 ? void 0 : customConfig.vpcConnector,
|
|
7109
7112
|
"vpc-egress": customConfig === null || customConfig === void 0 ? void 0 : customConfig.vpcEgress,
|
|
7113
|
+
network: customConfig === null || customConfig === void 0 ? void 0 : customConfig.network,
|
|
7114
|
+
subnet: customConfig === null || customConfig === void 0 ? void 0 : customConfig.subnet,
|
|
7110
7115
|
"use-http2": customConfig === null || customConfig === void 0 ? void 0 : customConfig.http2,
|
|
7111
7116
|
"allow-unauthenticated": (_d = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _d !== void 0 ? _d : true,
|
|
7112
7117
|
ingress: (_e = customConfig === null || customConfig === void 0 ? void 0 : customConfig.ingress) !== null && _e !== void 0 ? _e : "all",
|
|
@@ -5,12 +5,15 @@ const BashExpression_1 = require("./BashExpression");
|
|
|
5
5
|
// and adjusted a bit
|
|
6
6
|
async function replaceAsync(string, searchValue, replacer) {
|
|
7
7
|
const wasBashExpression = string instanceof BashExpression_1.BashExpression;
|
|
8
|
+
const stringRepresentation = wasBashExpression
|
|
9
|
+
? string.toString()
|
|
10
|
+
: (0, BashExpression_1.bashEscape)(string);
|
|
8
11
|
try {
|
|
9
12
|
// 1. Run fake pass of `replace`, collect values from `replacer` calls
|
|
10
13
|
// 2. Resolve them with `Promise.all`
|
|
11
14
|
// 3. Run `replace` with resolved values
|
|
12
15
|
const values = [];
|
|
13
|
-
String.prototype.replace.call(
|
|
16
|
+
String.prototype.replace.call(stringRepresentation, searchValue, function (...args) {
|
|
14
17
|
// eslint-disable-next-line prefer-spread
|
|
15
18
|
const result = replacer.apply(undefined, args);
|
|
16
19
|
values.push(result);
|
|
@@ -18,7 +21,7 @@ async function replaceAsync(string, searchValue, replacer) {
|
|
|
18
21
|
});
|
|
19
22
|
const resolvedValues = await Promise.all(values);
|
|
20
23
|
const containsBashExpression = resolvedValues.some((value) => value instanceof BashExpression_1.BashExpression);
|
|
21
|
-
const result = String.prototype.replace.call(
|
|
24
|
+
const result = String.prototype.replace.call(stringRepresentation, searchValue, function () {
|
|
22
25
|
var _a, _b;
|
|
23
26
|
return (_b = (_a = resolvedValues.shift()) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : "";
|
|
24
27
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replaceAsync.js","sourceRoot":"","sources":["../../../../../pipeline/src/bash/replaceAsync.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"replaceAsync.js","sourceRoot":"","sources":["../../../../../pipeline/src/bash/replaceAsync.ts"],"names":[],"mappings":";;AAAA,qDAA8D;AAE9D,wEAAwE;AACxE,qBAAqB;AACN,KAAK,UAAU,YAAY,CACxC,MAA+B,EAC/B,WAAgB,EAChB,QAGqC;IAErC,MAAM,iBAAiB,GAAG,MAAM,YAAY,+BAAc,CAAC;IAE3D,MAAM,oBAAoB,GAAG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=> {
|
|
|
38
38
|
timeout: customConfig === null || customConfig === void 0 ? void 0 : customConfig.timeout,
|
|
39
39
|
"vpc-connector": customConfig === null || customConfig === void 0 ? void 0 : customConfig.vpcConnector,
|
|
40
40
|
"vpc-egress": customConfig === null || customConfig === void 0 ? void 0 : customConfig.vpcEgress,
|
|
41
|
+
network: customConfig === null || customConfig === void 0 ? void 0 : customConfig.network,
|
|
42
|
+
subnet: customConfig === null || customConfig === void 0 ? void 0 : customConfig.subnet,
|
|
41
43
|
"use-http2": customConfig === null || customConfig === void 0 ? void 0 : customConfig.http2,
|
|
42
44
|
"allow-unauthenticated": (_d = customConfig === null || customConfig === void 0 ? void 0 : customConfig.allowUnauthenticated) !== null && _d !== void 0 ? _d : true,
|
|
43
45
|
ingress: (_e = customConfig === null || customConfig === void 0 ? void 0 : customConfig.ingress) !== null && _e !== void 0 ? _e : "all",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudRunServices.js","sourceRoot":"","sources":["../../../../../../../pipeline/src/deploy/cloudRun/createJobs/cloudRunServices.ts"],"names":[],"mappings":";;;AAAA,0DAAuD;AAIvD,gEAA6D;AAC7D,4DAAyD;AACzD,qCAKkB;AAClB,2CAAgD;AAChD,uCAA+C;AAExC,MAAM,sBAAsB,GAAG,CACpC,OAAyB,EACzB,OAAuD,EACvD,UAAmB,EACnB,EAAE;;IACF,MAAM,gBAAgB,GAAG,IAAA,4BAAmB,EAAC,OAAO,CAAC,CAAC;IAEtD,MAAM,WAAW,GAAG,IAAA,+BAAc,EAAC,OAAO,CAAC,CAAC;IAE5C,MAAM,YAAY,GAAG,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5D,MAAM,OAAO,GACX,OAAO,KAAK,IAAI;QACd,CAAC,CAAC,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,mCAAI,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY;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MAAM,sBAAsB,GAAG,CACpC,OAAyB,EACzB,aAAsB,EACtB,EAAE;IACF,MAAM,UAAU,GAAG,IAAA,8BAAqB,EAAC,OAAO,CAAC,CAAC;IAElD,MAAM,gBAAgB,GAAG,IAAA,mCAAgB,EAAC,UAAU,CAAC,CAAC;IAEtD,MAAM,WAAW,GAAG,IAAA,+BAAc,EAAC,OAAO,CAAC,CAAC;IAE5C,MAAM,eAAe,GAAG,aAAa;QACnC,CAAC,CAAC,GAAG,WAAW,IAAI,aAAa,EAAE;QACnC,CAAC,CAAC,WAAW,CAAC;IAEhB,OAAO;QACL,GAAG,IAAA,qBAAY,GAAE,oBAAoB,eAAe,IAAI,gBAAgB,EAAE;KAC3E,CAAC;AACJ,CAAC,CAAC;AAjBW,QAAA,sBAAsB,0BAiBjC"}
|
|
@@ -106,14 +106,19 @@ export type DeployConfigCloudRunService = {
|
|
|
106
106
|
* defaults to gen1 according to gcloud
|
|
107
107
|
*/
|
|
108
108
|
executionEnvironment?: "gen2" | "gen1";
|
|
109
|
+
network?: string;
|
|
109
110
|
/**
|
|
110
|
-
* vpc
|
|
111
|
+
* vpc subnet to use, see https://cloud.google.com/sdk/gcloud/reference/run/deploy#--subnet
|
|
111
112
|
*/
|
|
112
|
-
|
|
113
|
+
subnet?: string;
|
|
113
114
|
/**
|
|
114
115
|
* vpc egress, see https://cloud.google.com/sdk/gcloud/reference/run/deploy#--vpc-egress
|
|
115
116
|
*/
|
|
116
117
|
vpcEgress?: "all-traffic" | "private-ranges-only";
|
|
118
|
+
/**
|
|
119
|
+
* vpc connector
|
|
120
|
+
*/
|
|
121
|
+
vpcConnector?: string;
|
|
117
122
|
/**
|
|
118
123
|
* Use http2 end-to-end. See https://cloud.google.com/run/docs/configuring/http2
|
|
119
124
|
*
|