2023-01-17 15:56:34 +00:00
|
|
|
platform: linux/amd64
|
2023-01-17 15:51:35 +00:00
|
|
|
pipeline:
|
|
|
|
first-job:
|
|
|
|
image: busybox
|
|
|
|
commands:
|
2023-01-18 13:19:48 +00:00
|
|
|
- echo "ci working........... "
|
2023-01-19 07:36:27 +00:00
|
|
|
cpu:
|
|
|
|
image: progrium/stress:latest
|
|
|
|
commands: /usr/bin/stress --cpu 14 --io 1 --vm 2 --vm-bytes 128M --timeout 30s
|
2023-01-18 09:21:16 +00:00
|
|
|
nvidia-test:
|
|
|
|
image: nvidia/cuda:11.6.2-base-ubuntu20.04
|
|
|
|
commands:
|
|
|
|
- nvidia-smi
|
|
|
|
environment:
|
|
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
2023-01-17 18:13:08 +00:00
|
|
|
gpu:
|
|
|
|
image: oguzpastirmaci/gpu-burn:latest
|
|
|
|
environment:
|
|
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
|
|
|
commands:
|
2023-01-17 18:13:57 +00:00
|
|
|
- cd /app
|
2023-01-17 18:13:08 +00:00
|
|
|
- ./gpu_burn 120
|
2023-01-19 07:43:07 +00:00
|
|
|
- echo "burned. done"
|
2023-01-18 09:21:16 +00:00
|
|
|
|
2023-01-17 17:44:05 +00:00
|
|
|
# 2nd:
|
|
|
|
# image: oguzpastirmaci/gpu-burn:latest
|
|
|
|
# environment:
|
|
|
|
# - NVIDIA_VISIBLE_DEVICES=all
|
|
|
|
# commands:
|
|
|
|
# - ./gpu_burn 60
|
2023-01-17 18:13:08 +00:00
|
|
|
|
2023-01-19 07:36:27 +00:00
|
|
|
|