Hi Team,
I have a maven project to sync a changesets on my databases in different environments via a lambda function.
after I add my DB changeset on the file
- run mvn package
- copy the generated .jar on my lambda
- run the lambda(for local DB) to reflect new changes on the DB.
loclly those steps are manual, so I run the lambda against my local DB to make sure everything is ok before pushing the changes in my repo to reflect the changes automatically in others env.
I would like to automate those 3 steps locally so I don't do them manually each time I have to make a change in my DB.
In other env those steps are automated via the BuildSpec file.
I would like to know if there is a best way to automate them in local (script ? ... buid the project mvn, copy the jar, run the lambda, get response from lambda...)
Thank you.