WebTools: Ci-Cd Development and Test Procedures
The main procedures of Ci-Cd WebLvg are:
shell> git checkout master
shell>git checkout dev
<version>${YEAR}</version>
<version>${YEAR}.0</version>
lvgVersion: ${YEAR}
lvgHomeUrl: https://lhncbc.nlm.nih.gov/LSG/Projects/lvg/current/web/index.html
lvgHomeDir: /lvg${YEAR}lite
image: lhc-nexus.nlm.nih.gov:8443/weblvg-tomcat:${YEAR}.${RN}
VERSION=${YEAR}
RELEASE=${YEAR}.${RN}
docker is running
shell> systemctl status docker
shell> sudo systemctl start docker
ipv4.ip_forward=1
shell> cat /proc/sys/net/ipv4/ip_forward
shell> make all_local
in the Makefile, test step by step
shell> make clean
this delete all iamges include weblexaccess and weblvg
shell> make login
shell> make build_app
build weblvg-tomcat image
shell> make build_nginx
build weblvg-nginx image
shell> make run
compose docker container
docker ps -al
docker rm -f CONTAINER_ID
=> remove containers if they are already exist and used