Skip to content

Release Activities

Chad Wilson edited this page May 26, 2024 · 108 revisions

WARNING: Use this page as a "template", create a new issue with the contents of this page and do not alter this unless you're adding/removing item(s).

These are the release activities to be performed when releasing GoCD.

Review

Sanity Testing

  • On supported browsers
  • Make sure the test drive package works (starts up, registers an agent, and can build a pipeline).

Publish GoCD.

(NOTE: Publishing stable release will draft a GitHub release, resulting in sending an email about the GitHub release to the community who are watching/subscribed to gocd/gocd. Hence we should make sure that the current release notes are available at www.gocd.org/releases before drafting a release.)

  • Disable GoCD server timed backup if you don't want to be interrupted while doing this.
  • Deploy release notes for current release on www.gocd.org. Make sure those are available at www.gocd.org/releases. Do this via GitHub Actions: https://github.com/gocd/www.go.cd/actions
  • Kick off PublishStableRelease pipeline. This should trigger some downstream pipelines for websites, Docker, Chocolatey, etc.
    1. Select the target version of the code-sign pipeline material to promote
    2. NOTE remember to manually select the right revision of the codesigning material, or fan-in won't trigger later. Usually this will be the latest commit, however you can check the VSM or materials of the codesigning build you are promoting to double-check. If it doesn't work, don't worry, you can re-run!
    3. NOTE specify REALLY_REALLY_UPLOAD environment variable with value YES_I_REALLY_REALLY_WANT_TO_UPLOAD.
  • Trigger the promote-to-stable stage of the gocd-trial-installers pipeline for the corresponding build. Use the VSM to locate the correct installer build for the release. Start from the VSM of the PublishStableRelease pipeline, and then go to the VSM of the installers pipeline from that VSM. That'll get you the right run of the gocd-trial-installers pipeline to use. Test it and promote it to stable.
  • Enable or put back the GoCD server timed backup if you had disabled it earlier.

API

Github

post-release-github-activities pipeline for the first two tasks

Website and Docs

Cloud images and installers

NOTE: Pipeline publish-cloud-based-artifacts creates and uploads the following.

Helm Chart

Publicize (Last activity in the release)

  • Send mail to Google groups - {go-cd,go-cd-dev}@googlegroups.com.

Post release

Next steps