CICD

Environment variables

RunEnv

EnvDescription
localRun services on local PC
devRun services on servers, but not serve traffic
liveRun services on servers, but serve users' traffic

RunAZ: Availability zones (AZs)

AZDescription
sgSingapore
shShanghai
deGermany

ServerType

serverTypeDescription
physicalphysical servers
vmvirtural servers

RunContext

RunContextDescription
dockerRun Service with docker
systemdRun services with systemctl

DeployPolicy

PolicyDescription
blueBlue strategy serves about at 0-20% traffic.
greenGreen strategy serves about at 20-50% traffic.
redRed strategy serves about at 50-100% traffic.
blackBlack strategy is for hot back, can serves all(100%) traffic.

git

github

gitlab

github action

https://github.com/Naturalclar/issue-action https://github.com/actions/hello-world-docker-action https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#targetText=Default%20environment%20variables&targetText=GitHub%20sets%20environment%20variables%20for%20actions%20to%20use%20in%20all%20virtual%20environments.&targetText=The%20path%20to%20the%20GitHub,example%2C%20%2Fgithub%2Fhome%20.&targetText=The%20name%20of%20the%20person%20or%20app%20that%20initiated%20the%20workflow.

https://vsoch.github.io//2019/nushell-plugin-golang/?nsukey=umEen7ZvvmtEpp%2BYrbmTk%2BOcckIcapAzeQM06y9mLR5mP2tNpynkXYb4Z%2BwgpzPoNqjjukZUb8k591FwbkfaR%2BNOHFD2aXs%2Foyef3Rugtr%2BqKahK4WfbwRIgirmxDVNDE%2F3QeS9sUJ4P1Eqt%2BsNGr6kWWuGlwkZypK8rCFa00icFKTxzGPBfQxyeNDDveVxSHVtsXzgjxGSpOG0mBQP0uA%3D%3D

automation testing