Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

#!/bin/bash

Image appears to be a Docker Hub Image. Fetch docker image

image_name=azasypkin/ubuntu-15.10-gecko

Find a unique container name

container_name='gaia-container'

Run docker command

docker run -ti \
--name "${container_name}" \
-v ~/projects/mozilla/gaia:/projects/gaia \ # path to gaia
-v ~/projects/mozilla/gecko-dev:/projects/gecko \ #path to gecko
--cpuset-cpus 0-1 \
-m 512m \
-e SHELL='/bin/bash' \
-e VERBOSE='1' \
-e REPORTER='mocha-tbpl-reporter' \
-e TEST_MANIFEST='/projects/gaia/shared/test/integration/tbpl-manifest.json' \
-e NODE_MODULES_SRC='npm-cache' \
-e TEST_FILES='./apps/sms/test/marionette/share_activity_test.js' \
-e CI='true' \
${image_name}

  1. Run script;
  2. Enter /projects/gaia;
  3. Execute run-tests.
Docker Pull Command
Owner
azasypkin

Comments (0)