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

Bug 1648785 - Let taskcluster upload APKs to Github releases #12907

Merged
merged 1 commit into from
Sep 14, 2020

Conversation

JohanLorenzo
Copy link
Contributor

Pull Request checklist

  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Screenshots: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
  • Accessibility: The code in this PR follows accessibility best practices or does not include any user facing features. In addition, it includes a screenshot of a successful accessibility scan to ensure no new defects are added to the product.

After merge

  • Milestone: Make sure issues finished by this pull request are added to the milestone of the version currently in development.

To download an APK when reviewing a PR:

  1. click on Show All Checks,
  2. click Details next to "Taskcluster (pull_request)" after it appears and then finishes with a green checkmark,
  3. click on the "Fenix - assemble" task, then click "Run Artifacts".
  4. the APK links should be on the left side of the screen, named for each CPU architecture

@@ -0,0 +1,3 @@
Thanks for trying out Firefox Daylight! In {version}, we have lots of new improvements:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO for myself before landing: Tell the people in charge of releases about this file and how to update it.

TODO as a followup: Let bump task clobber this file.

Copy link
Contributor

Choose a reason for hiding this comment

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

For latter I've added a comment in https://bugzilla.mozilla.org/show_bug.cgi?id=1635488#c9 to track it when we add that support.

if abi not in only_abis:
continue
apk_path = apk_metadata["name"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nit for this PR: Rename name

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll handle this in a followup PR. I don't remember what I did back in July so making this change in this PR adds some risk. I'd prefer to focus on getting this task up and running in production rather than fixing this kind of names.

taskcluster/fenix_taskgraph/worker_types.py Show resolved Hide resolved
group-by: build-type

only-for-build-types:
- fennec-beta
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO change build types once #12827 lands.

@codecov-commenter
Copy link

codecov-commenter commented Jul 24, 2020

Codecov Report

Merging #12907 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #12907      +/-   ##
============================================
+ Coverage     29.22%   29.23%   +0.01%     
  Complexity     1161     1161              
============================================
  Files           454      454              
  Lines         18541    18540       -1     
  Branches       2393     2393              
============================================
+ Hits           5419     5421       +2     
+ Misses        12745    12742       -3     
  Partials        377      377              
Impacted Files Coverage Δ Complexity Δ
...ug/java/org/mozilla/fenix/DebugFenixApplication.kt 0.00% <0.00%> (ø) 0.00% <0.00%> (ø%)
...mponents/searchengine/FenixSearchEngineProvider.kt 63.96% <0.00%> (+1.80%) 13.00% <0.00%> (ø%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f43476c...4d954e4. Read the comment docs.

taskcluster/ci/config.yml Show resolved Hide resolved
@@ -0,0 +1,3 @@
Thanks for trying out Firefox Daylight! In {version}, we have lots of new improvements:
Copy link
Contributor

Choose a reason for hiding this comment

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

For latter I've added a comment in https://bugzilla.mozilla.org/show_bug.cgi?id=1635488#c9 to track it when we add that support.

@@ -20,6 +20,7 @@ job-defaults:
# `name` and `path`.
apk-artifact-template:
type: file
github-name: "firefox_preview_v{version}_{abi}.apk"
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: did we want to update the name to s/preview/daylight?

fennec-beta: true
fennec-release: false
default: true
release-name: Firefox Preview {version}
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: did we want to update the name to s/Sreview/Daylight?


def _get_release_notes(config):
release_notes_path = os.path.join(config.graph_config.vcs_root, "upcoming_release_notes.md")
with codecs.open(release_notes_path, encoding="utf-8") as f:
Copy link
Contributor

Choose a reason for hiding this comment

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

👍


yield task

def _build_artifact_map(task):
Copy link
Contributor

Choose a reason for hiding this comment

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

+1 for the consistency with beetmover schemas, even though they are not related in practice, but only conceptually.

@boek boek added pr:needs-landing PRs that are ready to land [Will be merged by Mergify] and removed pr:needs-landing PRs that are ready to land [Will be merged by Mergify] labels Jul 29, 2020
@JohanLorenzo JohanLorenzo force-pushed the bug-1648785 branch 3 times, most recently from 374aaa4 to 627a458 Compare August 7, 2020 09:56
@liuche
Copy link
Contributor

liuche commented Sep 1, 2020

@JohanLorenzo is this still something that is able to be landed? I'm not sure what happened here, but would love to have it, especially if the work is done! looks like it got approved, but then CI broke?

@JohanLorenzo JohanLorenzo reopened this Sep 1, 2020
@liuche
Copy link
Contributor

liuche commented Sep 1, 2020

can't wait! however why is CI still running after 9 hours :(

@JohanLorenzo
Copy link
Contributor Author

Thanks for your interest in this @liuche 😃

We have an explanation about the CI timeouts. We need some new workers to be online. Releng depends on CloudOps to do so, and we face that problem https://bugzilla.mozilla.org/show_bug.cgi?id=1658298#c2. So, we can't merge this PR just yet. I'll keep you tuned.

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.

None yet

5 participants