Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| tutorial:dev:how_to_release [2018/06/27 05:28] – kopro | tutorial:dev:how_to_release [2023/04/20 09:34] (current) – potociarj | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Release CzechIdM ====== | ====== Release CzechIdM ====== | ||
| + | |||
| + | < | ||
| + | WARNING: This page is deprecated. Current release process documentation: | ||
| + | |||
| + | </ | ||
| In this tutorial we will describe how to release a new version of CzechIdM. | In this tutorial we will describe how to release a new version of CzechIdM. | ||
| ===== 01 - Prerequisites ===== | ===== 01 - Prerequisites ===== | ||
| - | * We need clone of git [[https:// | ||
| - | # clone respository | + | * We need clone of git [[https:// |
| - | | + | < |
| - | | + | |
| - | | + | # clone respository |
| - | | + | $ git clone git@github.com: |
| - | | + | # change folder |
| + | $ cd CzechIdMng | ||
| + | # checkout develop | ||
| + | $ git checkout develop | ||
| + | |||
| + | </ | ||
| * install maven to your computer ([[https:// | * install maven to your computer ([[https:// | ||
| ===== 02 - Maven settings ===== | ===== 02 - Maven settings ===== | ||
| + | |||
| After install maven is necessary setup maven via **settings.xml**, | After install maven is necessary setup maven via **settings.xml**, | ||
| + | |||
| <code xml> | <code xml> | ||
| < | < | ||
| Line 27: | Line 38: | ||
| </ | </ | ||
| </ | </ | ||
| - | + | ||
| < | < | ||
| - | | + | |
| </ | </ | ||
| - | + | ||
| < | < | ||
| < | < | ||
| Line 39: | Line 50: | ||
| </ | </ | ||
| </ | </ | ||
| - | + | ||
| < | < | ||
| < | < | ||
| Line 63: | Line 74: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| </ | </ | ||
| - | ===== 03 - Release via bash script | + | ===== 03 - Release via bash script Script is placed in *Relazitaion* folder, Script has text GUI made by whiptail and it is very user friendly. |
| - | Script is placed in *Relazitaion* folder, Script has text GUI made by whiptail and it is very user friendly. | + | < |
| - | # run script | + | # run script |
| - | | + | $ bash ./ |
| + | </ | ||
| Now is supperted these operations: | Now is supperted these operations: | ||
| + | |||
| * Complete release for all modules | * Complete release for all modules | ||
| * Update version (all) | * Update version (all) | ||
| Line 79: | Line 93: | ||
| * Deploy to nexus (all) | * Deploy to nexus (all) | ||
| * Deploy to nexus (only backend) | * Deploy to nexus (only backend) | ||
| - | * Deploy to nexus (only frontend) | + | * Deploy to nexus (only frontend) |
| * exit | * exit | ||
| ==== Complete release for all modules ==== | ==== Complete release for all modules ==== | ||
| + | |||
| Complete release, update release version and hotfix (frontend + backend), deploy to nexus (frontend + backend) and merge with some branch. | Complete release, update release version and hotfix (frontend + backend), deploy to nexus (frontend + backend) and merge with some branch. | ||
| + | |||
| ==== Update version (all) ==== | ==== Update version (all) ==== | ||
| + | |||
| Update version for backend and frontentend modules | Update version for backend and frontentend modules | ||
| + | |||
| ==== Update version (only backend) ==== | ==== Update version (only backend) ==== | ||
| + | |||
| Update version only for backend modules | Update version only for backend modules | ||
| + | |||
| ==== Update version (only frontend) ==== | ==== Update version (only frontend) ==== | ||
| + | |||
| Update version only for frontend modules | Update version only for frontend modules | ||
| + | |||
| ==== Deploy to nexus (all) ==== | ==== Deploy to nexus (all) ==== | ||
| - | Deploy current modules (frontend + backend) to nexus | + | |
| + | Deploy current modules (frontend + backend) to nexus | ||
| ==== Deploy to nexus (only backend) ==== | ==== Deploy to nexus (only backend) ==== | ||
| + | |||
| Deploy current backend modules to nexus | Deploy current backend modules to nexus | ||
| - | ==== Deploy to nexus (only frontend) ==== | + | |
| + | ==== Deploy to nexus (only frontend) ==== | ||
| Deploy current frontend modules to nexus | Deploy current frontend modules to nexus | ||
| + | |||
| ==== exit ==== | ==== exit ==== | ||
| + | |||
| Exit application | Exit application | ||
| - | Examples: | + | Examples: {{ .: |
| - | {{ : | + | |
| + | {{ .: | ||
| - | {{ :tutorial: | + | {{ .:release3.png }} |
| - | {{ :tutorial: | + | {{ .:release4.png }} |
| - | {{ :tutorial: | + | {{ .:release5.png }} |
| - | {{ : | ||