Merge pull request #852 from bcgov/dependabot/npm_and_yarn/aws/minima… #196
publish-lambdas.yml
on: push
get-lambdas
20s
Matrix: deploy2gchr
Matrix: Deploy to DEV
Matrix: Deploy to TEST
Matrix: Deploy to PROD
Annotations
16 errors
|
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:70:15
❯ node_modules/@smithy/node-config-provider/dist-cjs/index.js:54:83
❯ node_modules/@smithy/property-provider/dist-cjs/index.js:50:39
❯ coalesceProvider node_modules/@smithy/property-provider/dist-cjs/index.js:76:24
❯ node_modules/@smithy/property-provider/dist-cjs/index.js:88:28
❯ region node_modules/@smithy/config-resolver/dist-cjs/index.js:107:67
❯ Object.defaultSecretsManagerHttpAuthSchemeParametersProvider [as httpAuthSchemeParametersProvider] node_modules/@aws-sdk/client-secrets-manager/dist-cjs/auth/httpAuthSchemeProvider.js:9:17
❯ node_modules/@smithy/core/dist-cjs/index.js:40:51
❯ node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:5:26
❯ 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:70:15
❯ node_modules/@smithy/node-config-provider/dist-cjs/index.js:54:83
❯ node_modules/@smithy/property-provider/dist-cjs/index.js:50:39
❯ coalesceProvider node_modules/@smithy/property-provider/dist-cjs/index.js:76:24
❯ node_modules/@smithy/property-provider/dist-cjs/index.js:88:28
❯ region node_modules/@smithy/config-resolver/dist-cjs/index.js:107:67
❯ Object.defaultSecretsManagerHttpAuthSchemeParametersProvider [as httpAuthSchemeParametersProvider] node_modules/@aws-sdk/client-secrets-manager/dist-cjs/auth/httpAuthSchemeProvider.js:9:17
❯ node_modules/@smithy/core/dist-cjs/index.js:40:51
❯ node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:5:26
❯ 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
|
|
deploy2gchr (auth/rotate-key)
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c npm ci --ignore-scripts" did not complete successfully: exit code: 1
|
|
deploy2gchr (proxy/get-assigned-cases-request)
The strategy configuration was canceled because "deploy2gchr.auth_rotate-key" failed
|
|
deploy2gchr (proxy/get-assigned-cases-request)
The operation was canceled.
|
|
deploy2gchr (auth/authorizer)
The strategy configuration was canceled because "deploy2gchr.auth_rotate-key" failed
|
|
deploy2gchr (auth/authorizer)
The operation was canceled.
|
|
deploy2gchr (proxy/proxy-request)
The strategy configuration was canceled because "deploy2gchr.auth_rotate-key" failed
|
|
deploy2gchr (proxy/proxy-request)
The operation was canceled.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
bcgov~jasper~O1OAZU.dockerbuild
|
16.1 KB |
sha256:daf7c79e087d3ad3f085ed2e52e1bbf08a6a3211b2043e0d377e4f8168f0360f
|
|