You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we are trying to deploy your instance schedular by pipeline. The pipeline inherits from an alpine image and has the following versions installed:
Node: v18.20.1
Npm: 9.6.6
Python 3.11.10
Poetry (version 2.0.0)
Running the following commands from your instructions
npm ci
npx cdk bootstrap
npx cdk deploy instance-scheduler-on-aws
result in an error:
Bundling asset instance-scheduler-on-aws/MetricsUuidGenerator/Code/Stage...
sending incremental file list
sent 38 bytes received 12 bytes 100.00 bytes/sec
total size is 0 speedup is 0.00
Poetry could not find a pyproject.toml file in /asset-output or its parents
Error: Failed to bundle asset instance-scheduler-on-aws/MetricsUuidGenerator/Code/Stage, bundle output is located at <path>/build/cdk.out/asset.f9834392b6a445b537520c9cdc12189cfb283f14ddd77802b367d72c03a528d9-error: Error: docker exited with status 1
--> Command: docker run --rm -u "0:0" ...
Note that we also tried to only run npx cdk synth or to use the build script in /deployment/build-s3-dist.sh which both result in in the same error.
Is the pyproject.toml missed in bundling the python lambda functions?
Thanks for any help in advance!
To Reproduce
Try to build the whole solution in a clean env.
Expected behavior
Expected would be that everything is there to build the solution.
Maybe we are missing something - any help is appriciated.
The text was updated successfully, but these errors were encountered:
Thanks for reaching out, what you describe is definitely an unusual error but here are a few things I would try:
-Install and run projen from the root (npm install projen, projen). Instance Scheduler uses projen to generate and maintain all of the packaging files (including the pyproject.toml).
-Ensure your environment has access to docker -- the build process has a dependency on docker for building the lambda dependencies
I've also added a task to our backlog to review the current build instructions.
Describe the bug
Hi developers,
we are trying to deploy your instance schedular by pipeline. The pipeline inherits from an alpine image and has the following versions installed:
Node: v18.20.1
Npm: 9.6.6
Python 3.11.10
Poetry (version 2.0.0)
Running the following commands from your instructions
result in an error:
Note that we also tried to only run
npx cdk synth
or to use the build script in/deployment/build-s3-dist.sh
which both result in in the same error.Is the pyproject.toml missed in bundling the python lambda functions?
Thanks for any help in advance!
To Reproduce
Try to build the whole solution in a clean env.
Expected behavior
Expected would be that everything is there to build the solution.
Maybe we are missing something - any help is appriciated.
The text was updated successfully, but these errors were encountered: