Deploy API to Staging #47
api-promote-staging.yml
on: workflow_dispatch
test
5m 52s
deploy-staging
52s
Annotations
1 error and 8 warnings
deploy-staging
code: -2
stdout:
stderr: Command failed with exit code 255: pulumi up --yes --skip-preview --parallel 2147483647 --exec-agent pulumi/actions@v3 --color auto --exec-kind auto.local --stack gitcoin/passport-***/*** --non-interactive
Updating (gitcoin/***)
View Live: https://app.pulumi.com/gitcoin/passport-***/***/updates/181
pulumi:pulumi:Stack passport-***-*** running
@ Updating.................
pulumi:pulumi:Stack passport-***-*** running error: Running program '/home/runner/work/passport-***/passport-***/infra/***' failed with an unhandled exception:
@ Updating........
pulumi:pulumi:Stack passport-***-*** **failed** 1 error
Diagnostics:
pulumi:pulumi:Stack (passport-***-***):
error: Running program '/home/runner/work/passport-***/passport-***/infra/***' failed with an unhandled exception:
TSError: ⨯ Unable to compile TypeScript:
index.ts(773,12): error TS2532: Object is possibly 'undefined'.
index.ts(773,36): error TS2339: Property 'apply' does not exist on type 'Role'.
index.ts(773,43): error TS7006: Parameter 'role' implicitly has an 'any' type.
index.ts(779,7): error TS2322: Type 'string' is not assignable to type 'boolean | Promise<boolean> | OutputInstance<boolean> | undefined'.
Outputs:
- clusterId : "arn:aws:ecs:us-west-2:***:cluster/***-06e905a"
- dockerGtcPassport***Image : "public.ecr.aws/t1g3k9q8/passport-***:2687c4d"
- dockerGtcPassportVerifierImage: "public.ecr.aws/t1g3k9q8/passport-verifier:2687c4d"
- dockrRunCmd : [secret]
- domain : "api.***.***.***"
- ec2PublicIp : "34.222.110.59"
- publicServiceUrl : "https://api.***.***.***"
- rdsArn : "arn:aws:rds:us-west-2:***:db:***-dbc7719da"
- rdsConnectionUrl : [secret]
- rdsEndpoint : "***-dbc7719da.cxzcobkq7hgn.us-west-2.rds.amazonaws.com:5432"
- rdsId : "***-dbc7719da"
- redisCacheOpsConnectionUrl : "redis://***-redis-40e6f5c.gmwx3w.0001.usw2.cache.amazonaws.com:6379/0"
- redisPrimaryNode : {
- address : "***-redis-40e6f5c.gmwx3w.0001.usw2.cache.amazonaws.com"
- availabilityZone: "us-west-2a"
- id : "0001"
- outpostArn : ""
- port : 6379
}
- securityGroupForTaskDefinition: "sg-0c4925659e66f01c6"
- taskDefinition : "***-run-createsuperuser-39eb9204"
- taskMigrateDefinition : "***-run-migrate-39eb9204"
- vpcID : "vpc-02038bb38d5423045"
- vpcPrivateSubnetId1 : "subnet-009b6253db8319a15"
- vpcPrivateSubnetId2 : "subnet-0b5fbf132c6578082"
- vpcPrivateSubnetIds : [
- [0]: "subnet-009b6253db8319a15"
- [1]: "subnet-0b5fbf132c6578082"
]
- vpcPublicSubnet1 : "subnet-0468140619a685970"
- vpcPublicSubnetId1 : "subnet-0468140619a685970"
- vpcPublicSubnetId2 : "subnet-0aa4511beaf8c5ee4"
- vpcPublicSubnetIds : [
- [0]: "subnet-0468140619a685970"
- [1]: "subnet-0aa4511beaf8c5ee4"
]
Resources:
1 unchanged
Duration: 20s
err?: Error: Command failed with exit code 255: pulumi up --yes --skip-preview --parallel 2147483647 --exec-agent pulumi/actions@v3 --color auto --exec-kind auto.local --stack gitcoin/passport-***/*** --non-interactive
Updating (gitcoin/***)
View Live: https://app.pulumi.com/gitcoin/passport-***/***/updates/181
pulumi:pulumi:Stack passport-***-*** running
@ Updating.................
pulumi:pulumi:Stack passport-***-*** running error: Running program '/home/runner/work/passport-***/passport-***/infra/***' failed with an unhandled exception:
@ Updating........
pulumi:pulumi:Stack passport-***-*** **failed** 1 error
Diagnostics:
pulumi:pulumi:Stack (passport-***-***):
error: Running program '/home/runner/work/passport-***/passport-***/infra/***' failed with an unhandled exception:
TSError: ⨯ Unable to compile TypeScript:
index.
|
build-verifier
The following actions uses node12 which is deprecated and will be forced to run on node16: aws-actions/configure-aws-credentials@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build-verifier
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/
|
build-verifier
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/
|
build-api
The following actions uses node12 which is deprecated and will be forced to run on node16: aws-actions/configure-aws-credentials@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build-api
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/
|
build-api
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/
|
deploy-staging
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2, 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/
|
deploy-staging
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/
|