Last modified: 2014-05-29 20:41:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51500, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49500 - Build apps/common/android under Jenkins and from Gerrit (instead of GitHub)
Build apps/common/android under Jenkins and from Gerrit (instead of GitHub)
Status: NEW
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-12 21:01 UTC by Yuvi Panda
Modified: 2014-05-29 20:41 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Yuvi Panda 2013-06-12 21:01:21 UTC
The Android app moved from GitHub to Gerrit (https://git.wikimedia.org/summary/apps%2Fandroid%2Fcommons.git). CI should now trigger on merges on Gerrit rather than commits on GitHub :)
Comment 1 Antoine "hashar" Musso (WMF) 2013-06-13 11:50:11 UTC
Moved under continuous integration.  Need to:
- figure out a template for Jenkins job builder
- add the generated job to Zuul configuration and have it triggered on change merged.
- rethink the publishing of the build apk, that is current a hacky inline shell script
Comment 2 Antoine "hashar" Musso (WMF) 2013-06-13 22:05:27 UTC
Jenkins job is https://gerrit.wikimedia.org/r/#/c/68566/ , to be applied, it requires a change to Jenkins Job Builder which I have submitted upstream https://review.openstack.org/#/c/32965/

I have generated the job and added the Zuul triggers https://gerrit.wikimedia.org/r/68563

At least one build succeeded. https://integration.wikimedia.org/ci/job/apps-android-commons-build/


That should be fine for you. If the job works properly we will make it voting (and thus block the change upon jenkins job failure).


:)
Comment 3 Antoine "hashar" Musso (WMF) 2013-06-17 13:08:20 UTC
This is pending review / merge of my JJB patch by upstream https://review.openstack.org/#/c/32965/
Comment 4 Yuvi Panda 2013-06-17 21:37:40 UTC
Is it possible to make the bot leave the url of the built apk in the comment, in addition to the link to the console?
Comment 5 Antoine "hashar" Musso (WMF) 2013-06-18 14:54:39 UTC
Ah it is only building and not publishing the resulting apk .. Maybe I could use the artifact archiving functionality and have Jenkins to copy the apk in the docroot ( ex: https://wiki.jenkins-ci.org/display/JENKINS/ArtifactDeployer+Plugin )
Comment 6 Yuvi Panda 2013-06-18 15:23:32 UTC
That would be nice, yes :)
Comment 7 Antoine "hashar" Musso (WMF) 2013-06-18 15:42:11 UTC
There is a 'copy to slave' Jenkins which is supported by JJB. Would let us copy the apkartifact under the integeation docroot on gallium.
Comment 8 Antoine "hashar" Musso (WMF) 2013-11-18 23:51:13 UTC
moving bug back in the pool.
Comment 9 Greg Grossmeier 2014-05-28 23:43:14 UTC
This (building the Wikipedia Android app via Jenkins) was discussed today with Bernd and Dmitry. What is the status of that now? Is Jenkins doing anything more than lint checking with the Android app? It looks like that is all they have from eg: https://gerrit.wikimedia.org/r/#/c/135805/
Comment 10 Antoine "hashar" Musso (WMF) 2014-05-29 20:41:31 UTC
Yuvi and I talked about it again a couple month ago.  The challenge is getting Android SDK installed on the Ubuntu slaves (read build a package / puppet recipe for it).  I have no clue how Android work so I am not comfortable doing it.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links