aboutsummaryrefslogtreecommitdiff
path: root/src/infrastructure/guix/system.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-01 11:21:23 -0300
committerEuAndreh <eu@euandre.org>2023-04-01 12:04:31 -0300
commitaf3075ec3d2e9e3a568e6b159a165298fa7851eb (patch)
tree38fa6158f75aa028f509641dae38139fd27b5621 /src/infrastructure/guix/system.scm
parentsystem.scm: Allow "git" to run mkdir(1) as "deployer" (diff)
downloadtoph-af3075ec3d2e9e3a568e6b159a165298fa7851eb.tar.gz
toph-af3075ec3d2e9e3a568e6b159a165298fa7851eb.tar.xz
WIP Git Guix shell
Notes
See CI logs with: git notes --ref=refs/notes/ci-logs show af3075ec3d2e9e3a568e6b159a165298fa7851eb git notes --ref=refs/notes/ci-data show af3075ec3d2e9e3a568e6b159a165298fa7851eb Exit status: 0 Duration: 18
Diffstat (limited to 'src/infrastructure/guix/system.scm')
-rw-r--r--src/infrastructure/guix/system.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/infrastructure/guix/system.scm b/src/infrastructure/guix/system.scm
index dcf781b..18fb57b 100644
--- a/src/infrastructure/guix/system.scm
+++ b/src/infrastructure/guix/system.scm
@@ -284,7 +284,7 @@
%wheel ALL= ALL
%become-deployer ALL=(deployer) NOPASSWD: ALL
%become-secrets-keeper ALL=(secrets-keeper) NOPASSWD: /run/current-system/profile/bin/rsync, /run/current-system/profile/bin/setfacl, /run/current-system/profile/bin/rm
- git ALL= NOPASSWD: /run/current-system/profile/bin/reconfigure
+ git ALL= NOPASSWD: /run/current-system/profile/bin/reconfigure, /run/current-system/profile/bin/cicd
git ALL=(deployer) NOPASSWD: /run/current-system/profile/bin/rsync, /run/current-system/profile/bin/mkdir
"#))
(packages
@@ -315,6 +315,7 @@
(list
packages:servers
(script "gc" (file "src/infrastructure/scripts/gc.sh"))
+ (script "cicd" (file "src/infrastructure/scripts/cicd.sh"))
(script "check" (file "src/infrastructure/scripts/check.sh"))
(script "backup" (file "src/infrastructure/scripts/backup.sh"))
(script "deploy" (file "src/infrastructure/scripts/deploy.sh"))