reflect the pipeline separation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9414b9ca82
commit
13a4d1fbd1
14
.drone.yml
14
.drone.yml
|
@ -25,9 +25,12 @@ steps:
|
|||
volumes:
|
||||
- name: shm
|
||||
path: /dev/shm
|
||||
- name: cache
|
||||
path: /run/cache
|
||||
commands:
|
||||
- mkdir -pv results/${DRONE_STAGE_NAME}/${DRONE_STEP_NAME}
|
||||
- robot -T -d results/${DRONE_STAGE_NAME}/${DRONE_STEP_NAME} test000.robot
|
||||
- cp -vR results /run/cache
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
|
@ -35,6 +38,11 @@ steps:
|
|||
depends_on:
|
||||
- reveal-env
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
host:
|
||||
path: /run/cache
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: archive
|
||||
|
@ -70,8 +78,9 @@ steps:
|
|||
- name: cache
|
||||
path: /run/cache
|
||||
commands:
|
||||
- ls -la .
|
||||
- tar cfv archives/results-${DRONE_COMMIT_SHA:0:7}.tar.zstd results --zstd
|
||||
- ls -la . ; pwd
|
||||
- mkdir -pv archives
|
||||
- tar cfv archives/results-${DRONE_COMMIT_SHA:0:7}.tar.zstd /run/cache/results --zstd
|
||||
- curl -sS https://dotya.ml/store/0x28bd2388.asc | gpg --quiet --import -
|
||||
- gpg -eR 28bd2388 --trust-model always archives/results-${DRONE_COMMIT_SHA:0:7}.tar.zstd
|
||||
- sha512sum archives/results-${DRONE_COMMIT_SHA:0:7}.tar.zstd.gpg > archives/results-${DRONE_COMMIT_SHA:0:7}.tar.zstd.gpg-SHA512SUM
|
||||
|
@ -79,6 +88,7 @@ steps:
|
|||
- ls -la archives
|
||||
- mkdir -pv /run/cache
|
||||
- cp -vR archives /run/cache
|
||||
- rm -rfv /run/cache/results
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
|
|
Loading…
Reference in New Issue