Closed Bug 1390123 Opened 3 years ago Closed 3 years ago

Snap: Automate uploads to Ubuntu Store

Categories

(Release Engineering :: Release Automation: Other, enhancement)

enhancement
Not set
normal

Tracking

(firefox57 fixed)

RESOLVED FIXED
Tracking Status
firefox57 --- fixed

People

(Reporter: jlorenzo, Assigned: jlorenzo)

References

Details

Attachments

(4 files)

We don't want to go to production yet. However, having snaps uploaded would help QA'ing the builds.

Rail documented the process at [1]. I created the base64'd secrets at [2]. The rest will come in patches.

[1] https://gist.github.com/rail/bb477a7318aefa205627d9d3fffdf337
[2] https://tools.taskcluster.net/secrets/project%2Freleng%2Fsnapcraft%2Ffirefox%2Fedge
The first snap submission was refused because of bug 1390071. Uploads may not work because of it.
Depends on: 1390071
Attached file releasetasks PR
Attachment #8896969 - Flags: review?(mtabara)
Comment on attachment 8896969 [details] [review]
releasetasks PR

Review of attachment 8896969 [details] [review]:
-----------------------------------------------------------------

Judging by Rail's gist, step 2), it looks good to me!
Attachment #8896969 - Attachment is patch: true
Attachment #8896969 - Attachment mime type: text/x-github-pull-request → text/plain
Attachment #8896969 - Flags: review?(mtabara) → review+
Attachment #8896969 - Attachment is patch: false
Attachment #8896969 - Attachment mime type: text/plain → text/x-github-pull-request
Comment on attachment 8896968 [details]
[beta] Bug 1390123 - Snap: Automate uploads to Ubuntu Store (edge channel)

https://reviewboard.mozilla.org/r/168272/#review173474

Based on Rail's gist, the logic looks good to me.
Attachment #8896968 - Flags: review?(mtabara) → review+
Landed on beta at: https://hg.mozilla.org/releases/mozilla-beta/rev/32c6671592f98604fe929e86f2a1d52a34b52692

Landing on central will follow after the next beta, if it worked.
Attachment #8897817 - Flags: review?(mtabara) → review+
The releasetasks part was backed out and fixed in bug 1391560. 56.0b6 got uploaded to the Edge channel without any human intervention: https://mozilla-release-logs.s3.amazonaws.com/mozilla-beta/firefox-56.0b6/build2/mozilla-beta_snap_generation-all-zqb0mvABRFW4tuqhjG1gaQ-0
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Ooops, it hasn't made central yet.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #8897817 - Attachment description: bug1390123-part2.patch → [beta] bug1390123-part2.patch
Attachment #8896968 - Attachment description: Bug 1390123 - Snap: Automate uploads to Ubuntu Store (edge channel) → [beta] Bug 1390123 - Snap: Automate uploads to Ubuntu Store (edge channel)
Concatenated patch for central. It contains:
* attachment 8896968 [details]
* attachment 8897817 [details] [diff] [review]
* and the necessary bits of bug 1393728.

Carrying over r+ from sub-patches.
Attachment #8901154 - Flags: review+
Summary: Snap: Automate uploads to Ubuntu Store (edge channel) → Snap: Automate uploads to Ubuntu Store
Pushed by jlorenzo@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/66793696ca38
Snap: Automate uploads to Ubuntu Store r=mtabara
https://hg.mozilla.org/mozilla-central/rev/66793696ca38
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.