mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-17 10:10:27 +00:00
feat(gentoo): add support and CI
This commit is contained in:
parent
bd17a49de0
commit
534a1f6f2b
4 changed files with 77 additions and 0 deletions
26
kitchen.yml
26
kitchen.yml
|
@ -47,6 +47,13 @@ platforms:
|
||||||
- name: oraclelinux-8-master-py3
|
- name: oraclelinux-8-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-master-py3:oraclelinux-8
|
image: saltimages/salt-master-py3:oraclelinux-8
|
||||||
|
- name: gentoo-stage3-latest-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:gentoo-stage3-latest
|
||||||
|
run_command: /sbin/init
|
||||||
|
- name: gentoo-stage3-systemd-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:gentoo-stage3-systemd
|
||||||
|
|
||||||
## SALT `3000.3`
|
## SALT `3000.3`
|
||||||
- name: debian-10-3000-3-py3
|
- name: debian-10-3000-3-py3
|
||||||
|
@ -359,3 +366,22 @@ suites:
|
||||||
verifier:
|
verifier:
|
||||||
inspec_tests:
|
inspec_tests:
|
||||||
- path: test/integration/default
|
- path: test/integration/default
|
||||||
|
- name: gentoo
|
||||||
|
includes:
|
||||||
|
- gentoo-stage3-latest-master-py3
|
||||||
|
- gentoo-stage3-systemd-master-py3
|
||||||
|
provisioner:
|
||||||
|
state_top:
|
||||||
|
base:
|
||||||
|
'*':
|
||||||
|
- packages
|
||||||
|
pillars:
|
||||||
|
top.sls:
|
||||||
|
base:
|
||||||
|
'*':
|
||||||
|
- packages
|
||||||
|
pillars_from_files:
|
||||||
|
packages.sls: test/salt/pillar/gentoo.sls
|
||||||
|
verifier:
|
||||||
|
inspec_tests:
|
||||||
|
- path: test/integration/default
|
||||||
|
|
|
@ -54,6 +54,11 @@ when 'linux'
|
||||||
platform_packages = %w[ruby]
|
platform_packages = %w[ruby]
|
||||||
held_packages = {}
|
held_packages = {}
|
||||||
lock_file = ''
|
lock_file = ''
|
||||||
|
when 'gentoo'
|
||||||
|
# Empty for now: The `package` resource is not supported on your OS yet.
|
||||||
|
platform_packages = %w[]
|
||||||
|
held_packages = {}
|
||||||
|
lock_file = ''
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -20,3 +20,4 @@ supports:
|
||||||
- platform-name: amazon
|
- platform-name: amazon
|
||||||
- platform-name: oracle
|
- platform-name: oracle
|
||||||
- platform-name: arch
|
- platform-name: arch
|
||||||
|
- platform-name: gentoo
|
||||||
|
|
45
test/salt/pillar/gentoo.sls
Normal file
45
test/salt/pillar/gentoo.sls
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vim: ft=yaml
|
||||||
|
---
|
||||||
|
packages:
|
||||||
|
pkgs:
|
||||||
|
held:
|
||||||
|
- app-arch/alien
|
||||||
|
- sys-process/iotop
|
||||||
|
wanted:
|
||||||
|
- net-analyzer/netcat
|
||||||
|
- dev-lang/ruby
|
||||||
|
- dev-vcs/git
|
||||||
|
- sys-apps/less
|
||||||
|
- sys-devel/bc
|
||||||
|
- net-misc/curl
|
||||||
|
# - net-analyzer/fail2ban
|
||||||
|
unwanted:
|
||||||
|
- net-dns/avahi
|
||||||
|
required:
|
||||||
|
pkgs:
|
||||||
|
- dev-vcs/git
|
||||||
|
pips:
|
||||||
|
### Not working:
|
||||||
|
### ERROR: (Gentoo) Please run pip with the --user option to avoid
|
||||||
|
### breaking python-exec
|
||||||
|
# wanted:
|
||||||
|
# - attrs
|
||||||
|
unwanted:
|
||||||
|
- campbel
|
||||||
|
- reverse_geocode
|
||||||
|
- indy-crypto
|
||||||
|
gems:
|
||||||
|
wanted:
|
||||||
|
- progressbar
|
||||||
|
- minitest
|
||||||
|
unwanted:
|
||||||
|
- diff-lcs
|
||||||
|
- kitchen-vagrant
|
||||||
|
- kwalify
|
||||||
|
# remote_pkgs:
|
||||||
|
# zoom: 'https://zoom.us/client/latest/zoom_x86_64.tar.xz'
|
||||||
|
|
||||||
|
# Override the default setting to prevent wasteful delays in Travis
|
||||||
|
retry_options:
|
||||||
|
attempts: 1
|
Loading…
Add table
Reference in a new issue