Fix permissions

master
blallo 2021-02-21 15:44:40 +01:00
parent a836798eeb
commit 9ea6f296de
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
1 changed files with 40 additions and 1 deletions

View File

@ -32,6 +32,7 @@ steps:
if ! [ "$(ls -A /cache_stage/usr)" ]; then
cp -r /usr/. /cache_stage/usr/
fi
- getfacl -R / > /drone/permissions.acl
volumes:
- name: etc_electron-ozone
path: /cache_stage/etc
@ -42,6 +43,24 @@ steps:
- name: usr_electron-ozone
path: /cache_stage/usr
- name: cache-acl_electron-ozone
pull: if-not-exists
image: leophys/pikaur:0.2
user: root
commands:
- setfacl --restore=/drone/permissions.acl
volumes:
- name: build_electron-ozone
path: /build
- name: etc_electron-ozone
path: /etc
- name: opt_electron-ozone
path: /opt
- name: var_electron-ozone
path: /var
- name: usr_electron-ozone
path: /usr
- name: build_electron-ozone
pull: if-not-exists
image: leophys/pikaur:0.2
@ -150,6 +169,7 @@ steps:
if ! [ "$(ls -A /cache_stage/usr)" ]; then
cp -r /usr/. /cache_stage/usr/
fi
- getfacl -R / > /drone/permissions.acl
volumes:
- name: etc_discord_arch_electron
path: /cache_stage/etc
@ -160,6 +180,25 @@ steps:
- name: usr_discord_arch_electron
path: /cache_stage/usr
- name: cache-acl_discord_arch_electron
pull: if-not-exists
image: leophys/pikaur:0.2
user: root
commands:
- setfacl --restore=/drone/permissions.acl
volumes:
- name: build_discord_arch_electron
path: /build
- name: etc_discord_arch_electron
path: /etc
- name: opt_discord_arch_electron
path: /opt
- name: var_discord_arch_electron
path: /var
- name: usr_discord_arch_electron
path: /usr
- name: build_discord_arch_electron
pull: if-not-exists
image: leophys/pikaur:0.2
@ -270,6 +309,6 @@ depends_on:
---
kind: signature
hmac: 720f1a9636388188fae98490e8ea9927c5afee40a0bf24ccf6133ecea7930e9b
hmac: b46825c8463c24fdbf50f23a320c77710eaf88b592634b5e498d17bb492d17f7
...