master
blallo 2021-02-21 11:25:52 +01:00
parent 5a083230b4
commit 152f079c42
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
1 changed files with 40 additions and 4 deletions

View File

@ -8,9 +8,27 @@ platform:
arch: amd64
workspace:
base: /src
path: /drone
steps:
- name: cache-init_electron-ozone
pull: if-not-exists
image: leophys/pikaur:0.2
commands:
- |
if ![ "$(sudo ls -A /cache_stage/lib)" ]; then
sudo cp -r /var/lib/pacman /drone/lib_pacman
fi
- |
if ![ "$(sudo ls -A /cache_stage/cache)" ]; then
sudo cp -r /var/cache/pacman /drone/cache_pacman
fi
volumes:
- name: lib_electron-ozone
path: /cache_stage/lib
- name: cache_electron-ozone
path: /cache_stage/cache
- name: build_electron-ozone
pull: if-not-exists
image: leophys/pikaur:0.2
@ -88,10 +106,28 @@ platform:
arch: amd64
workspace:
base: /src
path: /drone
steps:
- name: build_electron-ozone
- name: cache-init_discord_arch_electron
pull: if-not-exists
image: leophys/pikaur:0.2
commands:
- |
if ![ "$(sudo ls -A /cache_stage/lib)" ]; then
sudo cp -r /var/lib/pacman /drone/lib_pacman
fi
- |
if ![ "$(sudo ls -A /cache_stage/cache)" ]; then
sudo cp -r /var/cache/pacman /drone/cache_pacman
fi
volumes:
- name: lib_discord_arch_electron
path: /cache_stage/lib
- name: cache_discord_arch_electron
path: /cache_stage/cache
- name: build_discord_arch_electron
pull: if-not-exists
image: leophys/pikaur:0.2
commands:
@ -191,6 +227,6 @@ depends_on:
---
kind: signature
hmac: 328629f24cfd6ba55c31f13b51c7c1c20c120284acaa5834275fda4cba0bbca6
hmac: 03ace5f5e26acf37d780e481d43aff4956ad477b1e9482241b03cf8e5a1cbe7a
...