refactor: port user service db from mongodb to planetscale #22
user_service_pull_request.yml
on: pull_request
Preview
1m 18s
Annotations
1 error and 3 warnings
Preview
code: -2
stdout:
stderr: Command failed with exit code 255: pulumi preview --parallel 2147483647 --exec-agent pulumi/actions@v3 --color auto --exec-kind auto.local --event-log /tmp/automation-logs-preview-UIPqKc/eventlog.txt --stack cs3219/user-service-infra/staging --non-interactive
warning: Your Pulumi organization is on an expired trial or a canceled subscription. Update your subscription to maintain organization access: https://app.pulumi.com/cs3219/settings/billing-usage
[resource plugin mongodbatlas-3.11.0] installing
[resource plugin aws-5.35.0] installing
Previewing update (cs3219/staging)
View Live: https://app.pulumi.com/cs3219/user-service-infra/staging/previews/3055064a-af38-4c82-ad64-de139cc4f15b
@ Previewing update..........
@ Previewing update......
pulumi:pulumi:Stack user-service-infra-staging running
@ Previewing update..............
pulumi:providers:mongodbatlas CS3219
@ Previewing update....
aws:ecs:Cluster cluster
awsx:ecr:Repository repo
mongodbatlas:index:Project user-service-staging
pulumi:pulumi:Stack user-service-infra-staging running read pulumi:pulumi:StackReference cs3219/frontend-infra/staging
pulumi:pulumi:Stack user-service-infra-staging running read pulumi:pulumi:StackReference cs3219/api-gateway-infra/staging
mongodbatlas:index:DatabaseUser user
mongodbatlas:index:Cluster Cluster
pulumi:pulumi:Stack user-service-infra-staging running read pulumi:pulumi:StackReference cs3219/frontend-infra/staging
pulumi:pulumi:Stack user-service-infra-staging running read pulumi:pulumi:StackReference cs3219/api-gateway-infra/staging
@ Previewing update.....
aws:ecr:Repository repo
aws:ecr:LifecyclePolicy repo
@ Previewing update....
awsx:lb:ApplicationLoadBalancer loadbalancer
@ Previewing update......
aws:lb:TargetGroup loadbalancer
aws:ec2:SecurityGroup loadbalancer
aws:lb:LoadBalancer loadbalancer
aws:lb:Listener loadbalancer-1
aws:lb:Listener loadbalancer-0
awsx:ecr:Image image
awsx:ecr:Image image Building image '../app'...
aws:route53:Record users.staging.peerprep.net
@ Previewing update...................
pulumi:pulumi:Stack user-service-infra-staging running Error: ' docker build ../app -t 0b04f2cc-container' failed with exit code 1
pulumi:pulumi:Stack user-service-infra-staging running : Error: ' docker build ../app -t 0b04f2cc-container' failed with exit code 1
pulumi:pulumi:Stack user-service-infra-staging running at /snapshot/awsx/node_modules/@pulumi/docker/docker.js:406:19
pulumi:pulumi:Stack user-service-infra-staging running at Generator.next (<anonymous>)
pulumi:pulumi:Stack user-service-infra-staging running at fulfilled (/snapshot/awsx/node_modules/@pulumi/docker/docker.js:18:58)
pulumi:pulumi:Stack user-service-infra-staging running at processTicksAndRejections (node:internal/process/task_queues:96:5)
awsx:ecr:Image image error: #0 building with "default" instance using docker driver
awsx:ecr:Image image ' docker build ../app -t 0b04f2cc-container' failed with exit code 1
pulumi:pulumi:Stack user-service-infra-staging running error: Error: ' docker build ../app -t 0b04f2cc-container' failed with exit code 1
pulumi:pulumi:Stack user-service-infra-staging running error: Error: failed to register new resource image [awsx:ecr:Image]: 2 UNKNOWN: ' docker build ../app -t 0b04f2cc-container' failed with exit code 1
pulumi:pulumi:Stack user-service-infra-staging 2 errors; 6 messages
Diagnostics:
awsx:ecr:Image (image):
error: #0 building with "default" instance using docker driver
#1 [internal] load .dockerignore
#1 transferring context: 66B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 712B done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/node:18-alpine
#3 DONE 0.0s
#4 [builder 1/7] FROM docker.io/library/node:18-alpine
#4 DONE 0.0s
#5 [internal] load build co
|
Preview
The following actions uses node12 which is deprecated and will be forced to run on node16: aws-actions/configure-aws-credentials@v1, pulumi/actions@v3. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Preview
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Preview
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|