bored-car-38257
03/23/2021, 4:08 PMpulumi golang
project …. ended up getting this error ..
go build <http://github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/compute|github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/compute>: /usr/local/go/pkg/tool/linux_amd64/compile: signal: killed
My machine is a mac — and the image am trying to build is as below
FROM golang:1.16.2-alpine3.13
ENV PATH=$PATH:/root/.pulumi/bin
RUN apk update && \
apk add --no-cache bash curl libc6-compat && \
curl -fsSL <https://get.pulumi.com> | sh
After this i copy the project and run pulumi
commands — login is successful to gcs state .#Seting up the state file
pulumi login ${PULUMI_BACKEND_URL}
#selecting a stack
pulumi stack select ${PULUMI_STACK} --non-interactive
pulumi config set --path gcpconfig:test.name ${TEST_SERVICE}
pulumi refresh -y --non-interactive
pulumi preview --non-interactive
pulumi up -f -y --non-interactive
These are my entry point commands and i get the error
go build <http://github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/compute|github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/compute>: /usr/local/go/pkg/tool/linux_amd64/compile: signal: killed
error: an unhandled error occurred: program exited with non-zero exit code: 1
gentle-diamond-70147
03/23/2021, 4:10 PMbored-car-38257
03/23/2021, 4:15 PMpulumi up
runs fine in local though ..billowy-army-68599
03/23/2021, 5:09 PMbored-car-38257
03/24/2021, 1:03 AMbillowy-army-68599
03/24/2021, 6:49 AMbored-car-38257
03/24/2021, 9:20 AM