1.0.0-SNAPSHOT.2 • Published 1 year ago
imiji-server v1.0.0-SNAPSHOT.2
Server Types
- Deployment Server for PROD and DEV
- RunTime Servers with two types one as API-Server and other as Background Server (queue)
Release
- DEV: each package it has as SNAPSHOT version with format 1.0.0-SNAPSHOT.{n}
- increment n (npm version 1.0.0-SNAPSHOT.1 --workspaces)
- take git tag
- publish 1.0.0-SNAPSHOT.{n + 1}
- Fix: 1.0.0
to release from DEV to fix need to cute the SNAPSHOT part from and increment the DEV version for next release
TODO: Add static analysis for code like 'dependency-cruiser'
Deployment
there are Deployment-Repository for deployment on PROD and DEV stages. IN DEV all artifacts deployment contains SNAPSHOT version and on PROD Fix version.
TODO: create deployment scripts for each artifact.
Deployment Pipeline
- Build
- Test
- PROD-DATA to DEV
- Deploy on DEV
- wait for input: accept or reject?
- if accepted then release SNAPSHOT version with tags and deploy on PROD
Architecture
Depends on the server type the artifacts deployed ether behind loadbalancer or not.
Artifacts that need loadbalancer (API-Server)
- commands
- readers
- uploader
Artifacts that deployed without http access or loadbalancer (Background Server)
- mailer
- notification
- resizer
Dependency Injection
base and db
are not depends on other modules.
1.0.0-SNAPSHOT.2
1 year ago