Files
build/tools/finalization
Devin Moore 56f8a77012 Use existing script to create new compatibility matrix
During vintf finalization we need to create a new compatibility matrix
and kernel configs for that new level. There is an existing script that
can already do this! Use it!

Ignore-AOSP-First: b/304316873#comment10

https://android-build.corp.google.com/builds/abtd/run/L07600030001757459

Test: ./finalize-vintf-resources.sh
Bug: 279809333
Change-Id: Ie97c762943445c8c95a8ebf0ea1b8c6610dc69b2
2024-02-09 18:10:40 +00:00
..
2023-02-10 02:32:42 +00:00
2023-02-10 02:32:42 +00:00
2024-02-06 11:56:00 +09:00
2024-02-06 11:56:00 +09:00
2024-02-06 11:56:00 +09:00
2024-02-06 11:56:00 +09:00

Finalization tools

This folder contains automation and CI scripts for finalizing Android before release.

Automation:

  1. Environment setup. Set values for varios finalization constants.
  2. Finalize VINTF. Prepare the branch for VINTF release.
  3. Finalize SDK. Prepare the branch for SDK release. SDK contains Android Java APIs and other stable APIs. Commonly referred as a 1st step.
  4. Finalize Android. Mark branch as "REL", i.e. prepares for Android release. Any signed build containing these changes will be considered an official Android Release. Referred as a 2nd finalization step.
  5. Finalize VINTF and submit. Do Finalize VINTF step, create CLs, organize them into topic and send to Gerrit.
  6. Finalize SDK and submit. Do Finalize SDK step, create CLs, organize them into topic and send to Gerrit.
  7. Finalize Android and submit. Do Finalize Android step, create CLs, organize them into topic and send to Gerrit.

CI:

Performed in build targets in Finalization branches.

  1. Finalization Step 0, git_main-fina-0-release. Test Finalize VINTF.
  2. Finalization Step 1, git_main-fina-1-release. Test Finalize VINTF, Finalize SDK.
  3. Finalization Step 2, git_main-fina-2-release. Test Finalize VINTF, Finalize SDK, and 2nd step/Finalize Android. Use local finalization to build and copy presubmits.
  4. Local finalization steps are done only during local testing or in the CI lab. Normally these steps use artifacts from other builds.

Utility:

Full cleanup. Remove all local changes and switch each project into head-less state. This is the best state to sync/rebase/finalize the branch.