retained workspace for k8s
parent
a63b155b63
commit
1de2bd651b
|
|
@ -3350,7 +3350,6 @@ class KubernetesStorage {
|
|||
const allPvc = (yield kubeClient.listNamespacedPersistentVolumeClaim(namespace)).body.items;
|
||||
const pvcList = allPvc.map((x) => { var _a; return (_a = x.metadata) === null || _a === void 0 ? void 0 : _a.name; });
|
||||
cloud_runner_logger_1.default.log(`Current PVCs in namespace ${namespace}`);
|
||||
cloud_runner_logger_1.default.log(JSON.stringify(allPvc, undefined, 4));
|
||||
cloud_runner_logger_1.default.log(JSON.stringify(pvcList, undefined, 4));
|
||||
if (pvcList.includes(pvcName)) {
|
||||
cloud_runner_logger_1.default.log(`pvc ${pvcName} already exists`);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -22,7 +22,6 @@ class KubernetesStorage {
|
|||
const allPvc = (await kubeClient.listNamespacedPersistentVolumeClaim(namespace)).body.items;
|
||||
const pvcList = allPvc.map((x) => x.metadata?.name);
|
||||
CloudRunnerLogger.log(`Current PVCs in namespace ${namespace}`);
|
||||
CloudRunnerLogger.log(JSON.stringify(allPvc, undefined, 4));
|
||||
CloudRunnerLogger.log(JSON.stringify(pvcList, undefined, 4));
|
||||
if (pvcList.includes(pvcName)) {
|
||||
CloudRunnerLogger.log(`pvc ${pvcName} already exists`);
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ describe('Cloud Runner Sync Environments', () => {
|
|||
.replace(/\s+/g, '')
|
||||
.replace(new RegExp(`\\[${CloudRunnerStatics.logPrefix}\\]`, 'g'), '');
|
||||
for (const element of combined) {
|
||||
CloudRunnerLogger.log(`checking input/build param ${element.name} ${element.value}`);
|
||||
// CloudRunnerLogger.log(`checking input/build param ${element.name} ${element.value}`);
|
||||
expect(newLinePurgedFile).toContain(`${element.name}`);
|
||||
CloudRunnerLogger.log(`Contains ${element.name}`);
|
||||
const fullNameEqualValue = `${element.name}=${element.value}`;
|
||||
|
|
|
|||
Loading…
Reference in New Issue