mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-18 12:24:33 -05:00
ba5b4813f2
The state module git.latest does not allow setting environment variable for us to set the correct GNUPGHOME. The module environ.set does not work as we call git as the normal user and not as root, but may still be the problem of git.latest not respecting environment variables. The problem with always pulling new commits is that it may conflict with the current work the user has done on the repository locally. It will also not work in case the last commit is not signed by a trusted key deployed by the formula, in this case, you should add the key manually to verify the commit. Setting the gpg.program only for the required repositories solves the aforementioned problem and also enhances usability by removing extra commands that the user needs to learn and remember. Fixes: https://github.com/ben-grande/qusal/issues/58
79 lines
1.8 KiB
Plaintext
79 lines
1.8 KiB
Plaintext
{#
|
|
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
#}
|
|
|
|
{% if grains['nodename'] != 'dom0' -%}
|
|
|
|
include:
|
|
- utils.tools.common.update
|
|
- dotfiles.copy-git
|
|
- dotfiles.copy-net
|
|
- dotfiles.copy-pgp
|
|
- dotfiles.copy-sh
|
|
- dotfiles.copy-ssh
|
|
- dotfiles.copy-x11
|
|
- sys-git.install-client
|
|
- sys-pgp.install-client
|
|
- sys-ssh-agent.install-client
|
|
- docker.install
|
|
- .install-qubes-executor
|
|
|
|
"{{ slsdotpath }}-installed":
|
|
pkg.installed:
|
|
- require:
|
|
- sls: utils.tools.common.update
|
|
- install_recommends: False
|
|
- skip_suggestions: True
|
|
- pkgs:
|
|
## Goodies
|
|
- rpmautospec
|
|
- rpmlint
|
|
- vim-enhanced
|
|
## Minimal template dependencies
|
|
- qubes-core-agent-networking
|
|
- qubes-core-agent-passwordless-root
|
|
## Undocumented Infraestructure Mirrors dependencies
|
|
- python3-lxml
|
|
## Undocumented Builder dependencies
|
|
- python3-click
|
|
## Dependencies: https://github.com/QubesOS/qubes-builderv2#dependencies
|
|
- asciidoc
|
|
- createrepo_c
|
|
- devscripts
|
|
- m4
|
|
- mktorrent
|
|
- mock
|
|
- openssl
|
|
- pacman
|
|
- podman
|
|
- python3-docker
|
|
- python3-jinja2-cli
|
|
- python3-packaging
|
|
- python3-pathspec
|
|
- python3-podman
|
|
- python3-pyyaml
|
|
- reprepro
|
|
- rpm
|
|
- rpm-sign
|
|
- rsync
|
|
- tree
|
|
|
|
"{{ slsdotpath }}-add-user-to-mock-group":
|
|
group.present:
|
|
- name: mock
|
|
- addusers:
|
|
- user
|
|
|
|
"{{ slsdotpath }}-add-gpg-program-verify-git-commits-using-builder-keyring":
|
|
file.managed:
|
|
- name: /usr/bin/gpg-qubes-builder
|
|
- source: salt://{{ slsdotpath }}/files/client/bin/gpg-qubes-builder
|
|
- user: root
|
|
- group: root
|
|
- mode: '0755'
|
|
- makedirs: True
|
|
|
|
{% endif -%}
|