Граф коммитов

356 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc e1f9b3132b Bug 1298455 - Tag and use decision image 0.1.5; r=dustin
MozReview-Commit-ID: Fmc4l70onV2

--HG--
extra : rebase_source : 08a34e48faa44a25a52273a35b835c71ef178c15
2016-08-26 11:10:30 -07:00
Gregory Arndt fa4f868ca7 Bug 1263815 - retry xvfb startup. r=dustin
Sometimes xvfb will not start up with the current retry/delay settings. This will
attempt to retry more and delay for longer to ensure xvfb has started up. Common
pieces of this have been factored out into a recipe that all docker images can schare
that need this functionality.

MozReview-Commit-ID: BTXkJkBWLZX

--HG--
extra : rebase_source : 7554d7784768a65deb2c9ccb89586e5f77550e9f
2016-07-06 09:06:58 -05:00
Sebastian Kaspari 4bd4c46def Bug 1296335 - after.sh: Package gradle binaries as gradle-dist.tar.xz. r=Callek
MozReview-Commit-ID: HkKCc8V5pgf

--HG--
extra : rebase_source : 0f8533f8a97082262800398cf81fd820c58e59e5
2016-08-19 15:06:44 +02:00
Gregory Szorc fb9d600ab0 Backed out changeset e6e5569551be (bug 1263815) for valgrind failures because Docker image generation isn't deterministic 2016-08-18 15:50:28 -07:00
Wes Kocher d6405029ef Backed out 2 changesets (bug 1295380) because it needs treeherder changes deployed before it can land a=backouty
Backed out changeset 905fb4a53386 (bug 1295380)
Backed out changeset 213a4986ccfd (bug 1295380)
2016-08-18 15:03:55 -07:00
Gregory Szorc 43d7d85229 Bug 1295380 - Use run-task for test tasks; r=dustin
Before, test.sh (duplicated between the desktop-test and
desktop1604-test images) was dropping permissions, creating a workspace,
and executing test-linux.sh. This is functionality now provided by
run-task.

So, convert the test tasks to use run-task.

It's worth noting that creating the workspace directory is no longer
necessary because it is defined as a VOLUME in the Dockerfile or a
cache in some task configurations. However, it is default owned by
root:root, so we do need to instruct run-task to chown it.

Since the test.sh files are no longer used after this change, they have
been deleted. The desktop-test image no longer has any files in the
bin/ directory, so the Dockerfile entry to copy those files has been
removed.

MozReview-Commit-ID: 1BiskrMs6xW

--HG--
extra : rebase_source : 4b16837ad9362844668fe4d6cde5ed07a59a3ccd
extra : source : 8335aa40265b1d17421d06d9e9a180eb8419fe47
2016-08-16 09:25:35 -07:00
Gregory Szorc 46ac323123 Bug 1295380 - Teach run-task to chown paths; r=dustin
It is common for tasks to chown paths before permissions are dropped
from root:root. This commonly occurs when Docker volumes/caches are
involved since they are default owned by root:root and not writable
by any other user.

Since this will likely be a common request, add the functionality to
run-task.

MozReview-Commit-ID: AHmSfY5Ce0S

--HG--
extra : rebase_source : 692177bb730a9d0f99abb6add992c9e3c066d306
2016-08-16 19:31:12 -07:00
Gregory Arndt d908af3f6a Bug 1263815 - retry xvfb startup. r=dustin
Sometimes xvfb will not start up with the current retry/delay settings.  This will
attempt to retry more and delay for longer to ensure xvfb has started up.  Common
pieces of this have been factored out into a recipe that all docker images can schare
that need this functionality.

MozReview-Commit-ID: 2ww0eT3cIt6

--HG--
extra : rebase_source : f343f8a2bf8370657b63afdd9d739988bbb6261c
2016-07-06 09:06:58 -05:00
Alexandre Lissy a9ecd3e3df Bug 1295900 - Switch git-repo off git.mozilla.org r=garndt
MozReview-Commit-ID: Lu6oo0XDTYU

--HG--
extra : rebase_source : 31b899167f8a57396f12033ba39d6ec4cbed82e5
2016-08-17 10:16:54 +02:00
Gregory Szorc 5e326fbca7 Backed out changeset 25bc6ca8f19f (bug 1294234) for breaking TC tests
Introduced a (possibly intermittent) permissions failure downloading
mozharness. Might be cache related.
2016-08-12 21:23:41 -07:00
Gregory Szorc d8a853a72c Bug 1294234 - Use run-task for test tasks; r=dustin
Before, test.sh (duplicated between the desktop-test and
desktop1604-test images) was dropping permissions, creating a workspace,
and executing test-linux.sh. This is functionality now provided by
run-task.

So, convert the test tasks to use run-task.

One thing run-task isn't doing is created the workspace. So this
functionality has been moved into test-ubuntu1204.sh and
test-ubuntu1604.sh.

Since the test.sh files are no longer used after this change, they have
been deleted. The desktop-test image no longer has any files in the
bin/ directory, so the Dockerfile entry to copy those files has been
removed.

MozReview-Commit-ID: 1BiskrMs6xW

--HG--
extra : rebase_source : 264efc9b30e62927dece848b9b1eab7542cf2cba
extra : source : 8335aa40265b1d17421d06d9e9a180eb8419fe47
extra : histedit_source : a5ae54a810718d446ded8bab510e6cd605562737
2016-08-09 14:34:58 -07:00
Gregory Szorc 4d604a8b84 Bug 1294234 - Add test-ubuntu*.sh scripts to Docker image; r=dustin
Before, we `curl`d these files at task run time. Why, I'm not sure.
Probably the easiest way to do things before we could add files outside
the directory of the Dockerfile to the image build context. Since that
is no longer a restriction, we just include the file as part of the
built image.

This does mean we rebuild the Docker image if the scripts change. I'm
fine with that.

It's worth noting that both test.sh files look very similar. I
anticipate consolidation in the future...

MozReview-Commit-ID: 48dinmxy6G0

--HG--
extra : rebase_source : 418f11ada7aaf16f3a4c3522f014b42690d44295
extra : histedit_source : df27ba0c3bbff1721d8b278ff65c127e6332cc28
2016-08-09 13:12:14 -07:00
Gregory Szorc 8c5a7a2568 Bug 1294234 - Use more byte literals; r=ekyle
Without this, we potentially mix unicode literals and str and have
implicit type coercion, leading to UnicodeDecodeError or some such.
Oh, the joys of Python.

MozReview-Commit-ID: IeXRjs5Fnj7

--HG--
extra : rebase_source : cba8b13ae845dfaf41a718ba8e60061b8bcffccd
2016-08-10 16:01:25 -07:00
Wes Kocher 5e221f11cb Backed out 3 changesets (bug 1294234) for UnicodeDecodeError failures in various tests a=backout CLOSED TREE
Backed out changeset d118ab526ad8 (bug 1294234)
Backed out changeset 3cfc4041d48d (bug 1294234)
Backed out changeset 710d37b610a8 (bug 1294234)
2016-08-11 16:04:48 -07:00
Gregory Szorc 387ec61b32 Bug 1294234 - Use run-task for test tasks; r=dustin
Before, test.sh (duplicated between the desktop-test and
desktop1604-test images) was dropping permissions, creating a workspace,
and executing test-linux.sh. This is functionality now provided by
run-task.

So, convert the test tasks to use run-task.

One thing run-task isn't doing is created the workspace. So this
functionality has been moved into test-ubuntu1204.sh and
test-ubuntu1604.sh.

Since the test.sh files are no longer used after this change, they have
been deleted. The desktop-test image no longer has any files in the
bin/ directory, so the Dockerfile entry to copy those files has been
removed.

MozReview-Commit-ID: 1BiskrMs6xW

--HG--
extra : rebase_source : 75a937321d1850caebbb1eeaab42d04638ef75d9
extra : source : 8335aa40265b1d17421d06d9e9a180eb8419fe47
2016-08-09 14:34:58 -07:00
Gregory Szorc c99b788376 Bug 1294234 - Add test-ubuntu*.sh scripts to Docker image; r=dustin
Before, we `curl`d these files at task run time. Why, I'm not sure.
Probably the easiest way to do things before we could add files outside
the directory of the Dockerfile to the image build context. Since that
is no longer a restriction, we just include the file as part of the
built image.

This does mean we rebuild the Docker image if the scripts change. I'm
fine with that.

It's worth noting that both test.sh files look very similar. I
anticipate consolidation in the future...

MozReview-Commit-ID: 48dinmxy6G0

--HG--
extra : rebase_source : 4d61b2dcb605c7314b872de85db4d46c0199b8df
2016-08-09 13:12:14 -07:00
Gregory Szorc c630854d30 Bug 1293822 - Have worker own /home/worker files; r=dustin
This effectively reverts the change in 2f0d6ea822b5 (bug 1163057)
to own the files by root:root. Since that change landed, we su
to the "worker" user early during task startup. So there is no more
need to have /home/worker owned by root:root.

MozReview-Commit-ID: 77q9APiDKpb

--HG--
extra : rebase_source : 6f45af9c51fa6c0f9f14ea183b008e38f9388664
2016-08-09 16:15:22 -07:00
Gregory Szorc 2504bcf36e Bug 1293737 - Add some common settings to global hgrc; r=dustin
The install-mercurial.sh script takes care of installing a global hgrc.
If we want Mercurial settings, that's where they should be defined.

A number of Docker images had redundantly maintained versions of
/home/worker/.hgrc. We've deleted some instances of these hgrc files
because I thought they were cargo culted. It turns out that the config
was added to support one-click loaners (see bug 1250904).

Since there is little harm in enabling extensions globally, we just do
that in the shared install-mercurial.sh script and do away with the
custom hgrc.

It's worth noting that the CA path defined in the custom hgrc is not
needed because the Mercurial package installed by install-mercurial.sh
configures this correctly.

MozReview-Commit-ID: bk4ek99X4z

--HG--
extra : rebase_source : 6ae90f698af05a8814cdb08cf672db470a5a227a
2016-08-09 11:40:57 -07:00
Gregory Szorc 0aa62a08a7 Bug 1293737 - Merge ubuntu1204-test and ubuntu1204-test-upd into desktop-test; r=dustin
We're giving the same treatment to the Ubuntu 12.04 test image that we
did to the Ubuntu 16.04 image in bug 1293686.

As of this commit, the image can be fully regenerated from changes in
tree: no Docker Hub pushes necessary.

A downside is would could get bit by lack of determinism in image
building. But that's already a problem.

Since the ubuntu1204-test and ubuntu1204-test-upd images are no longer
used, they have been deleted.

MozReview-Commit-ID: 55DwqHOmVM5

--HG--
extra : rebase_source : 222bb9ec096705f1be3f8ab7309a24ac640683f3
2016-08-09 11:36:57 -07:00
Gregory Szorc 9b29e4f17b Bug 1293737 - Move ubuntu1204-test's system-setup.sh to recipes; r=dustin
In preparation for deleting this image.

MozReview-Commit-ID: Iu9vifGgGE0

--HG--
rename : testing/docker/ubuntu1204-test/system-setup.sh => testing/docker/recipes/ubuntu1204-test-system-setup.sh
extra : rebase_source : a9fb795382766b3d9862b3fd211e97a6281f2c7f
2016-08-09 11:32:22 -07:00
Anthony Miyaguchi 18bcb2793a bug 1292393 - Support symbolic revisions in decision task r=gps
The decision task now uses robustcheckout to get the latest mercurial state.
However, robustcheckout also enforces that the revision it's passed is
actually a revision hash, and not a symbolic name. This will use the --branch
option of robustcheckout if GECKO_HEAD_REF is defined and will use `hg log` to
fill in GECKO_HEAD_REF.

MozReview-Commit-ID: LJikceW4YVg

--HG--
extra : rebase_source : ee9d4d8c472239dbe452e7467e4ebec08a4c5594
extra : source : ad0e20ec7cd249036bdc1ee0638a7499d4a39ed7
2016-08-09 13:14:05 -07:00
Gregory Szorc 860d7342ac Bug 1293686 - Merge ubuntu1604-test into desktop1604-test; r=dustin
The code from the base ubuntu1604-test image has been moved to
the desktop1604-test image. Since ubuntu1604-test is no longer
referenced, we remove it.

With this change, the desktop1604-test Docker image no longer
requires a push to the Docker Hub when updating: it is updated fully
within TaskCluster.

This will result in more image transfers in automation and to
developer machines. But we do gain a lot of convenience updating
the images.

MozReview-Commit-ID: GRpPOfs6pn3

--HG--
extra : rebase_source : 7bac6c7427d0dbee7191a6284fc58f0a2b936b33
2016-08-09 09:38:12 -07:00
Gregory Szorc 620396ffc2 Bug 1293686 - Move ubuntu1604-test's system-setup.sh to recipes; r=dustin
In preparation for removing the ubuntu1604-test base image. We also
change the script's location in the image to /setup because that's the
path we use in most images.

MozReview-Commit-ID: CvjTO8hmIkW

--HG--
rename : testing/docker/ubuntu1604-test/system-setup.sh => testing/docker/recipes/ubuntu1604-test-system-setup.sh
extra : rebase_source : 77b6b0028cb9d054b37584c314cfb7eb1d8b9a59
2016-08-09 09:34:03 -07:00
Gregory Szorc 5619dceae7 Bug 1292696 - Remove version checks for libxcb and libgl; r=ahal
Pinning these packages breaks Ubuntu package management because
other packages we install explicitly require a newer version.
Attempting to pin these results in packages getting removed or refusal
to install.

MozReview-Commit-ID: AhQbjavCKI1

--HG--
extra : rebase_source : 1774eaf447a46d7244cb934b0e5671b140b923fa
2016-08-08 14:42:06 -07:00
Gregory Szorc 7043587cd4 Bug 1293395 - Declare Docker volumes for cache paths; r=dustin
As bug 1291940 shows, aufs can be a real performance drag.

Most performance critical paths in containers are caches. This allows
the use of the host filesystem (instead of aufs), which is much faster
under load.

Unfortunately, most caches are stripped on Try. This means paths that
would be served from the fast host filesystem are now being handled
by aufs. This can make Try jobs slower than non-Try jobs.

This commit declares Docker volumes for popular cache paths. If the
cache is present, the cache takes precedence over the declared volume.
If the cache isn't present, Docker falls back to an empty volume that's
used for the task and only the task.

It's worth noting that desktop-build is updated redundantly with
centos6-build. We currently can't rebuild centos6-build because of
a determinism issue (bug 1272629) breaking valgrind. So, I work around
this by declaring the volume in the top-most "desktop-build" layer.
This hack can be removed once we merge the images.

MozReview-Commit-ID: 7JtxAfI7ED5

--HG--
extra : rebase_source : aec1675c3393d767f5d10130553148155190f19d
2016-08-08 13:38:06 -07:00
Dustin J. Mitchell 256d916b0e Bug 1288132: remove unused desktop-l10n image; r=Callek
MozReview-Commit-ID: 3onYNrrvuUZ

--HG--
extra : rebase_source : 002ec9c8de699272b5c6c69493b9981b1f8d91e3
2016-08-08 16:29:36 +00:00
Gregory Szorc 09bbefe2f5 Bug 1291365 - Remove hgrc file from desktop1604-test image; r=dustin
This was likely a cargo cult. Mercurial's config is now managed by
install-mercurial.sh, which is called by the base image.

MozReview-Commit-ID: 3uNN880cm2f

--HG--
extra : rebase_source : c7555ca8ab41356ab10f4c02938a9c8add1acc61
2016-08-05 16:01:38 -07:00
Gregory Szorc 4c28696c13 Bug 1291365 - Add run-task to ubuntu1604-test image; r=dustin
MozReview-Commit-ID: 4GCJs6lQt3u

--HG--
extra : rebase_source : 229d5fc18864125a045f007f8dd345e9a99a74b4
2016-08-05 09:24:10 -07:00
Gregory Szorc 3fb22e4eb5 Bug 1291365 - Use install-mercurial.sh in ubuntu1604-test; r=dustin
MozReview-Commit-ID: EiNT8Lmr8O6

--HG--
extra : rebase_source : 3f45552b52609ba628a37ee9f94d5343fe2073e1
2016-08-05 09:23:31 -07:00
Gregory Szorc 05ce191b51 Bug 1291365 - Install tooltool securely in ubuntu1604-test image; r=dustin
And make it deterministic since we are using a vendored file.

MozReview-Commit-ID: 4ZvMRt9BSZi

--HG--
extra : rebase_source : e2dbdb2d83bc910592eddd598e7c51748e8be4e2
2016-08-05 09:21:57 -07:00
Gregory Szorc b6ec7c5d8f Bug 1291365 - Specify Ubuntu version in ubuntu1604-test image; r=dustin
Without this, we'll use the latest Ubuntu release at image build time!

MozReview-Commit-ID: DmUcwKPkL78

--HG--
extra : rebase_source : 45edb72205bba3667abdf5d9ac79f1f66811ddc5
2016-08-05 09:20:02 -07:00
Gregory Szorc c441f28019 Bug 1291365 - Add run-task to ubuntu1204-test image; r=dustin
MozReview-Commit-ID: ArM3vwQM0Ni

--HG--
extra : rebase_source : 02808e3c245f0597f17091b19b761e9edaa330cd
2016-08-05 09:18:30 -07:00
Gregory Szorc 039b3c1509 Bug 1291365 - Install Mercurial via install-mercurial.sh in ubuntu1204-test image; r=dustin
This also bumps the Mercurial version from 3.7.3 to 3.8.4.

MozReview-Commit-ID: 2qfDLTFqlaj

--HG--
extra : rebase_source : f208a0df7a47cec083e873934c8140c048c46c06
2016-08-02 12:44:31 -07:00
Gregory Szorc 5d20bb9368 Bug 1291365 - Install tooltool securely in ubuntu1204-test image; r=dustin
More determinism. More security. More reliable. Vendoring.

The path to the installed tooltool.py has also been changed to /setup
for consistency with other images.

MozReview-Commit-ID: JnUS35AyPus

--HG--
extra : rebase_source : d3dbc5119d0d95e28e3a6c789572a9dbf0800e9f
2016-08-02 12:28:15 -07:00
Gregory Szorc 869ad0eda7 Bug 1291365 - Support installing Mercurial on Ubuntu 12.04; r=dustin
I produced Mercurial .deb packages for Ubuntu 12.04 and uploaded them to
tooltool. I have updated the Mercurial installation script to detect
Ubuntu 12.04 and install the appropriate Mercurial packages.

MozReview-Commit-ID: GsNFOhhms7b

--HG--
extra : rebase_source : d64016382035ae99a3be9abc5bf974ab710c058b
2016-08-02 12:10:25 -07:00
Gregory Szorc 7e9cca1790 Bug 1291365 - Refactor install-mercurial.sh to detect OS version; r=dustin
Currently, install-mercurial.sh only supports Ubuntu 16.04. In
preparation for supporting other distros, we add code for performing
OS/distro detection.

MozReview-Commit-ID: 9a6pp1Qprcr

--HG--
extra : rebase_source : 2b1c892ddb6ed4252d730a4ba08edb7a158fb3ec
2016-08-02 11:30:24 -07:00
Gregory Szorc 3ecbbf6e1c Backed out changeset 0809927f1e16 (bug 1292696)
Accidentally removed packages from image.
2016-08-08 10:52:53 -07:00
Gregory Szorc 6c10e002fb Bug 1292696 - Pin various graphics related packages to known good versions; r=jmaher
Without this pinning, the image doesn't build deterministically and
fails the version checks that were previously in this file. At the
time this was written, the libgl1-mesa packages were on version
11.2.0-1ubuntu2.1 upstream and building the Docker image locally
failed because these versions would get installed.

A risk to pinning is we'll drift out of date with the OS we're testing
and won't detect failures on packages users in the wild are running.
But on the flip side, automation will be able to build the image
reliably and there won't be "random" failures due to automation
picking up new package versions.

MozReview-Commit-ID: 5MSEbsiNjF1

--HG--
extra : rebase_source : 14b57ee441cb12ce866f402ca94d270c86d1cc4d
2016-08-08 09:22:42 -07:00
Gregory Szorc 08d735f41f Bug 1291070 - Tag and use decision image 0.1.4; r=dustin
To pull in run-task exit code fix.

MozReview-Commit-ID: 5QvcQijTRKH

--HG--
extra : rebase_source : cac011e2835f18e620293e8c05a8f49da472d925
2016-08-01 18:09:09 -07:00
Gregory Szorc 0f7dc03a9f Bug 1291070 - Return process exit code properly; r=glandium
Before, we were returning None, which gets converted to 0.
Derp.

Also fix a flake8 failure introduced by 9f5fbb3066c9.

We'll also need to generate a new decision image. But that will
require someone with TC privileges to be around. That can be done
in a separate commit to unblock this from landing and fixing
consumers of run-task that aren't the decision image.

MozReview-Commit-ID: 6XuoIxjDozF

--HG--
extra : amend_source : 4a3047d09d9bdce5a173a71ec3c68b8c4579a910
2016-08-01 21:44:22 -07:00
Iris Hsiao 923cbf5038 Backed out changeset 51f838971d62 (bug 1291070) for Taskgraph test failure 2016-08-02 17:24:25 +08:00
Gregory Szorc e4c0cab07e Bug 1291070 - Return process exit code properly; r=glandium
Before, we were returning None, which gets converted to 0.
Derp.

Also fix a flake8 failure introduced by 9f5fbb3066c9.

We'll also need to generate a new decision image. But that will
require someone with TC privileges to be around. That can be done
in a separate commit to unblock this from landing and fixing
consumers of run-task that aren't the decision image.

MozReview-Commit-ID: 6XuoIxjDozF

--HG--
extra : rebase_source : 836f4996cb9be24e19504f73792b159f0ffbdbee
2016-08-01 21:44:22 -07:00
Gregory Szorc 66dab0495d Bug 1290620 - Use run-task from decision task; r=dustin
This commit does a lot. But it's really not too difficult to comprehend
once you focus on the final state, which is basically the same as the
"lint" image and derived tasks.

Before, the "decision" image contained a "checkout-gecko" script and
"run-action" and "run-decision" scripts. The latter 2 invoked the first
script.

The "run-task" script basically does what the combination of these
scripts were doing before. So we switch to it.

While we're here, we also replaced the custom Mercurial installation in
this image with the shared install-mercurial.sh script. The
system-setup.sh script for the decision image is now short and sweet.

The YAML files for tasks using this image have been updated to use
"run-task." We no longer have to pass an environment variable to hold
command arguments. So we revert to putting these arguments inline in
the task's command. Dustin never liked passing the arguments as
environment variables, so it should make him happy ;) We add
--log-no-times because "run-task" prefixes its own timestamps on output
lines.

The path to the Gecko checkout has been changed from
/home/worker/workspace to /home/worker/checkouts to match changes made
in bug 1289643.

Finally, since "checkout-gecko-and-run" is no longer used, we delete it.

The Docker image version has been bumped accordingly.

MozReview-Commit-ID: HAGuCz6668Q

--HG--
extra : rebase_source : 9586873c21d67f8ce869b7ceee221e8fa8775539
2016-07-29 21:03:48 -07:00
Gregory Szorc 1dadb3eea1 Bug 1290620 - Implement a run-task wrapper script; r=dustin
Before, we simply executed scripts inside Docker containers. This
frequently resulted in a wall of text with command output. It was
difficult to discern things like the time spent performing certain
actions.

Before, individual tasks had to drop permissions from the default
root user themselves. Dropping permissions isn't exactly a trivial
thing to do and a number of tasks didn't do it or did it wrong.

Before, we had a "checkout-gecko-and-run" script that kinda/sorta
did common activities for us. But it was written as a shell script
and doing advanced things was difficult.

This commit can be treated as a rewrite of "checkout-gecko-and-run"
as a Python script. But it also does a bit more. It prefixes output
with timestamps so we know how long operations took. It features more
robust argument parsing, so we can add new features more easily.

To prove the new wrapper script works, the lint image and all tasks
using it have been converted to use it.

MozReview-Commit-ID: 5d95u5Xebtq

--HG--
extra : rebase_source : 3a1d84782b01d7743e846bd0c04d7867813dd8a3
2016-07-29 20:53:21 -07:00
Gregory Szorc 39b37c03c9 Bug 1290531 - Move tooltool.py into shared directory; r=dustin
The reason tooltool.py was vendored in testing/docker/decision was
because locally built Docker images were using vanilla `docker build`
and didn't know about our special Dockerfile syntax to allow the
inclusion of images from outside the directory where the Dockerfile
was located.

Now that locally-built Docker images know of our special Dockerfile
syntax, we can include files from anywhere. So, move tooltool.py
to a shared directory, away from the decision image.

I didn't bump the version of the decision image because there are
a few more things I want to do to this image, such as have it use
the `checkout-gecko-and-run` script instead of its own script.
I think I'll do that in a separate bug, however.

MozReview-Commit-ID: 12ze9GJFMJq

--HG--
rename : testing/docker/decision/tooltool.py => testing/docker/recipes/tooltool.py
extra : rebase_source : cfc2fa5759a3ec708b6e1736e9a2da03f0d25428
2016-07-29 13:50:24 -07:00
Gregory Szorc 65c418d029 Bug 1290531 - Invoke docker from Python, remove build.sh; r=dustin
build.sh had been reduced to invoking `docker`. We move that invocation
to Python and remove build.sh. Long live build.sh!

MozReview-Commit-ID: FQBDJv4HSaU

--HG--
extra : rebase_source : 82979f2526ab1ab6dd5c25032b8d81074c797d94
2016-07-29 13:22:06 -07:00
Gregory Szorc 3a4c1c50de Bug 1290531 - Remove support for building with custom build.sh; r=dustin
Now that tester-device is gone, there are no more images using custom
build.sh scripts and that feature can be deleted. Yay simplicity.

MozReview-Commit-ID: 5JqFZ2HOsWs

--HG--
extra : rebase_source : 437bc8e877be065bf85db81422f3c1ddd5ac2800
2016-07-29 13:18:27 -07:00
Gregory Szorc 19331fe695 Bug 1290531 - Remove tester-device Docker image; r=dustin
There are no references to tester-device in tree or in the gaia repo.
Since it appears to be unused, remove it.

According to garndt, this was used for testing in the remote device
lab, which he things is no longer happening.

The reason I found this is because it is the only thing using a custom
"build.sh" to create Docker images. I'm rewriting the Docker image
building functionality and tester-device is a one-off interfering
with that work. Making it go away is the easiest way to unblock me.

MozReview-Commit-ID: 4veem4uIXXi

--HG--
extra : rebase_source : c2b5e59bdf5e84e7d7132c04bdf5b46c3392b37a
extra : amend_source : ff20838a8c828451412caf57c89efc59b2db202e
2016-07-29 13:17:16 -07:00
Gregory Szorc 1ec6c0a5b5 Bug 1290531 - Move image tag resolution to Python; r=dustin
We already had code for resolving the image registry and tag. We
refactored it slightly to be more useful then changed build.sh to
accept the tag as an argument.

At this point, build.sh is basically a wrapper around `docker`. But
there's a special case for executing custom "build.sh" files we
need to eliminate first...

MozReview-Commit-ID: A9HVvxgCdG2

--HG--
extra : rebase_source : 30a408860aea619813f32723fe960d1224b5dbc7
2016-07-29 13:06:10 -07:00
Gregory Szorc efd6c78ba9 Bug 1290531 - Move image name verification to Python; r=dustin
MozReview-Commit-ID: 8KJZH5vjANS

--HG--
extra : rebase_source : f2cf88113473fa1dadcd4ff6f3baaf7dca55ee55
2016-07-29 12:59:46 -07:00