Commit graph

11 commits

Author SHA1 Message Date
Devin Moore
e311880f6a finalize_branch_for_release: Don't build droidcore
'm droidcore' doesn't reproduce the same issues as `m`

Test: ./finalize_branch_for_release.sh
Bug: 258050166
Change-Id: I19efb49e6ece3f73010f757ebed0f0503698daed
2022-11-08 21:32:26 +00:00
Alex Buynytskyy
3bd1b91877 Extract finalization build to a separate script.
For finalization CI we'll do multiple builds and tests in a separate
branch.

Bug: 243966946
Test: abdt in nightly
Change-Id: Ie90705de3145c06363536613e57c0de504b5eb1b
2022-09-22 11:32:29 -07:00
Alex Buynytskyy
0842d212b9 Finalization script, step 1.
- cleanup
- revert previous commits
- vndk + resources + sdk finalization + test
- create cls
- send to Gerrit
- (tbd) submit

Bug: 243966946
Test: run scripts locally

Change-Id: Icd4f07c64c2ef93831dc5fc7de2d5e832604e88d
2022-09-20 20:31:04 -07:00
Hsin-Yi Chen
6c2353d7fd Let finalize_branch_for_release.sh create ABI dumps
Bug: 238984913
Test: build/make/finalize_branch_for_release.sh
Change-Id: I0a2e2cfe33464fbe0b4d210e9936a89713059556
2022-07-19 15:44:36 +08:00
Steven Moreland
4d4b5802fd finalize_branch_for_release.sh: avoid envsetup.sh
Avoid envsetup.sh, which is configuring the environment in a
way that breaks builds on the build servers. This exposes an
issue with the AIDL freeze that was lost in the meantime.

Bug: 234734342
Test: (run script, there is an audio failure)
Change-Id: Ic2888fb316d295a06f465f33d3a6f348a65c30a5
2022-06-07 17:49:46 +00:00
Jeongik Cha
26e9dd30a4 Remove -j1 for aidl-freeze-api
Because bpmodify is safe in multi-process env.

Bug: 190577319
Bug: 229413853
Test: aidl-freeze-api
Change-Id: Ie47afc25e2259bbcbbff50f98fa9d36887558d27
2022-05-11 01:25:19 +00:00
Jeongik Cha
9c376b4ec8 Adding -j1 for aidl-freeze-api
bpmodify isn't safe for multi processes env because it doesn't use any
lock mechanism even with -w option(in-place change)

So, added -j1 option as a temp solution.

Bug: 190577319
Bug: 229413853
Test: run aidl-freeze-api with -j1
Change-Id: I7fabfa1224ea0bb8d71538f4c8012255df28a3e8
2022-05-03 01:51:06 +00:00
Steven Moreland
5fe7105f45 finalization: AIDL_FROZEN_REL
Simulate branch release state, to verify AIDL interfaces were
converted properly.

Bug: 190577319
Bug: 229413853
Test: run finalization script

Change-Id: I3061ef24ee6dc420ec0ecc85b503f9728170c9c0
2022-04-28 00:05:44 +00:00
Steven Moreland
392499bd75 finalize_branch_for_release.sh: works w/ VNDK
When the freeze adds new libraries to the VNDK, we also need to
update the VNDK script.

Bug: 190577319
Test: run script on internal branch
Change-Id: I6f0ab177df5027ced0c4e198bb8a908da088eb85
2022-04-23 01:53:35 +00:00
Steven Moreland
12071ac571 finalize_branch_for_release.sh rel to root
Bug: 228979367
Test: run script from root
Change-Id: I0a5cfd4873ccf49fd53be745d61005e821bfa80d
2022-04-21 22:43:54 +00:00
Steven Moreland
3549659a1c Start script to finalize branch release.
To put in CI. At the end of every Android release, we need
to do 100,000 things to get the release ready. The process
to finalize the release for AIDL interfaces is automated now,
so we're adding a generic script. The goal is:

    1. gradually add more pieces of the finalization process
       which can be automated (VNDK, SDK, etc...)
    2. when problems happen, we can fix them in real time in CI
    3. once the entire release process is in CI, we can optimize
       it, and we can require that new requirements on the
       Android release process come with a script to satisfy them.

Until then, this script will be used to test the automated parts
of the release process in CI.

Bug: 190577319
Bug: 228979367
Test: ./build/make/finalize_branch_for_release.sh (in the T release branch)
Change-Id: Ie9ff42dd4c6e86d395bde3f14788029e5bde5fb2
2022-04-19 23:47:08 +00:00