ReleaseEngineering/Merge Duty/Steps: Difference between revisions

Merge scripts ride trains
(Merge scripts ride trains)
Line 51: Line 51:
  # checkout mozharness from the gecko tree using archiver
  # checkout mozharness from the gecko tree using archiver
  wget https://hg.mozilla.org/build/tools/raw-file/default/buildfarm/utils/archiver_client.py
  wget https://hg.mozilla.org/build/tools/raw-file/default/buildfarm/utils/archiver_client.py
  python archiver_client.py mozharness --repo mozilla-central --rev default --debug
  python archiver_client.py mozharness --destination mozharness-beta --repo releases/mozilla-beta --rev default --debug
  # run the script
  # run the script
  python mozharness/scripts/merge_day/gecko_migration.py -c mozharness/configs/merge_day/beta_to_release.py
  python mozharness-beta/scripts/merge_day/gecko_migration.py -c merge_day/beta_to_release.py
* the script will tag mozilla-beta
* the script will tag mozilla-beta
* it will continue by pulling mozilla-beta to mozilla-release, merging the heads in a fast-forward manner (using <tt>hg debugsetparents</tt>), adjusting shipped-locales and changing some configs.
* it will continue by pulling mozilla-beta to mozilla-release, merging the heads in a fast-forward manner (using <tt>hg debugsetparents</tt>), adjusting shipped-locales and changing some configs.
Line 61: Line 61:
* Commit+push the final bits by
* Commit+push the final bits by
  # Make sure you already pushed your release version bump and reconfiged before this part!
  # Make sure you already pushed your release version bump and reconfiged before this part!
  python mozharness/scripts/merge_day/gecko_migration.py \
  python mozharness-beta/scripts/merge_day/gecko_migration.py \
   -c mozharness/configs/selfserve/production.py \
   -c selfserve/production.py -c merge_day/beta_to_release.py \
  -c mozharness/configs/merge_day/beta_to_release.py \
   --create-virtualenv --commit-changes --push
   --create-virtualenv --commit-changes --push
* The push should be available at https://treeherder.mozilla.org/#/jobs?repo=mozilla-release
* The push should be available at https://treeherder.mozilla.org/#/jobs?repo=mozilla-release
Confirmed users
3,104

edits