refactor: Upgrade snapshot fetcher and refactor deployer into smaller components #233
pr.yml
on: pull_request
pr
/
quay-build-push
1m 10s
Annotations
1 error and 1 warning
pr / quay-build-push
Error: buildah exited with code 1
Resolved "node" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull docker.io/library/node:lts...
Getting image source signatures
Copying blob sha256:62b42fb4fe90bf4449d30223dd0df85292db61fb1bfa77731a2c2b7d580dbf6c
Copying blob sha256:54c7be425079efba0003054ee884bf72f1ffebca733bedd6f077d2809ee9aa6f
Copying blob sha256:1523f4b3f5602bf41caf8d8e649536ac0b3e56984c81a9f518fb20c6516ca075
Copying blob sha256:0a96bdb8280554b560ffee0f2e5f9843dc7b625f28192021ee103ecbcc2d629b
Copying blob sha256:7aa8176e6d893aff4b57b2c22574ec2afadff4673b8e0954e275244bfd3d7bc1
Copying blob sha256:80a699d6cfa9fe9d481389590e57aba34b06944b13af552f6d4d01b208dbbb85
Copying blob sha256:3106d3fcee82378716202b89eab7a41468c4db9051d1393509ed1e9e79a7c033
Copying blob sha256:016f59ac991775323f6469dabfeb45c082ba33314fb155097f283df95c15f75a
Copying config sha256:344dbe71e1c47a59db0e94bebdcc94ef3a7bc8bd828393c820168993539048da
Writing manifest to image destination
debconf: delaying package configuration, since apt-utils is not installed
warning package.json: No license field
warning template-server: No license field
warning "@dcl/eslint-config > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@dcl/eslint-config > [email protected]" has unmet peer dependency "babel-plugin-module-resolver@^3.0.0 || ^4.0.0 || ^5.0.0".
warning package.json: No license field
warning package.json: No license field
PASS test/unit/adapters/deployer.spec.ts (6.562 s)
DeployerComponent
✓ should call mark as deployed when the entity is already stored (6 ms)
✓ should do nothing if the entity is already stored but does not define a markAsDeployed function (3 ms)
✓ should successfully deploy a new entity (4 ms)
✓ should handle retryable errors gracefully (10 ms)
✓ should handle non-retryable errors and mark the entity as deployed (2 ms)
✓ should handle errors before scheduling the job (2 ms)
FAIL test/unit/adapters/sns.spec.ts
● Test suite failed to run
test/unit/adapters/sns.spec.ts:6:3 - error TS2724: '"../../../src/adapters/sns"' has no exported member named 'createSnsPublisherComponent'. Did you mean 'createSnsEventPublisherComponent'?
6 createSnsPublisherComponent,
~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/adapters/sns/publisher.ts:79:23
79 export async function createSnsEventPublisherComponent(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'createSnsEventPublisherComponent' is declared here.
PASS test/unit/adapters/entity-downloader.spec.ts
EntityDownloaderComponent
✓ should download entity successfully (2 ms)
✓ should handle retryable error and not mark the entity as deployed (7 ms)
should handle non-retryable errors
✓ and mark the entity as deployed when the entity has the markAsDeployed defined (1 ms)
✓ and do nothing if the markAsDeployed is not defined (2 ms)
PASS test/unit/logic/build-deployment-message.spec.ts
buildDeploymentMessage
✓ should build a DeploymentToSqs message for SnsType.DEPLOYMENT (1 ms)
✓ should build a CatalystDeploymentEvent message for SnsType.EVENT (1 ms)
✓ should throw an error when for an unknown SnsType (6 ms)
✓ should handle empty contentServerUrls gracefully (1 ms)
(node:24) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:24) NOTE: The AWS SDK for JavaScript (v2) is in maintenance mode.
SDK releases are limited to address critical bug fixes and security issues only.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the blog post at https://a.co/cUPnyil
2025-01-01T18:18:27.525Z [LOG] (http-server): Listening 0.0.0.0:5000
2025-01-01T18:18:27.526Z [INFO] (synchronizer): Starting...
2025-01-01T18:1
|
pr / quay-build-push
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|