https://pulumi.com logo
#golang
Title
# golang
w

white-midnight-53747

09/02/2020, 10:00 AM
Is anyone using VSCode / Remote Containers (on Windows) for their development e.g. - https://www.pulumi.com/blog/vscode-devcontainers/ If so, how have you configured docker to run. Trying to run the basic example tests (go test ./...) from this https://github.com/pulumi/pulumi-aws/tree/master/examples/webserver-go and the container times out continually. Any tips or anyone experiencing the same?
l

lemon-agent-27707

09/02/2020, 12:40 PM
How much memory are you allocating for the container? The go SDK is quite large and the compilation/run step uses a fair amount of memory.
w

white-midnight-53747

09/02/2020, 12:48 PM
l

lemon-agent-27707

09/02/2020, 12:54 PM
Might be worth trying 8gb. Also this directory you linked doesn't have any tests in it. The parent directory does, but you must specify the
-tag=all
build tag https://github.com/pulumi/pulumi-aws/tree/master/examples https://github.com/pulumi/pulumi-aws/blob/master/examples/examples_go_test.go#L2
w

white-midnight-53747

09/02/2020, 2:14 PM
i'll try with 8Gb as well
3 Views