From ca2071e7cad520d2d1d8ac431d0e07a55c5522fa Mon Sep 17 00:00:00 2001 From: Malte Grosse Date: Tue, 28 Nov 2023 23:00:30 +0900 Subject: [PATCH] last --- .woodpecker.yml | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 3a6a7de..15ab4ec 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,38 +3,19 @@ steps: image: busybox commands: - echo "ci working................b. " - # cpu: - # image: progrium/stress:latest - # commands: /usr/bin/stress --cpu 20 --io 1 --vm 2 --vm-bytes 128M --timeout 90s + cpu: + image: progrium/stress:latest + commands: /usr/bin/stress --cpu 20 --io 1 --vm 2 --vm-bytes 128M --timeout 60s nvidia-test: image: nvidia/cuda:11.6.2-base-ubuntu20.04 commands: - nvidia-smi -# backend_options: -# kubernetes: -# resources: -# limits: -# nvidia.com/mig-2g.20gb: 1 - gpu: image: oguzpastirmaci/gpu-burn:latest - # environment: - # - NVIDIA_VISIBLE_DEVICES=all + commands: - cd /app - - ./gpu_burn 120 + - ./gpu_burn 60 - echo "burned. done" -# backend_options: -# kubernetes: -# resources: -# requests: -# limits: -# nvidia.com/mig-2g.20gb: 1 -# 2nd: -# image: oguzpastirmaci/gpu-burn:latest -# environment: -# - NVIDIA_VISIBLE_DEVICES=all -# commands: -# - ./gpu_burn 60