Commit Graph

191 Commits

Author SHA1 Message Date
Wes Kocher
2fc1737838 Merge m-c to inbound, a=merge 2015-10-22 16:56:10 -07:00
Wes Kocher
5ba2dcfe5c Merge b2ginbound to central, a=merge 2015-10-22 16:50:22 -07:00
Wander Lairson Costa
de42aec50d Bug 1144808 part 2: Harden phone-builder image. r=garndt
We don't run free commands from tasks, we now allow only scripts shipped
in the phone-builder image.

We also added support to an allowed whitelist of github and bitbucket
users to run tasks from their respective private repositories.

--HG--
extra : commitid : 6NA1M4JKjCQ
2015-10-22 11:40:22 -02:00
Dustin J. Mitchell
7482946324 Bug 1217396: put worker in the video group for access to /dev/video0; r=ted.mielczarek
--HG--
extra : commitid : 4Ev6Nt3B1Rj
extra : rebase_source : b518cda099add6a162826e10c881e1aaf91f25f6
extra : amend_source : 33e3111377846baed13920f471e15243164e8559
2015-10-22 11:55:32 -04:00
Dustin J. Mitchell
d9655822db Bug 1213325: refactor desktop-test to use an in-tree script; r=ahal
This generally makes the approach look more like that for desktop-build.  The
major difference is that `bin/test.sh` takes arguments which are passed on to
the mzoharness script (MOZHARNESS_SCRIPT) with the addition of config
arguments (MOZHARNESS_CONFIG)

--HG--
rename : testing/docker/desktop-build/bin/build.sh => testing/docker/desktop-test/bin/test.sh
rename : testing/docker/desktop-test/mozharness_configs/remove_executables.py => testing/mozharness/remove_executables.py
extra : commitid : GyMeTBpCwm8
extra : rebase_source : 1a61f9bc32066ad6f9fce504d3e8ac67e39b105d
2015-10-13 14:20:34 -04:00
Dustin J. Mitchell
fbd43ff82a Bug 1216670: use correct parent image for desktop-test; r=ahal
--HG--
extra : commitid : IvsxnqSYjM1
extra : rebase_source : 07b555952074052a834f817c4bdce78b6db8cc3b
2015-10-20 15:30:39 -04:00
Dustin J. Mitchell
fd5fc65ac0 Bug 1214809: use 'sudo' instead of 'su' to drop root privs; r=ted
--HG--
extra : commitid : AcpLVAV7DV3
extra : rebase_source : 831bd4a4948231b0f23dccbd48220850674c1ea9
2015-10-20 18:12:09 -04:00
Dustin J. Mitchell
393033c94f Bug 1213627: update Dockerfile FROM lines to match; r=ehsan
--HG--
extra : commitid : EmIUIL4VdVq
extra : rebase_source : a79b4f84c5cd5f1a1e8b5a045c7fa56cee044996
2015-10-14 09:52:13 -04:00
Ehsan Akhgari
bbbdfb102e Bug 1213627 - Add ninja to the desktop-build image to support building clang 3.7; r=dustin 2015-10-13 16:46:07 -04:00
Dustin J. Mitchell
e277e99e09 Bug 1212411: fork docker images for tests; r=ahal
This also refactors the image generation to not depend on puppetagain, and to
install the latest and greatest mercurial in a verified, repeatable way.

As with centos6-build-upd, the ubuntu1204-test-upd image exists to run
'apt-get upgrade' periodically without regenerating the huge parent image.

--HG--
extra : commitid : HxYSFfIaEc
extra : rebase_source : 28dae0a30be3d6fae2c44a43601bbd336d9bbfdd
2015-10-09 10:49:03 -04:00
Dustin J. Mitchell
01c1583e72 Bug 1212877: improve build.sh to run from any directory; r=wcosta DONTBUILD
--HG--
extra : commitid : L8ez8ZvzwzH
extra : rebase_source : 6144fe60c67193439a66b7da881a71440b481384
extra : amend_source : 3dde9b72f910faf531d98bb853befdbe49f3602e
2015-10-08 10:43:20 -04:00
Dustin J. Mitchell
db54bd0968 Bug 1176031: fix up image versions, registries; r=ahal
--HG--
extra : commitid : EGhvVIAIwDC
extra : rebase_source : 4bda6c4fef3ef73705fb4705e5ab10b11d36dc36
2015-10-07 16:59:23 -04:00
Andrew Halberstadt
53d634c95b Bug 1176031 - [taskcluster] Add x11-server-utils package to the 'tester' image, DONTBUILD (NPOTB), r=dustin
--HG--
extra : commitid : HxiWJrU1XD3
extra : rebase_source : c3409f61cd47e49397bfa0aef12c6d2e5c61867b
extra : amend_source : cd03503be0fec5a09dda168f0e7b2440a6731535
2015-07-07 11:54:25 -04:00
Dustin J. Mitchell
5997fbb0e4 Bug 1209663: remove unused docker images; r=mrrrgn DONOTBUILD
--HG--
extra : commitid : 99iJD5rNaqg
extra : rebase_source : af0a1f15505af818682e9bb76b7513538130ccc0
extra : amend_source : 8616c01111eefb2458851b69885064fb513020a7
2015-10-02 11:49:31 -04:00
Dustin J. Mitchell
834ccf7b1c Bug 1203158: add a centos6-build-upd layer to include frequent yum updates; r=ted.mielczarek
--HG--
extra : commitid : 4stimuDzY61
extra : rebase_source : c0faed07e6febf5bc701066e3bea62b0da6a7ad9
extra : amend_source : dcd4769f9426dd639ba96dfb1435f2f4257e2ea4
2015-09-10 17:42:03 -04:00
Jordan Lund
520f9b8623 Bug 1199720 - Setup builds for b2gdroid, taskcluster and mozharness bits, r=dustin 2015-09-30 13:57:52 -07:00
Jordan Lund
cd9b824499 Bug 1163084 - Releng work for producing dummy partner Android APK, r=dustin
--HG--
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_11.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_11_partner_sample1.py
rename : testing/taskcluster/tasks/builds/android_api_11.yml => testing/taskcluster/tasks/builds/android_api_11_partner_sample1.yml
2015-09-30 13:56:39 -07:00
Dustin J. Mitchell
3b03b1e537 Bug 1208029: bump image version numbers to capture subversion install; r=ehsan
--HG--
extra : commitid : 2QC4Cw4AXrJ
extra : rebase_source : 3bd0eb07092e96b0551b0eb8d7a47c6ad81b2f5d
extra : histedit_source : 399916da3b8232606e4ec959188cf2974be521bb
2015-09-30 09:11:59 -04:00
Wander Lairson Costa
c8e39955c7 Bug 1207986 part2: Install openjdk in the phone builder docker image. r=garndt
This is necessary for FOTA builds. Increase the version number
to
0.0.22 because 0.0.21 was busted.

--HG--
extra : commitid : GhfgSBuyWxg
2015-09-29 07:28:04 -03:00
Wander Lairson Costa
901eb75699 Bug 1207986 part1: turn phone-builder cmd line parameters optional. r=garndt
For any parameter we don't pass in the command line, take from the
environment.

--HG--
extra : commitid : 9ru0islnTP9
2015-09-29 07:28:04 -03:00
Dustin J. Mitchell
16d2ad1ff9 Bug 1189892, 1208029: add linux32 support; r=ted.mielczarek
Add new tasks for the "Linux" platform.  These run on the same docker image as
the Linux64 builds, but that image has been modified to contain a bunch of
*.i686 packages required to cross-compile for i686.  Due to yum's propensity
for resolving dependencies without regard to architecture, with this patch the
system-setup.sh script lists both architectures of each file explicitly.

This also leaves `gcc` installed for user convenience in installing Python
extensions, NPM modules, etc.

This also includes 'subversion' for clang builds (bug 1208029)

--HG--
extra : commitid : GfCTCchyHo6
extra : rebase_source : 8b15da0ed7adefa084b7195a98f63f73564a3d94
2015-09-21 17:39:44 -04:00
Nigel Babu
84520cdcf7 Backed out changeset a515a700781a (bug 1207986) on suspicion of causing b2g device build bustages
CLOSED TREE
2015-09-25 10:02:30 +05:30
Wander Lairson Costa
34798869bb Bug 1207986: Add java-openjdk package to phone-builder image. r=garndt
This package is necessary to build Aries fota updates.

--HG--
extra : commitid : DAKZqS5wKeJ
2015-09-24 13:51:31 -03:00
Wander Lairson Costa
835690cd3b Bug 1166217: Move phone-builder image to docker hub.
quay.io is gone, long live docker hub.

--HG--
extra : rebase_source : ed2d2758db1f70a51484487155e345120f616dc6
2015-09-17 17:41:06 +02:00
Carsten "Tomcat" Book
e7a3664e1e Backed out 1 changesets (bug 1166217) for likely causing Aries Dogfood Build Bustage
Backed out changeset 86fb1100a8cf (bug 1166217)
2015-09-21 15:18:00 +02:00
Edgar Chen
b087d54062 Bug 1188330 - Use intree mozharness for taskcluster tests. r=dustin,garndt,wcosta 2015-09-04 17:01:36 +08:00
Wander Lairson Costa
7091f0f9f4 Bug 1166217: Move phone-builder image to docker hub.
quay.io is gone, long live docker hub.

--HG--
extra : commitid : K87GFaexJ9
extra : source : 231127a46d6ea259072a8973d739419976d69683
2015-09-17 17:41:06 +02:00
Wes Kocher
e1092046b0 Backed out changeset 231127a46d6e (bug 1166217) for tc build bustage 2015-09-17 11:50:50 -07:00
Wander Lairson Costa
dbfecc16ce Bug 1166217: Move phone-builder image to docker hub.
quay.io is gone, long live docker hub.

--HG--
extra : commitid : Bu3UIjALAEJ
extra : rebase_source : b288f25f487ba3c466a811988882586896ad3620
2015-09-17 17:41:06 +02:00
Phil Ringnalda
f79d829bdf Merge b-i to m-c, a=merge 2015-09-11 20:27:20 -07:00
Wander Lairson Costa
b33a83378a Bug 1203970: Upgrade phone-builder image for tc-vcs 2.3.12 r=garndt 2015-09-11 18:28:07 -03:00
Gregory Arndt
9e3b76dbd7 Bug 1203965 - Update images to use taskcluster-vcs 2.3.12 r=wcosta
--HG--
extra : commitid : Et296llVDam
extra : rebase_source : 693ded7814b48931465ee259b86440dd408c154e
2015-09-11 08:23:01 -05:00
Ted Mielczarek
0548d71486 bug 1203566 - Add some packages to centos6-build for building cross-mac tools. r=dustin
--HG--
extra : commitid : Cd0Axh6SyaV
extra : rebase_source : b103b3ebdcf725155cfc9897891986da56048471
extra : histedit_source : f5216d3d37822d5633ff88f1b5d4709cfaa950bc
2015-09-10 06:04:43 -04:00
Ted Mielczarek
470ce2c5b0 bug 1203478 - chmod +x script in checkout-script.sh r=dustin
--HG--
extra : commitid : EIR98quFrf4
extra : rebase_source : 0f9df6d6a0b61fb26e8695ddfb49ef9a8770edf9
2015-09-09 09:11:34 -04:00
Dustin J. Mitchell
430ca4968b Bug 1201776: use the taskcluster org at hub.docker.com for desktop-build; r=mrrrgn
This also bumps the image's VERSION since I had pushed several different
images as 0.0.1

--HG--
extra : commitid : LespqENOhs5
extra : rebase_source : b2072b1a9131ea86c080a6abc2898252fc7ff159
extra : histedit_source : 5fca32220264fe07afe0c94e226cee342f1dace4
2015-09-04 09:42:48 -04:00
Dustin J. Mitchell
5e49a087d1 Bug 1201863: remove variables not used in checkout-sources.sh; r=mrrrgn
--HG--
extra : commitid : KYJph6r4j5h
extra : rebase_source : 5ed82d1613e952e1b0c925723675f4170519cc80
extra : histedit_source : 672a42b4635675f34c0f9181156f349ce9c38ca1
2015-09-04 09:06:17 -04:00
Dustin J. Mitchell
5aa38e0045 Bug 1189892: build on CentOS 6.<latest>; r=glandium r=mrrrgn
Introduces a centos6-builder image and refactors desktop-build to use it.
(64-bit only)

--HG--
extra : commitid : BMO91NqNEEh
extra : rebase_source : 85a32f4f88f7d52b86b25516022c44e78b110fd2
2015-09-01 10:45:21 -04:00
Wander Lairson Costa
f6216f3e41 Bug 1200235: Upgrade phone-builder to use tc-vcs 2.3.9. r=garndt 2015-09-01 12:40:58 -03:00
Ryan VanderMeulen
0f38752ebc Merge inbound to m-c. a=merge 2015-08-31 15:21:02 -04:00
Dustin J. Mitchell
5ea62063a6 Bug 1199379: drop root before beginning the build r=ted.mielczarek
This requires doing some cleanup of permissions on the cache mounts first;
eventually, this should be done by the docker-worker.

--HG--
extra : commitid : 6pnyoQeGrRX
extra : rebase_source : caa1dc4df3f0fc9ab26a55088749d85f5a52145a
2015-08-27 14:13:32 -04:00
Gregory Arndt
d4f2cc67bf Bug 1198876 - Update docker images to use taskcluster-vcs 2.3.9 r=wcosta
--HG--
extra : commitid : 2a8f6OoeovG
extra : rebase_source : 9ab4a320c4cdc2fe6c60d9f732cf07b822d379bc
2015-08-26 13:54:23 -05:00
Anthony Miyaguchi
9044bf2727 Bug 1179893 - Add script to download a single file from gecko repositories. r=ted 2015-07-08 14:35:12 -07:00
Dustin J. Mitchell
ae5f44c67b Bug 1185643: use in-tree mozharness for builds; r=wander
This required moving the custom mozharness configs out of the builder image
(which puts them in ~, where mozharness no longer looks) and moving them into
mozharness itself.

--HG--
rename : testing/docker/desktop-build/configs/disable_signing.py => testing/mozharness/configs/disable_signing.py
rename : testing/docker/desktop-build/configs/platform_supports_post_upload_to_latest.py => testing/mozharness/configs/platform_supports_post_upload_to_latest.py
extra : commitid : 8FSj0uwFfbE
extra : rebase_source : 949bb94ca58324444981b81e9e9640ab00d63196
extra : amend_source : 40152e06e587728500800de02a437389038fe6ea
extra : source : e3c15b9f89b3c331805b4f1a83f62805f32bbb9a
2015-07-27 15:21:15 -04:00
Wander Lairson Costa
89baaeea1d Bug 1195847: Update phone-builder to tc-vcs 2.3.8 r=garndt 2015-08-20 08:31:09 -03:00
Gregory Arndt
fc29862b35 Bug 1188608 - Update ubuntu builders to use tc-vcs 2.3.8 r=mrrrgn
--HG--
extra : commitid : 7qcHiAURiT9
extra : rebase_source : 58e23ed8a5f91dea6f6a0fcaa497458798994db8
2015-08-14 09:14:50 -05:00
Gregory Arndt
b55245c8fd Bug 1188608 - Update tester and tester-device images for tc-vcs 2.3.8 r=wcosta
--HG--
extra : commitid : IHKels4Wa96
extra : rebase_source : 108cb531340b75aa6f987431c1e0600506465199
2015-08-14 08:44:04 -05:00
Gregory Arndt
0f5eb714be Bug 1188608 - Update tc-vcs to 2.3.8 in builders r=wcosta
--HG--
extra : commitid : 46vvVUxJUvY
extra : rebase_source : 76833aaa106cefea3946af22e895ba057f46fe26
2015-08-14 07:24:05 -05:00
Dustin J. Mitchell
74b287633f Bug 1189949: regenerate all desktop builders to get new tooltool; r=mrrrgn
--HG--
rename : testing/docker/ubuntu-build/REPOSITORY => testing/docker/ubuntu-build/REGISTRY
rename : testing/docker/ubuntu-build/REPOSITORY => testing/docker/ubuntu32-build/REGISTRY
extra : commitid : H29973f3OfE
extra : rebase_source : 5efcaf8a633f525a8ff6d293a7b6a6e431ee14c7
extra : amend_source : 0513f68b1d1ad32a4c225a40cc6330c1de1f5b87
2015-07-31 17:52:04 -04:00
Carsten "Tomcat" Book
d40332b0af Backed out changeset e3c15b9f89b3 (bug 1185643) for possibly breaking mulet tests on a CLOSED TREE
--HG--
rename : testing/mozharness/configs/disable_signing.py => testing/docker/desktop-build/configs/disable_signing.py
rename : testing/mozharness/configs/platform_supports_post_upload_to_latest.py => testing/docker/desktop-build/configs/platform_supports_post_upload_to_latest.py
2015-07-28 17:06:19 +02:00
Dustin J. Mitchell
d149b29eb0 Bug 1185643: use in-tree mozharness; r=wander r=mrrrgn
This required moving the custom mozharness configs out of the builder image
(which puts them in ~, where mozharness no longer looks) and moves them into
mozharness itself.

--HG--
rename : testing/docker/desktop-build/configs/disable_signing.py => testing/mozharness/configs/disable_signing.py
rename : testing/docker/desktop-build/configs/platform_supports_post_upload_to_latest.py => testing/mozharness/configs/platform_supports_post_upload_to_latest.py
extra : commitid : LUhLDQkhme1
extra : rebase_source : c4cc73de99939e22dd1317ce2d9b26671b67947a
2015-07-27 15:21:15 -04:00