-
-
Notifications
You must be signed in to change notification settings - Fork 31
YR CI CD Process
Devin edited this page Nov 30, 2022
·
1 revision
flowchart TD
start([start]) --> checkRelease{Is this a release?}
subgraph "ubuntu container"
checkRelease --> |Yes| checkTag{Was a proper tag created?}
end
subgraph "ubuntu container"
checkRelease --> |No, this is a dev build| gitVersion
checkTag --> |Yes| gitVersion("Run GitVersion to auto version")
gitVersion --> downloadTools("Download VersionWriter")
downloadTools --> uploadTools("Upload tools for next job")
end
subgraph "windows container"
uploadTools--> runTools("run VersionWriter")
runTools --> fileCleanup("Clean up files we do not want<br>in our update")
fileCleanup --> buildInstaller("Build our Windows installer")
buildInstaller --> uploadInstaller("Upload our installer as artifact")
uploadInstaller --> installerCleanup("Clean up files from installer")
installerCleanup --> createUpdateZip("Create update zip")
createUpdateZip --> uploadUpdateZip("Upload our update zip as artifact")
end
subgraph "ubuntu container"
uploadUpdateZip --> createDeployArchive("Create archive for actual update")
createDeployArchive --> uploadDeployArchive("Upload update to cncnet server")
end
checkTag --> |No| fail
uploadDeployArchive --> finish([finish])