-
Notifications
You must be signed in to change notification settings - Fork 126
deployment pipelines
As PL does not support deployments, we have created separate pipelines for this purpose. Those pipelines are: MyThaiStar_REVERSE-PROXY_DEPLOY, MyThaiStar_FRONT-END_DEPLOY and MyThaiStar_SERVER_DEPLOY.
The application will be deployed using docker on a remote machine. The architecture is as follows:
The parts to be deployed are: an NGINX reverse proxy, the java application and the angular application.
Deploys on the server the Java part of My Thai Star.
-
registryUrl
: The URL to the docker registry where the image is stored. -
registryCredentialsId
: Credentials to publish/download images from registry. -
dockerNetwork
: Network of your My Thai Star application. You can deploy several versions of MTS in the same server by changing thedockerNetwork
. -
VERSION: The version that you can to deploy.
Deploys on the server the Angular part of My Thai Star
-
registryUrl
: The URL to the docker registry where the image is stored. -
registryCredentialsId
: Credentials to publish/download images from registry. -
dockerNetwork
: Network of your My Thai Star application. You can deploy several versions of MTS in the same server by changing thedockerNetwork
. -
VERSION: The version that you can to deploy.
Note
|
As reverse proxy connects to the Java and Angular application, both must be deployed before you execute this pipeline. |
The MyThaiStar_REVERSE-PROXY_DEPLOY
pipeline will deploy the My Thai Star reverse proxy into a remote machine using docker.
-
registryUrl
: The URL to the docker registry where the image is stored. -
registryCredentialsId
: Credentials to publish/download images from registry. -
buildReverseProxy
: If yes, it will build and publish a new version of reverse-proxy. -
port: Port of the MTS application. You must ensure that those port is available in the deployment machine.
-
docker Network: Network of your My Thai Star application. You can deploy several versions of MTS in the same server by changing the port and the docker Network.
-
VERSION: The version that you can to deploy.
-
Create docker network: Create the docker network with the name provided as parameter.
-
Create the Docker image: If build-Reverse-Proxy is enabled, this step will create a new docker image and publish it to the docker registry.
-
Deploy new image: Deploy a new reverse proxy container. If it already exists, first it delete the previous one.
-
-
Technical design
-
Data model
-
Server Side
-
Client Side
-
-
Security
-
Testing
-
Server Side
-
Client Side
-
End to end
-
-
UI design
-
CI/CD