Bug 1874207 - Include provisioprofile ignore on dep update verify r=releng-reviewers,bhearsum

Adds Contents/embedded.provisionprofile to ignored paths when verifying dep updates since it's not included on dep builds

Differential Revision: https://phabricator.services.mozilla.com/D198458
This commit is contained in:
Heitor Neiva 2024-01-12 22:13:39 +00:00
parent 2ddf15f797
commit 2a3d7392c1
2 changed files with 10 additions and 6 deletions

View file

@ -103,8 +103,9 @@ check_updates () {
# If we are testing an OSX mar to update from a production-signed/notarized
# build to a dep-signed one, ignore Contents/CodeResources which won't be
# present in the target, to avoid spurious failures
# Same applies to provisioning profiles, since we don't have them outside of prod
if ${update_to_dep}; then
ignore_coderesources=--ignore-missing=Contents/CodeResources
ignore_coderesources="--ignore-missing=Contents/CodeResources --ignore-missing=Contents/embedded.provisionprofile"
else
ignore_coderesources=
fi

View file

@ -126,6 +126,9 @@ def compare_listings(
difference_found = False
ignore_missing = ignore_missing or ()
if ignore_missing:
logging.warning("ignoring paths: {}".format(ignore_missing))
left_diff = obj1 - obj2
if left_diff:
if left_diff - set(ignore_missing):