lambda-s3-sftp icon indicating copy to clipboard operation
lambda-s3-sftp copied to clipboard

Setup end-to-end tests

Open renanivo opened this issue 6 years ago • 4 comments

As the project has no automated tests, I think would be good to start with a simple end-to-end test of a s3:ObjectCreated:Put event that uploads a file to a SFTP.

The docker-lambda can be used to invoke the function locally. The SFTP server could be set up with a docker container as well.

renanivo avatar Mar 29 '18 02:03 renanivo

How would you 'make package'? I'm trying to get the package.zip to upload but confused. I have the user name and pw for the SFTP, would I just place it in the code?

ctrl-alt-deelete avatar Sep 14 '18 15:09 ctrl-alt-deelete

Where are you trying to upload the package.zip to? The docker container?

renanivo avatar Sep 18 '18 17:09 renanivo

I think I'm pretty lost on this. I am currently using AWS Lambda to work on this. Would I have to run an instance or anything? Or I can just work on AWS Lambda?

ctrl-alt-deelete avatar Sep 18 '18 17:09 ctrl-alt-deelete

@dannyn021 You are supposed run it in AWS Lambda. There are deployment instructions in the README, does it helps?

renanivo avatar Oct 11 '18 01:10 renanivo