zCore/.devops/test.yml

34 lines
605 B
YAML

version: 2
name: test
description: ""
global:
concurrent: false
workflow:
- ref: start
name: 开始
task: start
- ref: shell_0
name: shell
on-failure: ignore
image: ubuntu:22.10
env:
TZ: '"Asia/Shanghai"'
script:
- echo $JM_SHARE_DIR
- cd $JM_SHARE_DIR
- date
- echo "${TZ}" > /etc/timezone
- ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime
- apt update
- apt install -y tzdata
- date
- apt search ca-certificates
needs:
- start
- ref: end
name: 结束
task: end
needs:
- shell_0