Deploy Lambda Functions #184
publish-lambdas.yml
on: workflow_dispatch
get-lambdas
18s
Matrix: deploy2gchr
Matrix: Deploy to DEV
Matrix: Deploy to TEST
Matrix: Deploy to PROD
Annotations
13 errors and 4 warnings
|
get-lambdas
Process completed with exit code 1.
|
|
tests/services/secretsManagerService.test.ts > SecretsManagerService > should call updateSecret correctly:
aws/services/secretsManagerService.ts#L29
Error: Region is missing
❯ default node_modules/@smithy/config-resolver/dist-cjs/index.js:117:11
❯ node_modules/@smithy/node-config-provider/dist-cjs/index.js:90:104
❯ node_modules/@smithy/property-provider/dist-cjs/index.js:99:33
❯ coalesceProvider node_modules/@smithy/property-provider/dist-cjs/index.js:126:18
❯ node_modules/@smithy/property-provider/dist-cjs/index.js:137:20
❯ region node_modules/@smithy/config-resolver/dist-cjs/index.js:142:30
❯ Object.defaultSecretsManagerHttpAuthSchemeParametersProvider [as httpAuthSchemeParametersProvider] node_modules/@aws-sdk/client-secrets-manager/dist-cjs/auth/httpAuthSchemeProvider.js:9:18
❯ node_modules/@smithy/core/dist-cjs/index.js:64:5
❯ node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
❯ SecretsManagerService.updateSecret services/secretsManagerService.ts:29:5
|
|
tests/services/secretsManagerService.test.ts > SecretsManagerService > should throw an error if SecretString is missing:
aws/tests/services/secretsManagerService.test.ts#L40
AssertionError: expected [Function] to throw error including 'Secret with ID test-secret does not c…' but got 'Region is missing'
Expected: "Secret with ID test-secret does not contain SecretString"
Received: "Region is missing"
❯ tests/services/secretsManagerService.test.ts:40:5
|
|
tests/services/secretsManagerService.test.ts > SecretsManagerService > should return the secret value when getSecret is called:
aws/services/secretsManagerService.ts#L12
Error: Region is missing
❯ default node_modules/@smithy/config-resolver/dist-cjs/index.js:117:11
❯ node_modules/@smithy/node-config-provider/dist-cjs/index.js:90:104
❯ node_modules/@smithy/property-provider/dist-cjs/index.js:99:33
❯ coalesceProvider node_modules/@smithy/property-provider/dist-cjs/index.js:126:18
❯ node_modules/@smithy/property-provider/dist-cjs/index.js:137:20
❯ region node_modules/@smithy/config-resolver/dist-cjs/index.js:142:30
❯ Object.defaultSecretsManagerHttpAuthSchemeParametersProvider [as httpAuthSchemeParametersProvider] node_modules/@aws-sdk/client-secrets-manager/dist-cjs/auth/httpAuthSchemeProvider.js:9:18
❯ node_modules/@smithy/core/dist-cjs/index.js:64:5
❯ node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
❯ SecretsManagerService.getSecret services/secretsManagerService.ts:12:18
|
|
tests/services/httpService.test.ts > HttpService > should handle errors correctly:
aws/tests/services/httpService.test.ts#L137
AssertionError: expected Error: Unexpected error occurred to match object { response: { status: 404 } }
- Expected
+ Received
- {
- "response": {
- "status": 404,
- },
+ Error {
+ "message": "Unexpected error occurred",
}
❯ tests/services/httpService.test.ts:137:5
|
|
tests/services/httpService.test.ts > HttpService > should perform PUT request:
aws/services/httpService.ts#L97
Error: Unexpected error occurred
❯ HttpService.handleError services/httpService.ts:97:13
❯ HttpService.put services/httpService.ts:87:12
❯ tests/services/httpService.test.ts:108:22
|
|
tests/services/httpService.test.ts > HttpService > should perform POST request:
aws/services/httpService.ts#L97
Error: Unexpected error occurred
❯ HttpService.handleError services/httpService.ts:97:13
❯ HttpService.post services/httpService.ts:70:12
❯ tests/services/httpService.test.ts:85:22
|
|
tests/services/httpService.test.ts > HttpService > should perform GET request:
aws/services/httpService.ts#L97
Error: Unexpected error occurred
❯ HttpService.handleError services/httpService.ts:97:13
❯ HttpService.get services/httpService.ts:53:12
❯ tests/services/httpService.test.ts:70:22
|
|
tests/services/httpService.test.ts > HttpService > should initialize axios instance with correct configs:
aws/tests/services/httpService.test.ts#L49
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
Number of calls: 0
❯ tests/services/httpService.test.ts:49:30
|
|
Deploy to TEST (auth/authorizer)
The deployment was rejected or didn't satisfy other protection rules.
|
|
Deploy to TEST (proxy/proxy-request)
The deployment was rejected or didn't satisfy other protection rules.
|
|
Deploy to TEST (auth/rotate-key)
The deployment was rejected or didn't satisfy other protection rules.
|
|
Deploy to TEST (proxy/get-assigned-cases-request)
The deployment was rejected or didn't satisfy other protection rules.
|
|
Variables should be defined before their use:
docker/aws/Dockerfile.release#L10
UndefinedVar: Usage of undefined variable '$WEB_SRC'
More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
|
|
Variables should be defined before their use:
docker/aws/Dockerfile.release#L10
UndefinedVar: Usage of undefined variable '$WEB_SRC'
More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
|
|
Variables should be defined before their use:
docker/aws/Dockerfile.release#L10
UndefinedVar: Usage of undefined variable '$WEB_SRC'
More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
|
|
Variables should be defined before their use:
docker/aws/Dockerfile.release#L10
UndefinedVar: Usage of undefined variable '$WEB_SRC'
More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
bcgov~jasper~90G4G8.dockerbuild
Expired
|
24.2 KB |
sha256:630e870991c18187f129761c9e076c875866c0bc2e7caa7eb3d87393114bd516
|
|
|
bcgov~jasper~RNPBQ9.dockerbuild
Expired
|
23.5 KB |
sha256:ccaab23a4c4c29e8466a6eb9ebd241bcb36fa9708c16fff6d2964a0cbfdb92b4
|
|
|
bcgov~jasper~S16J4T.dockerbuild
Expired
|
24.9 KB |
sha256:1126171ab7a0fed97868807d6c9fbacb5f56ca3caf8c92951e570c58888d617e
|
|
|
bcgov~jasper~U07GUV.dockerbuild
Expired
|
23.4 KB |
sha256:640ed8755ba1591a38f804f7d2c40a46cc7d51db278679dc4427840e7b7a1b82
|
|