Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Fix-misnamed TC artifacts, partially-address #2211 #2258

Merged
merged 1 commit into from
May 6, 2019

Conversation

mitchhentges
Copy link
Contributor

Test-build task group here
This will properly populate the Fenix index again.
Unfortunately, this PR doesn't handle the specific issue in the linked build of #2211

Pull Request checklist

  • Quality: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry or does not need one
  • Accessibility: The code in this PR follows accessibility best practices or does not include any user facing features

@mitchhentges mitchhentges requested review from a team as code owners May 3, 2019 11:20
@mitchhentges mitchhentges force-pushed the master branch 2 times, most recently from c2ed67d to e11df90 Compare May 3, 2019 11:23
@mitchhentges
Copy link
Contributor Author

Don't mind the taskcluster failures, they're mad because I've enabled Taskcluster with my local repo, but I've removed the "mitchhentges is the primary owner" override

Copy link
Contributor

@JohanLorenzo JohanLorenzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@@ -582,7 +581,7 @@ def _craft_artifacts_from_variant(variant):

def _craft_apk_full_path_from_variant(variant):
architecture, build_type = get_architecture_and_build_type_from_variant(variant)
postfix = '-unsigned' if build_type.startswith('release') else ''
postfix = '' if build_type == 'Debug' else '-unsigned'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you confirm Raptor has now variant in ('armRaptor', 'aarch64Raptor) which means:

  • architecture in ('arm', 'aarch64')
  • build_type == 'Raptor'

Therefore, a raptor build ends with -unsigned.apk, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: good point on checking the build_type, it is lowercased from get_arch_and..., so I should be checking "Debug". I'll run a new build and double-check the results

Otherwise, the new $archRaptor have builds that end in -unsigned, exactly :)

$ ./gradlew printBuildVarients
variants: ["aarch64Raptor","aarch64Debug","aarch64Nightly","aarch64Beta","x86Raptor","x86Debug","x86Nightly","x86Beta","armRaptor","armDebug","armNightly","armBeta"]

@mitchhentges
Copy link
Contributor Author

... Just remembered that this PR was from my master branch, will try to resurrect

@mitchhentges
Copy link
Contributor Author

Successful build

@mitchhentges mitchhentges reopened this May 6, 2019
@colintheshots colintheshots merged commit db20314 into mozilla-mobile:master May 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants