mirror of
https://github.com/unman/shaker.git
synced 2024-10-01 01:25:41 -04:00
Merge branch 'builder'
This commit is contained in:
commit
6aa035dc0c
16
builder/builder-gitconfig
Normal file
16
builder/builder-gitconfig
Normal file
@ -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
|
1
builder/builder-split-gpg-config
Normal file
1
builder/builder-split-gpg-config
Normal file
@ -0,0 +1 @@
|
||||
gpg
|
9
builder/clone.sls
Normal file
9
builder/clone.sls
Normal file
@ -0,0 +1,9 @@
|
||||
include:
|
||||
- build.template-fedora-30-minimal
|
||||
|
||||
qvm-clone-id:
|
||||
qvm.clone:
|
||||
- require:
|
||||
- sls: build.template-fedora-30-minimal
|
||||
- name: template-builder
|
||||
- source: fedora-30-minimal
|
4
builder/clone.top
Normal file
4
builder/clone.top
Normal file
@ -0,0 +1,4 @@
|
||||
base:
|
||||
dom0:
|
||||
- match: nodegroup
|
||||
- build.clone
|
26
builder/config.sls
Normal file
26
builder/config.sls
Normal file
@ -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
|
3
builder/config.top
Normal file
3
builder/config.top
Normal file
@ -0,0 +1,3 @@
|
||||
base:
|
||||
builder:
|
||||
- build.config
|
30
builder/create.sls
Normal file
30
builder/create.sls
Normal file
@ -0,0 +1,30 @@
|
||||
include:
|
||||
- build.clone
|
||||
|
||||
qvm-present-id:
|
||||
qvm.present:
|
||||
- name: builder
|
||||
- template: template-builder
|
||||
- label: gray
|
||||
|
||||
qvm-prefs-id:
|
||||
qvm.prefs:
|
||||
- name: builder
|
||||
- netvm: tor
|
||||
- memory: 800
|
||||
- maxmem: 8000
|
||||
- vcpus: 4
|
||||
|
||||
qvm-features-id:
|
||||
qvm.features:
|
||||
- name: builder
|
||||
- disable:
|
||||
- service.cups
|
||||
|
||||
'qvm-volume extend builder:private 20G' :
|
||||
cmd.run
|
||||
|
||||
update_file:
|
||||
file.prepend:
|
||||
- name: /etc/qubes-rpc/policy/qubes.Gpg
|
||||
- text: builder gpg allow
|
4
builder/create.top
Normal file
4
builder/create.top
Normal file
@ -0,0 +1,4 @@
|
||||
base:
|
||||
dom0:
|
||||
- match: nodegroup
|
||||
- build.create
|
27
builder/install.sls
Normal file
27
builder/install.sls
Normal file
@ -0,0 +1,27 @@
|
||||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
|
||||
installed:
|
||||
pkg.installed:
|
||||
- pkgs:
|
||||
- qubes-core-agent-networking
|
||||
- qubes-core-agent-passwordless-root
|
||||
- qubes-gpg-split
|
||||
- reprepro
|
||||
- gnupg
|
||||
- git
|
||||
- createrepo
|
||||
- rpm-build
|
||||
- make
|
||||
- wget
|
||||
- rpmdevtools
|
||||
- python2-sh
|
||||
- dialog
|
||||
- rpm-sign
|
||||
- dpkg-dev
|
||||
- debootstrap
|
||||
- PyYAML
|
||||
- devscripts
|
||||
- perl-Digest-MD5
|
||||
- perl-Digest-SHA
|
||||
- createrepo_c
|
||||
- createrepo_c-libs
|
5
builder/install.top
Normal file
5
builder/install.top
Normal file
@ -0,0 +1,5 @@
|
||||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
|
||||
base:
|
||||
template-builder:
|
||||
- build.install
|
17
builder/template-fedora-30-minimal.sls
Normal file
17
builder/template-fedora-30-minimal.sls
Normal file
@ -0,0 +1,17 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
|
||||
##
|
||||
# qvm.template-fedora-30-minimal
|
||||
# ======================
|
||||
#
|
||||
# Installs 'fedora-30-minimal' template.
|
||||
#
|
||||
# Execute:
|
||||
# qubesctl state.sls qvm.template-fedora-30-minimal dom0
|
||||
##
|
||||
|
||||
template-fedora-30-minimal:
|
||||
pkg.installed:
|
||||
- name: qubes-template-fedora-30-minimal
|
||||
- fromrepo: qubes-templates-itl
|
Loading…
Reference in New Issue
Block a user