diff --git a/builder-gitconfig b/builder-gitconfig new file mode 100644 index 0000000..887b6a2 --- /dev/null +++ b/builder-gitconfig @@ -0,0 +1,16 @@ +[user] + name = NAME + email = EMAIL + signingkey = KEY + +[credential] + helper = cache + +[commit] + gpgsign = true + +[gpg] + program = qubes-gpg-client-wrapper + +[alias] + hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short diff --git a/builder-split-gpg-config b/builder-split-gpg-config new file mode 100644 index 0000000..37ca8be --- /dev/null +++ b/builder-split-gpg-config @@ -0,0 +1 @@ +gpg diff --git a/config.sls b/config.sls new file mode 100644 index 0000000..e509116 --- /dev/null +++ b/config.sls @@ -0,0 +1,26 @@ +/home/user/.gitconfig: + file.managed: + - source: + - salt://build/builder-gitconfig + - user: user + - group: user + +/rw/config/gpg-split-domain: + file.managed: + - source: + - salt://build/builder-split-gpg-config + - user: root + - group: root + +/home/user/.rpmmacros: + file.managed: + - source: + - salt://build/builder-rpmmacros + - user: user + - group: user + +https://github.com/QubesOS/qubes-builder.git: + git.latest: + - name: https://github.com/QubesOS/qubes-builder.git + - user: user + - target: /home/user/qubes-builder diff --git a/config.top b/config.top new file mode 100644 index 0000000..4afd10d --- /dev/null +++ b/config.top @@ -0,0 +1,3 @@ +base: + builder: + - build.config