fenix icon indicating copy to clipboard operation
fenix copied to clipboard

Upload Fenix Nightly to Nimbledroid

Open st3fan opened this issue 7 years ago • 9 comments

Stefan runs the following script from a personal server. The request is that this be incorporated into our official build automation:

#!/bin/bash

APK="target.apk"

cd /tmp
rm -f "${APK}"

curl -L -O "https://index.taskcluster.net/v1/task/project.mobile.fenix.v2.nightly.latest/artifacts/public/build/arm/${APK}" || exit 1

curl -F apk="@${APK}" -F device_config="android5" -v -u STEFANS_NIMBLEDROID_KEY: https://nimble.app/api/v2/apks || exit 1

curl -F apk="@${APK}" -F device_config="android5" -v -u NOJUNS_NIMBLEDROID_KEY: https://nimble.app/api/v2/apks || exit 1

Nightly builds twice a day - I think it would be nice to do the upload twice too since it will give us shorter feedback cycles.

┆Issue is synchronized with this Jira Task

st3fan avatar Jul 22 '19 14:07 st3fan

@kglazko maybe you can take this?

nojunpark avatar Jul 22 '19 14:07 nojunpark

Cc to @mozilla-mobile/releng

st3fan avatar Jul 22 '19 14:07 st3fan

Glad to!

kglazko avatar Jul 22 '19 14:07 kglazko

Since this is for performance testing, perhaps we'll want to use the performanceTest build, rather than the nightly one? This will ensure that nightly-specific config/credentials won't be affected by our performance tests (e.g.: Sentry associating perf-test crashes with org.mozilla.fenix.nightly, analytics showing info from per-tests, leanplum, etc). This will mean that we'll need additional automation work, but IMHO it's worth the segregation

mitchhentges avatar Jul 22 '19 17:07 mitchhentges

This is done, Fenix is now being uploaded to Nimbledroid on Nightly TC. See latest here: https://nimbledroid.com/my_apps/org.mozilla.fenix?a=e1483f63-6d82-4f53-a660-12823ffd55f0#summary

kglazko avatar Aug 05 '19 16:08 kglazko

Looks like this issue has been resolved and no longer need the attention of he Performance team so I will remove the label Needs:Performance.

jeanygong avatar Aug 08 '19 18:08 jeanygong

@st3fan, @boek can you provide me the proper github edit access to this issue (or Fenix in general) to remove the needs:performance label as I triage the issue for the Performance team. It seems like I don't have the right access.

jeanygong avatar Aug 12 '19 16:08 jeanygong

@kglazko is there any other work here or can we close this issue?

kbrosnan avatar Aug 13 '19 04:08 kbrosnan

@kglazko Is this part of the automation now? Can i stop my own uploading scripts?

st3fan avatar Aug 18 '19 11:08 st3fan