@catladder/cli 1.91.0 → 1.91.1

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/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "node": ">=12.0.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@catladder/pipeline": "1.91.0",
27
+ "@catladder/pipeline": "1.91.1",
28
28
  "@kubernetes/client-node": "^0.16.2",
29
29
  "@tsconfig/node14": "^1.0.1",
30
30
  "@types/common-tags": "^1.8.0",
@@ -57,5 +57,5 @@
57
57
  "typescript": "^4.5.4",
58
58
  "vorpal": "^1.12.0"
59
59
  },
60
- "version": "1.91.0"
60
+ "version": "1.91.1"
61
61
  }
@@ -61,35 +61,14 @@ export default async (vorpal: Vorpal) =>
61
61
  );
62
62
  this.log("");
63
63
 
64
- // legacy, some projects have the cloudsqlProxyCredentials in the secrets
65
- // actually it works without, if the current local shell user has access to the db through google cloud
66
- const cloudsqlProxyCredentials = await getGitlabVar(
67
- this,
68
- env,
69
- componentName,
70
- "cloudsqlProxyCredentials"
71
- );
72
-
73
- await withFile(async ({ path: tmpFilePath }) => {
74
- if (cloudsqlProxyCredentials) {
75
- await writeFile(tmpFilePath, cloudsqlProxyCredentials);
64
+ await spawn(
65
+ "cloud_sql_proxy",
66
+ ["-instances", `${instanceName}=tcp:${localPort}`],
67
+ {
68
+ stdio: "inherit",
69
+ shell: true,
76
70
  }
77
-
78
- await spawn(
79
- "cloud_sql_proxy",
80
- [
81
- "-instances",
82
- `${instanceName}=tcp:${localPort}`,
83
- ...(cloudsqlProxyCredentials
84
- ? ["-credential_file", tmpFilePath]
85
- : []),
86
- ],
87
- {
88
- stdio: "inherit",
89
- shell: true,
90
- }
91
- );
92
- });
71
+ );
93
72
  });
94
73
 
95
74
  const getProxyInfoForKubernetes = async (