This commit is contained in:
sfigato 2021-02-21 11:32:56 +01:00
parent 7103e73a07
commit 2f3d9b9956
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

View File

@ -15,16 +15,13 @@ steps:
pull: if-not-exists pull: if-not-exists
image: leophys/pikaur:0.2 image: leophys/pikaur:0.2
commands: commands:
- sudo echo -e "LIB =>\n$(ls /var/lib/pacman)"
- sudo echo -e "CACHE =>\n$(ls /var/cache/pacman)"
- sudo echo -e "ALPM =>\n$(ls /usr/lib/*alpm*)"
- | - |
if ! [ "$(sudo ls -A /cache_stage/lib)" ]; then if ! [ "$(sudo ls -A /cache_stage/lib)" ]; then
sudo cp -r /var/lib/pacman /drone/lib_pacman sudo cp -r /var/lib/pacman /cache_stage/lib
fi fi
- | - |
if ! [ "$(sudo ls -A /cache_stage/cache)" ]; then if ! [ "$(sudo ls -A /cache_stage/cache)" ]; then
sudo cp -r /var/cache/pacman /drone/cache_pacman sudo cp -r /var/cache/pacman /cache_stage/cache
fi fi
volumes: volumes:
- name: lib_electron-ozone - name: lib_electron-ozone
@ -118,11 +115,11 @@ steps:
commands: commands:
- | - |
if ! [ "$(sudo ls -A /cache_stage/lib)" ]; then if ! [ "$(sudo ls -A /cache_stage/lib)" ]; then
sudo cp -r /var/lib/pacman /drone/lib_pacman sudo cp -r /var/lib/pacman /cache_stage/lib
fi fi
- | - |
if ! [ "$(sudo ls -A /cache_stage/cache)" ]; then if ! [ "$(sudo ls -A /cache_stage/cache)" ]; then
sudo cp -r /var/cache/pacman /drone/cache_pacman sudo cp -r /var/cache/pacman /cache_stage/cache
fi fi
volumes: volumes:
- name: lib_discord_arch_electron - name: lib_discord_arch_electron
@ -230,6 +227,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 03ace5f5e26acf37d780e481d43aff4956ad477b1e9482241b03cf8e5a1cbe7a hmac: be5a7ed5a266edc713b13c4076f5ee5cf117011384e42da7654284a70ed3db3c
... ...