This commit is contained in:
sfigato 2021-02-21 11:42:32 +01:00
parent 01eb16a6cd
commit 6c26a51d96
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

View File

@ -14,14 +14,15 @@ steps:
- name: cache-init_electron-ozone - name: cache-init_electron-ozone
pull: if-not-exists pull: if-not-exists
image: leophys/pikaur:0.2 image: leophys/pikaur:0.2
user: root
commands: commands:
- | - |
if ! [ "$(sudo ls -A /cache_stage/lib)" ]; then if ! [ "$(ls -A /cache_stage/lib)" ]; then
sudo cp -r /var/lib/pacman/. /cache_stage/lib/ cp -r /var/lib/pacman/. /cache_stage/lib/
fi fi
- | - |
if ! [ "$(sudo ls -A /cache_stage/cache)" ]; then if ! [ "$(ls -A /cache_stage/cache)" ]; then
sudo cp -r /var/cache/pacman/. /cache_stage/cache/ cp -r /var/cache/pacman/. /cache_stage/cache/
fi fi
volumes: volumes:
- name: lib_electron-ozone - name: lib_electron-ozone
@ -33,9 +34,8 @@ 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 "LIB =>\n$(ls -laR /var/lib/pacman)"
- sudo echo -e "CACHE =>\n$(ls /var/cache/pacman)" - sudo echo -e "CACHE =>\n$(ls -laR /var/cache/pacman)"
- sudo echo -e "ALPM =>\n$(ls /usr/lib/*alpm*)"
- /usr/bin/pikaur -Sy --noconfirm electron-ozone - /usr/bin/pikaur -Sy --noconfirm electron-ozone
volumes: volumes:
- name: build_electron-ozone - name: build_electron-ozone
@ -112,14 +112,15 @@ steps:
- name: cache-init_discord_arch_electron - name: cache-init_discord_arch_electron
pull: if-not-exists pull: if-not-exists
image: leophys/pikaur:0.2 image: leophys/pikaur:0.2
user: root
commands: commands:
- | - |
if ! [ "$(sudo ls -A /cache_stage/lib)" ]; then if ! [ "$(ls -A /cache_stage/lib)" ]; then
sudo cp -r /var/lib/pacman/. /cache_stage/lib/ cp -r /var/lib/pacman/. /cache_stage/lib/
fi fi
- | - |
if ! [ "$(sudo ls -A /cache_stage/cache)" ]; then if ! [ "$(ls -A /cache_stage/cache)" ]; then
sudo cp -r /var/cache/pacman/. /cache_stage/cache/ cp -r /var/cache/pacman/. /cache_stage/cache/
fi fi
volumes: volumes:
- name: lib_discord_arch_electron - name: lib_discord_arch_electron
@ -227,6 +228,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 3e43a82fc66685420524e9895ce96ce26335ef200c2ef1e39ae15f8b6ca563ea hmac: e726473aaac5d3a713fdf3292b9a58d34f8917fe6fc1fecaf50816c9d72280d2
... ...