feat(gentoo): add support and CI

This commit is contained in:
Imran Iqbal 2021-02-10 14:56:43 +00:00
parent bd17a49de0
commit 534a1f6f2b
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819
4 changed files with 77 additions and 0 deletions

View file

@ -47,6 +47,13 @@ platforms:
- name: oraclelinux-8-master-py3
driver:
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`
- name: debian-10-3000-3-py3
@ -359,3 +366,22 @@ suites:
verifier:
inspec_tests:
- 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

View file

@ -54,6 +54,11 @@ when 'linux'
platform_packages = %w[ruby]
held_packages = {}
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

View file

@ -20,3 +20,4 @@ supports:
- platform-name: amazon
- platform-name: oracle
- platform-name: arch
- platform-name: gentoo

View 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