mirror of
https://github.com/servo/servo.git
synced 2025-07-29 18:20:24 +01:00
Run a Python file
This commit is contained in:
parent
59b6e7b5b9
commit
f559fcb5dc
2 changed files with 4 additions and 5 deletions
|
@ -12,12 +12,12 @@ tasks:
|
||||||
metadata:
|
metadata:
|
||||||
name: "Taskcluster experiments for Servo"
|
name: "Taskcluster experiments for Servo"
|
||||||
description: "Initial task"
|
description: "Initial task"
|
||||||
owner: ${event.pusher.email}
|
owner: ${event.pusher.name}@users.noreply.github.com
|
||||||
source: ${event.compare}
|
source: ${event.compare}
|
||||||
|
|
||||||
payload:
|
payload:
|
||||||
maxRunTime: 600
|
maxRunTime: 600
|
||||||
image: "node:8"
|
image: "buildpack-deps:bionic-scm"
|
||||||
features:
|
features:
|
||||||
taskclusterProxy: true
|
taskclusterProxy: true
|
||||||
command:
|
command:
|
||||||
|
@ -28,6 +28,4 @@ tasks:
|
||||||
git clone ${event.repository.clone_url} repo &&
|
git clone ${event.repository.clone_url} repo &&
|
||||||
cd repo &&
|
cd repo &&
|
||||||
git checkout ${event.after} &&
|
git checkout ${event.after} &&
|
||||||
echo "Hello World!" &&
|
python2.7 task.py
|
||||||
sleep 120 &&
|
|
||||||
ls -a
|
|
||||||
|
|
1
task.py
Normal file
1
task.py
Normal file
|
@ -0,0 +1 @@
|
||||||
|
print("Hello, World!")
|
Loading…
Add table
Add a link
Reference in a new issue