mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-16 01:30:22 +00:00
ci(inspec): fix Debian tests
This commit is contained in:
parent
3615785e52
commit
98c6d2c9ba
3 changed files with 12 additions and 3 deletions
|
@ -134,6 +134,11 @@ verifier:
|
||||||
|
|
||||||
suites:
|
suites:
|
||||||
- name: default
|
- name: default
|
||||||
|
includes:
|
||||||
|
- debian-10-develop-py3
|
||||||
|
- debian-9-2019-2-py3
|
||||||
|
- debian-9-2018-3-py2
|
||||||
|
- debian-8-2017-7-py2
|
||||||
provisioner:
|
provisioner:
|
||||||
state_top:
|
state_top:
|
||||||
base:
|
base:
|
||||||
|
@ -149,3 +154,4 @@ suites:
|
||||||
verifier:
|
verifier:
|
||||||
inspec_tests:
|
inspec_tests:
|
||||||
- path: test/integration/default
|
- path: test/integration/default
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
packages:
|
packages:
|
||||||
pkgs:
|
pkgs:
|
||||||
# A dict of "package: version" pairs:
|
# A dict of "package: version" pairs:
|
||||||
held:
|
# held:
|
||||||
alien: 8.95
|
# alien: 8.95
|
||||||
iotop: 0.6-2
|
# iotop: 0.6-24
|
||||||
|
|
||||||
# Alternativelly, held packages can also be specified as a list with
|
# Alternativelly, held packages can also be specified as a list with
|
||||||
# no versions. In this case, the package will be held in the installed
|
# no versions. In this case, the package will be held in the installed
|
||||||
|
|
|
@ -43,6 +43,9 @@ when 'debian', 'ubuntu'
|
||||||
lock_file = '/var/lib/dpkg/status'
|
lock_file = '/var/lib/dpkg/status'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
## FIXME - not testing Held packages
|
||||||
|
held_packages = {}
|
||||||
|
|
||||||
unheld_packages = (common_packages + os_packages).flatten.uniq
|
unheld_packages = (common_packages + os_packages).flatten.uniq
|
||||||
all_packages = (unheld_packages + held_packages.keys.map { |k| k.to_s }).flatten.uniq
|
all_packages = (unheld_packages + held_packages.keys.map { |k| k.to_s }).flatten.uniq
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue