smart-product-solution icon indicating copy to clipboard operation
smart-product-solution copied to clipboard

Missing file in build-s3-dist.sh

Open billkidwell opened this issue 5 years ago • 1 comments
trafficstars

I made some changes to my code, tested them, and wanted to deploy according to the README instructions.

When I run ./build-s3-dist.sh I get the following output.

[Packing] Templates
------------------------------------------------------------------------------
cp /c/projects/smart-fans/deployment/smart-product-solution.yaml /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template
cp: cannot stat '/c/projects/smart-fans/deployment/smart-product-solution.yaml': No such file or directory
Updating code source bucket in template with smart-fan-poc-us-east-1
sed -i -e s/%%BUCKET_NAME%%/smart-fan-poc-us-east-1/g /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template
sed: can't read /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template: No such file or directory
sed -i -e s/%%SOLUTION_NAME%%/smart-fans/g /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template
sed: can't read /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template: No such file or directory
sed -i -e s/%%VERSION%%/0.1.0/g /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template
sed: can't read /c/projects/smart-fans/deployment/global-s3-assets/smart-product-solution.template: No such file or directory

The script seems to be looking for smart-production-solution.yaml instead of smart-production-solution.template

billkidwell avatar May 08 '20 17:05 billkidwell

Hello,

Thank you for reporting the issue. We have added the issue to our backlog items for now.

gsingh04 avatar May 26 '20 15:05 gsingh04