From f559fcb5dc51a3785914cbe75729f111dba46949 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Fri, 17 Aug 2018 17:53:18 +0200 Subject: [PATCH] Run a Python file --- .taskcluster.yml | 8 +++----- task.py | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 task.py diff --git a/.taskcluster.yml b/.taskcluster.yml index 3e6823f1b74..755ab8b7454 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -12,12 +12,12 @@ tasks: metadata: name: "Taskcluster experiments for Servo" description: "Initial task" - owner: ${event.pusher.email} + owner: ${event.pusher.name}@users.noreply.github.com source: ${event.compare} payload: maxRunTime: 600 - image: "node:8" + image: "buildpack-deps:bionic-scm" features: taskclusterProxy: true command: @@ -28,6 +28,4 @@ tasks: git clone ${event.repository.clone_url} repo && cd repo && git checkout ${event.after} && - echo "Hello World!" && - sleep 120 && - ls -a + python2.7 task.py diff --git a/task.py b/task.py new file mode 100644 index 00000000000..7df869a15e7 --- /dev/null +++ b/task.py @@ -0,0 +1 @@ +print("Hello, World!")