Log PVC state
parent
d01688d55f
commit
dcb6b5241c
|
|
@ -1375,6 +1375,7 @@ class Kubernetes {
|
|||
yield this.cleanup();
|
||||
}
|
||||
catch (error) {
|
||||
core.error(error);
|
||||
core.error(JSON.stringify(error.response, undefined, 4));
|
||||
throw error;
|
||||
}
|
||||
|
|
@ -1758,6 +1759,7 @@ class KubernetesStorage {
|
|||
};
|
||||
yield kubeClient.createNamespacedPersistentVolumeClaim(namespace, pvc);
|
||||
core.info(`Persistent Volume Claim created`);
|
||||
core.info(`PVC state: ${yield this.getPVCPhase(kubeClient, pvcName, namespace)}`);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -157,6 +157,7 @@ class Kubernetes implements RemoteBuilderProviderInterface {
|
|||
|
||||
await this.cleanup();
|
||||
} catch (error) {
|
||||
core.error(error);
|
||||
core.error(JSON.stringify(error.response, undefined, 4));
|
||||
throw error;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ class KubernetesStorage {
|
|||
};
|
||||
await kubeClient.createNamespacedPersistentVolumeClaim(namespace, pvc);
|
||||
core.info(`Persistent Volume Claim created`);
|
||||
core.info(`PVC state: ${await this.getPVCPhase(kubeClient, pvcName, namespace)}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue