From b4dcf6632a8d1bcf6761ea74b1c7a81a915b4d59 Mon Sep 17 00:00:00 2001 From: Malte Grosse Date: Wed, 29 Nov 2023 08:48:56 +0900 Subject: [PATCH] v2 example --- .woodpecker.yml | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 0ad9d45..f7ef3b8 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,32 +1,20 @@ -platform: linux/amd64 -pipeline: +steps: first-job: image: busybox commands: - - echo "ci working................. " + - echo "ci working................b. " cpu: image: progrium/stress:latest - commands: /usr/bin/stress --cpu 20 --io 1 --vm 2 --vm-bytes 128M --timeout 90s + 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 - environment: - - NVIDIA_VISIBLE_DEVICES=all + image: nvidia/cuda:11.6.2-base-ubuntu20.04 + commands: + - nvidia-smi gpu: image: oguzpastirmaci/gpu-burn:latest - environment: - - NVIDIA_VISIBLE_DEVICES=all + commands: - cd /app - - ./gpu_burn 120 + - ./gpu_burn 60 - echo "burned. done" -# 2nd: -# image: oguzpastirmaci/gpu-burn:latest -# environment: -# - NVIDIA_VISIBLE_DEVICES=all -# commands: -# - ./gpu_burn 60 - -