https://pulumi.com logo
b

best-xylophone-83824

08/12/2019, 4:14 PM
does
pulumi plugins install
call home? we have CI with no internet access it takes 2.5 minutes, while actual file fetch takes <1 second:
Copy code
+ date
+ pulumi plugin install resource gcp v0.18.15 --server <http://local-proxy.corp:8000/api.pulumi.com/releases/plugins> --verbose --logtostderr
Mon Aug 12 16:09:38 UTC 2019
[resource plugin gcp-0.18.15] installing
[resource plugin gcp-0.18.15] downloading from <http://local-proxy.corp:8000/api.pulumi.com/releases/plugins>

Downloading plugin:  0 B / 27.96 MiB    0.00%[resource plugin gcp-0.18.15] installing tarball ...

Downloading plugin:  6.12 MiB / 27.96 MiB   21.89%
Downloading plugin:  12.03 MiB / 27.96 MiB   43.03%
Downloading plugin:  21.53 MiB / 27.96 MiB   77.01%
Downloading plugin:  27.96 MiB / 27.96 MiB  100.00% 0s
Moving plugin... done.
+ date
Mon Aug 12 16:12:10 UTC 2019
g

gentle-diamond-70147

08/12/2019, 4:27 PM
It could be the version checking that happens. Try setting the environment variable
PULUMI_SKIP_UPDATE_CHECK=true
.
b

best-xylophone-83824

08/12/2019, 4:30 PM
thanks! I'll try
b

better-rainbow-14549

08/12/2019, 4:37 PM
ours always hangs at the "moving plugin" step for a long time
sometimes more than the 10 minute CI timeout
b

best-xylophone-83824

08/12/2019, 5:35 PM
it unpacks it to ~/.pulumi, can it be that some network FS is mounted there?
w

white-balloon-205

08/12/2019, 6:15 PM
sometimes more than the 10 minute CI timeout
@better-rainbow-14549 What CI are you running on? And what OS? That is definitely not expected!
b

better-rainbow-14549

08/13/2019, 8:04 AM
it does it locally on win10 too, but we're using ADO CI with an ubuntu build agent
pretty sure i've only ever seen it with the pulumi/azure plugin though now I think about it
2 Views