How environments work
Each environment can require a different release of the same repository, depending on where that release is in your pipeline. For example, with these environments:qarequiresgameclient.0.0.8stagerequiresgameclient.0.0.7productionrequiresgameclient.0.0.6
qa, then moves up the chain as it passes testing until it reaches production.
Run the promote script
Thepromote.py script sets the required release for an environment or promotes releases between environments. The sample launcher skin is set up to download the gameclient repository from an environment named qa, so promote your release there.
The promote_cdn.json file in \samples\config\ already sets these arguments:
--repository: the repository you’re promoting a release from (gameclient)--latest: use the latest release deployed to this repository--environment: the environment you’re promoting to (qa)
-
In the same command prompt, run:
promoted RELEASEID to environment qa means the promotion worked. The script assigns your release to the qa environment in the aliases file on your CDN.
Next, build your launcher.
