Store auto-deploy branch and tag info into cache files
Fixes #19 (closed)
Currently, some functions in auto-deploy coordinated pipelines require env vars AUTO_DEPLOY_*
to get the running auto-deploy info like auto-deploy tag. But these variables can be changed when new auto-deploy branches and tags are created, which causes some unexpected behaviors.
This MR tries to alleviate this by pinning the branch and tag at the beginning of the coordinated pipeline by storing them in a file.
And bugfix:
- release-tools does not report deploy failures when waiting for build timeout