I have been doing a POC with Travis to see if it fits my CI/CD needs. So far so good. I am to the point where I want to do a deploy though and am running into a couple of issues.
For Java runtime in AWS Lambda the separator is module::handler or double colon however it appear that Travis is using module.handler or a dot.
Also, when I do the upload I am not sure what file is being sent or the internal structure of Travis’ files. I tried setting the file path but based on AWS telling me the file is too large I am thinking it is not correct.
deploy: - provider: lambda access_key_id: $AWS_KEY secret_access_key: $AWS_SECRET function_name: "grant-jwt" region: "us-east-2" role: "<arn>" runtime: "java8" module_name: "com.dapper.cloud.function.GrantJwt" handler_name: "handleRequest" file: "./grant-jwt/target/grant-jwt-0.0.1-SNAPSHOT.jar"
Lastly, is there a concise list of the .travis.yml commands? The examples and docs are helpful in getting started but it is hard to piece things together after a certain point.
I opened this SO question if you anyone wants the internet cred