@catladder/cli 1.48.0 → 1.48.2
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/apps/cli/commands/project/setup/setupCloudRun.js +7 -0
- package/dist/apps/cli/commands/project/setup/setupCloudRun.js.map +1 -1
- package/dist/bundles/catenv/index.js +1 -1
- package/dist/bundles/cli/index.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
- package/src/apps/cli/commands/project/setup/setupCloudRun.ts +5 -2
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"node": ">=12.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@catladder/pipeline": "1.48.
|
|
27
|
+
"@catladder/pipeline": "1.48.2",
|
|
28
28
|
"@kubernetes/client-node": "^0.16.2",
|
|
29
29
|
"@tsconfig/node14": "^1.0.1",
|
|
30
30
|
"@types/common-tags": "^1.8.0",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"eslint": "^8.7.0",
|
|
48
48
|
"fs-extra": "^7.0.1",
|
|
49
49
|
"gitlab": "^4.4.1",
|
|
50
|
+
"is-ci": "^3.0.1",
|
|
50
51
|
"js-yaml": "^4.1.0",
|
|
51
52
|
"lodash": "^4.17.21",
|
|
52
53
|
"memoizee": "^0.4.14",
|
|
@@ -58,5 +59,5 @@
|
|
|
58
59
|
"update-notifier": "^5",
|
|
59
60
|
"vorpal": "^1.12.0"
|
|
60
61
|
},
|
|
61
|
-
"version": "1.48.
|
|
62
|
+
"version": "1.48.2"
|
|
62
63
|
}
|
|
@@ -29,9 +29,10 @@ export const setupCloudRun = async (
|
|
|
29
29
|
["run.googleapis.com", "artifactregistry.googleapis.com"],
|
|
30
30
|
config
|
|
31
31
|
);
|
|
32
|
-
|
|
32
|
+
instance.log("upsert artifacts registry...");
|
|
33
33
|
await upsertGcloudArtifactsRegistry(config);
|
|
34
34
|
|
|
35
|
+
instance.log("upsert deploy service account...");
|
|
35
36
|
await upsertGcloudServiceAccountAndSaveSecret(
|
|
36
37
|
instance,
|
|
37
38
|
context,
|
|
@@ -54,7 +55,9 @@ export const setupCloudRun = async (
|
|
|
54
55
|
// but the pipeline need to know it before deployment
|
|
55
56
|
// so we get this through some magic and add this as a ci/cd variable
|
|
56
57
|
// the pipeline than can use this to construct the canonical host
|
|
57
|
-
|
|
58
|
+
instance.log(
|
|
59
|
+
"get service domain suffix... that might take a while initially"
|
|
60
|
+
);
|
|
58
61
|
const suffix = await getCloudRunDomainSuffix(config);
|
|
59
62
|
instance.log("domain suffix: " + suffix);
|
|
60
63
|
|