networknt / light-bot

A microservice based DevOps agent that handles multiple repositories and dependencies
Apache License 2.0
7 stars 3 forks source link

add an optional step in the release-maven and release-docker for deployment #89

Closed stevehu closed 5 years ago

stevehu commented 5 years ago

After each release, there are some additional steps that need to be performed. For example, we need to deploy the jar files for light-codegen to the https://codegen.lightapi.net and restart the server container.

In most of the cases, we need to execute a serial of command to get the task done. Let's add a step in both tasks to run a collection of the commands in sequence.

If remote access is needed, you need to set up the public key authentication for ssh instead of password authentication to make the entire process automatic.