v2 example
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Malte Grosse 2023-11-29 08:48:56 +09:00
parent 1a6c92eabc
commit b4dcf6632a
1 changed files with 8 additions and 20 deletions

View File

@ -1,32 +1,20 @@
platform: linux/amd64 steps:
pipeline:
first-job: first-job:
image: busybox image: busybox
commands: commands:
- echo "ci working................. " - echo "ci working................b. "
cpu: cpu:
image: progrium/stress:latest 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: nvidia-test:
image: nvidia/cuda:11.6.2-base-ubuntu20.04 image: nvidia/cuda:11.6.2-base-ubuntu20.04
commands: commands:
- nvidia-smi - nvidia-smi
environment:
- NVIDIA_VISIBLE_DEVICES=all
gpu: gpu:
image: oguzpastirmaci/gpu-burn:latest image: oguzpastirmaci/gpu-burn:latest
environment:
- NVIDIA_VISIBLE_DEVICES=all
commands: commands:
- cd /app - cd /app
- ./gpu_burn 120 - ./gpu_burn 60
- echo "burned. done" - echo "burned. done"
# 2nd:
# image: oguzpastirmaci/gpu-burn:latest
# environment:
# - NVIDIA_VISIBLE_DEVICES=all
# commands:
# - ./gpu_burn 60