Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.22 KB

File metadata and controls

37 lines (27 loc) · 1.22 KB

Automation Scripts

Manually Download Frontend: teamcity-download-artifact.sh

Download and extract the latest bus frontend:

cd /data/nginx/html
/home/docker/scripts/teamcity-download-artifact.sh --build=CityBusVueAdmin_Release
unzip CityBusVueAdmin_Release-latest.zip
unzip bus.zip -d bus

Download and extract the latest track frontend:

cd /data/nginx/html
/home/docker/scripts/teamcity-download-artifact.sh --build=MaintainVbenAdmin_Release
unzip MaintainVbenAdmin_Release-latest.zip
unzip maintain.zip -d track

Deploy distar Frontend: distar-beta-deploy.sh

# Confirm https://github.com/TranscodeGroup/maintain-vben-admin repo has the corresponding version tag
# Confirm http://th-ci.transcodegroup.cn:9080/buildConfiguration/MaintainVbenAdmin_Release has packed artifacts

# Download tag version to default directory, and extract to corresponding version folder
/home/docker/scripts/distar-beta-deploy.sh --tag=v1.15.1

# Download tag version to current directory
/home/docker/scripts/distar-beta-deploy.sh --tag=v1.15.1 --dir=.

# Download tag version to /data/nginx/html directory
/home/docker/scripts/distar-beta-deploy.sh --tag=v1.15.1 --dir=/data/nginx/html