mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1163057 - Allow loopback devices to be used within tasks. r=lightsofapollo
This commit is contained in:
parent
eca369ad91
commit
bf294fee38
@ -12,17 +12,20 @@ ADD https://s3-us-west-2.amazonaws.com/test-caching/packages/linux64-
|
||||
ADD https://raw.githubusercontent.com/taskcluster/buildbot-step/master/buildbot_step /home/worker/bin/buildbot_step
|
||||
COPY tc-vcs-config.yml /etc/taskcluster-vcs.yml
|
||||
|
||||
|
||||
# Run test setup script
|
||||
RUN chmod u+x /home/worker/bin/buildbot_step
|
||||
RUN chmod u+x /usr/local/bin/linux64-minidump_stackwalk
|
||||
RUN apt-get install -y python-pip && pip install virtualenv;
|
||||
RUN mkdir Documents; mkdir Pictures; mkdir Music; mkdir Videos; mkdir artifacts
|
||||
RUN chown -R worker:worker /home/worker/* /home/worker/.*
|
||||
RUN npm install -g taskcluster-vcs@2.3.4
|
||||
RUN rm -Rf .cache && mkdir -p .cache
|
||||
ENV PATH $PATH:/home/worker/bin
|
||||
|
||||
# Remove once running under 'worker' user. This is necessary for pulseaudio to start
|
||||
# XXX: change this back to worker:worker once permissions issues are resolved
|
||||
RUN chown -R root:root /home/worker
|
||||
|
||||
|
||||
# TODO Re-enable worker when bug 1093833 lands
|
||||
#USER worker
|
||||
|
||||
|
@ -1 +1 @@
|
||||
0.2.14
|
||||
0.2.15
|
||||
|
@ -10,9 +10,10 @@ test $MOZHARNESS_REV # mozharness revision
|
||||
|
||||
# XXX: Note that all tests could be faster at smaller bit depth
|
||||
Xvfb :0 -nolisten tcp -screen 0 1600x1200x24 2>/dev/null &
|
||||
|
||||
export DISPLAY=:0
|
||||
|
||||
pulseaudio --start
|
||||
|
||||
# First check if the mozharness directory is available. This is intended to be
|
||||
# used locally in development to test mozharness changes:
|
||||
#
|
||||
|
@ -1,6 +0,0 @@
|
||||
config = {
|
||||
# Override buildbot specific exes for python and virtualenv
|
||||
"exes": {},
|
||||
# Use taskcluster specified config until Bug 1099057 lands
|
||||
"in_tree_config": "config/mozharness/taskcluster_linux_config.py"
|
||||
}
|
@ -17,8 +17,14 @@ task:
|
||||
- 'queue:create-task:aws-provisioner/test-c4-2xlarge'
|
||||
- 'docker-worker:cache:tc-vcs'
|
||||
- 'docker-worker:cache:linux-cache'
|
||||
- 'docker-worker:capability:device:loopbackVideo'
|
||||
- 'docker-worker:capability:device:loopbackAudio'
|
||||
|
||||
payload:
|
||||
capabilities:
|
||||
devices:
|
||||
loopbackVideo: true
|
||||
loopbackAudio: true
|
||||
image: '{{#docker_image}}tester{{/docker_image}}'
|
||||
maxRunTime: 3600
|
||||
cache:
|
||||
|
@ -5,7 +5,6 @@ task:
|
||||
metadata:
|
||||
name: '[TC] Mulet Mochitests ( {{chunk}} )'
|
||||
description: Mulet Mochitest run {{chunk}}
|
||||
|
||||
payload:
|
||||
command:
|
||||
- entrypoint # entrypoint ensures we are running in xvfb
|
||||
@ -13,7 +12,6 @@ task:
|
||||
python ./mozharness/scripts/desktop_unittest.py
|
||||
--no-read-buildbot-config
|
||||
--config-file ./mozharness/configs/unittests/linux_unittest.py
|
||||
--config-file ./mozharness_configs/linux_mulet_config.py
|
||||
--config-file ./mozharness_configs/remove_executables.py
|
||||
--installer-url {{build_url}}
|
||||
--test-url {{tests_url}}
|
||||
|
Loading…
Reference in New Issue
Block a user