From 4a3095625c68f3e6f52357dc984066c349934a72 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Mon, 4 Mar 2019 13:19:03 +0700 Subject: [PATCH] Add resource limits for Drone k8s jobs --- .drone.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index e4b651d..8df7c96 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,9 +1,13 @@ kind: pipeline -name: default +name: test steps: -- name: tests - image: colthreepv/node-chrome:8 - commands: - - npm install - - npm test + - name: test + image: colthreepv/node-chrome:8 + commands: + - npm install + - npm test + resources: + limits: + cpu: 500m + memory: 500Mi