unip-controller/tests/data/resources/pu-user1/apps/app2/exp-pipeline8.yaml
2025-04-15 20:56:15 +03:00

53 lines
1.6 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ============================================================
# Система: Единая библиотека, Центр ИИ НИУ ВШЭ
# Модуль: Тесты
# Авторы: Полежаев В.А., Хританков А.С.
# Дата создания: 2024 г.
# ============================================================
apiVersion: "unified-platform.cs.hse.ru/v1"
kind: ExperimentPipeline
metadata:
name: test-ep8
namespace: pu-user1-pa-app2
spec:
vars:
- name: input1
- name: output1
stages:
- name: stage1
image:
existingImageName: platform-reg.stratpro.hse.ru/pu-user1/test-model1:1.0.0-c25bfce
inputs:
- name: input1
outputs:
- name: output1
entryPoint:
cmd:
- bash
- -c
- >-
echo "input1 $UNIP_PIPELINE_INPUT1"
&& echo "ls -al input1"
&& ls -al "$UNIP_PIPELINE_INPUT1"
&& echo "echo test> output1/data.txt"
&& echo "test" > "$UNIP_PIPELINE_OUTPUT1/data.txt"
&& echo "cat input1 >> output1/data.txt"
&& cat "$UNIP_PIPELINE_INPUT1" >> "$UNIP_PIPELINE_OUTPUT1/data.txt"
&& echo "output1 $UNIP_PIPELINE_OUTPUT1"
&& echo "cat output1/data.txt"
&& cat "$UNIP_PIPELINE_OUTPUT1/data.txt"
resourceLimits:
cpu: 500m
memory: 128M
env:
- name: VAR1
value: "100"
connectedBoxes:
- name: user_data
path: /data
default: true
mountS3Box:
s3BoxName: test-app2-user-data
continueWith:
name: test-ep9