Fix permissions
This commit is contained in:
parent
a836798eeb
commit
9ea6f296de
41
.drone.yml
41
.drone.yml
|
@ -32,6 +32,7 @@ steps:
|
||||||
if ! [ "$(ls -A /cache_stage/usr)" ]; then
|
if ! [ "$(ls -A /cache_stage/usr)" ]; then
|
||||||
cp -r /usr/. /cache_stage/usr/
|
cp -r /usr/. /cache_stage/usr/
|
||||||
fi
|
fi
|
||||||
|
- getfacl -R / > /drone/permissions.acl
|
||||||
volumes:
|
volumes:
|
||||||
- name: etc_electron-ozone
|
- name: etc_electron-ozone
|
||||||
path: /cache_stage/etc
|
path: /cache_stage/etc
|
||||||
|
@ -42,6 +43,24 @@ steps:
|
||||||
- name: usr_electron-ozone
|
- name: usr_electron-ozone
|
||||||
path: /cache_stage/usr
|
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
|
- name: build_electron-ozone
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: leophys/pikaur:0.2
|
image: leophys/pikaur:0.2
|
||||||
|
@ -150,6 +169,7 @@ steps:
|
||||||
if ! [ "$(ls -A /cache_stage/usr)" ]; then
|
if ! [ "$(ls -A /cache_stage/usr)" ]; then
|
||||||
cp -r /usr/. /cache_stage/usr/
|
cp -r /usr/. /cache_stage/usr/
|
||||||
fi
|
fi
|
||||||
|
- getfacl -R / > /drone/permissions.acl
|
||||||
volumes:
|
volumes:
|
||||||
- name: etc_discord_arch_electron
|
- name: etc_discord_arch_electron
|
||||||
path: /cache_stage/etc
|
path: /cache_stage/etc
|
||||||
|
@ -160,6 +180,25 @@ steps:
|
||||||
- name: usr_discord_arch_electron
|
- name: usr_discord_arch_electron
|
||||||
path: /cache_stage/usr
|
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
|
- name: build_discord_arch_electron
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: leophys/pikaur:0.2
|
image: leophys/pikaur:0.2
|
||||||
|
@ -270,6 +309,6 @@ depends_on:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 720f1a9636388188fae98490e8ea9927c5afee40a0bf24ccf6133ecea7930e9b
|
hmac: b46825c8463c24fdbf50f23a320c77710eaf88b592634b5e498d17bb492d17f7
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user