Closed fernandosolivas closed 4 years ago
This looks like an issue with your setup. We have multiple projects deploying daily with this action using a template.yml
in the root. Are you able to deploy this project via the sam cli locally?
Originally I thought that was a setup problem but locally I am able to build and deploy normally as you can see at this screenshot below.
*the timezone is GMT-3
Do you have a samconfig file that needs pushed up to your github repo?
Yes, I have.
version = 0.1
[default]
[default.deploy]
[default.deploy.parameters]
stack_name = "scale-api"
s3_bucket = <name>
s3_prefix = "scale-api"
region = "us-east-1"
capabilities = "CAPABILITY_IAM"
Here are the job action and repo: https://github.com/fernandosolivas/scale-api/runs/882256802
This action is an amazing job, so I am trying to debug the source code in entrypoint.sh and add more "debuggable" info to contribute to fixing or at least put more information.
You could try sam build -t template.yml
to make sure it can find your template
I've found the error. As you pointed before was an action setup problem. Thanks for your attention and really great job in this action!
I am facing the following error:
Error: PythonPipBuilder:ResolveDependencies - Requirements file not found: /tmp/samcli/source/requirements.txt
Any guess on what is going on?
@fernandosolivas What was the issue in the action? I am facing the same problem but not able to locate the issue. :(
Describe the bug The action can not found the template.yml in root of repository.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should recognize the file in the root directory or at least the message should point to the correct expected directory.
Screenshots