我一直在使用google的cloud build为我的部署构建我的工件/docker。但在提交构建时,我突然收到以下错误:
Creating temporary tarball archive of 1103 file(s) totalling 99.5 MiB before compression. ERROR: gcloud crashed (IOError): [Errno 28] No space left on device
我也增加了diskSizeGB的大小,但是我仍然得到这个错误。云构建在云中的什么地方进行,或者在哪个虚拟机上进行?如何摆脱这个错误?
我想不清楚sqlalchemy是如何工作的,我尝试从本地计算机连接到运行在云服务器上的postgresql:
db = create_engine('postgresql://ubuntu@172.23.160.212:5432/dbname')
但这会导致错误。
Is the server running on host "172.23.160.212" and accepting
TCP/IP connections on port 5432?
我已经检查了端口和主机也存在。
我认为我应该首先使用ssh连接到主机:
with SSHTunnelFor