Bug 1432392 - Switch the spidermonkey rust bindings job to a Debian-based docker image. r?dustin
This job requires cmake, which should be fixed, but in the meanwhile,
create a separate docker image with it installed, based on the image we
use for other spidermonkey builds.
--- a/taskcluster/ci/docker-image/kind.yml
+++ b/taskcluster/ci/docker-image/kind.yml
@@ -55,16 +55,21 @@ jobs:
debian7-i386-build:
symbol: I(deb7-32)
parent: debian7-base
definition: debian7-build
packages:
- deb7-valgrind
args:
ARCH: i386
+ debian7-mozjs-rust-build:
+ symbol: I(deb7jsrs)
+ parent: debian7-amd64-build
+ packages:
+ - deb7-cmake
lint:
symbol: I(lnt)
debian9-base:
symbol: I(deb9-base)
definition: debian-base
args:
DIST: stretch
BASE_TAG: '20170620'
--- a/taskcluster/ci/spidermonkey/linux.yml
+++ b/taskcluster/ci/spidermonkey/linux.yml
@@ -36,17 +36,17 @@ sm-rust-bindings-linux64/debug:
description: "Build and test the Rust bindings for SpiderMonkey"
index:
job-name: sm-rust-bindings-linux64-debug
treeherder:
symbol: SM(rust)
tier: 2
platform: linux64/debug
worker:
- docker-image: {in-tree: desktop-build}
+ docker-image: {in-tree: debian7-mozjs-rust-build}
run:
using: spidermonkey-rust-bindings
spidermonkey-variant: plain
run-on-projects: ['integration', 'release', 'try']
sm-plain-linux64/debug:
description: "Spidermonkey Plain"
index:
new file mode 100644
--- /dev/null
+++ b/taskcluster/docker/debian7-mozjs-rust-build/Dockerfile
@@ -0,0 +1,12 @@
+# %ARG DOCKER_IMAGE_PARENT
+FROM $DOCKER_IMAGE_PARENT
+MAINTAINER Mike Hommey <mhommey@mozilla.com>
+
+VOLUME /builds/worker/checkouts
+VOLUME /builds/worker/workspace
+VOLUME /builds/worker/tooltool-cache
+
+# %ARG DOCKER_IMAGE_PACKAGES
+RUN /usr/local/sbin/setup_packages.sh $DOCKER_IMAGE_PACKAGES && \
+ apt-get update && \
+ apt-get install cmake