Skip to content

Commit

Permalink
feat: add Gentoo support
Browse files Browse the repository at this point in the history
* Semi-automated using myii/ssf-formula#269
  • Loading branch information
myii committed Oct 12, 2020
1 parent 22fa616 commit 127c5d7
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:
# - env: INSTANCE=v3001-py3-amazonlinux-2-3001-py3
- env: INSTANCE=v3001-py3-oraclelinux-8-3001-py3
# - env: INSTANCE=v3001-py3-oraclelinux-7-3001-py3
- env: INSTANCE=v3001-py3-gentoo-stage3-latest-3001-py3
- env: INSTANCE=v3001-py3-gentoo-stage3-systemd-3001-py3
# - env: INSTANCE=v3000-py3-debian-10-3000-3-py3
# - env: INSTANCE=v3000-py3-debian-9-3000-3-py3
# - env: INSTANCE=v3000-py3-ubuntu-1804-3000-3-py3
Expand All @@ -96,6 +98,8 @@ jobs:
- env: INSTANCE=v3000-py3-oraclelinux-7-3000-3-py3
- env: INSTANCE=v3000-py2-ubuntu-1804-3000-3-py2
# - env: INSTANCE=v3000-py2-ubuntu-1604-3000-3-py2
# - env: INSTANCE=v3000-py3-gentoo-stage3-latest-3000-3-py3
# - env: INSTANCE=v3000-py3-gentoo-stage3-systemd-3000-3-py3
# - env: INSTANCE=v201902-py3-debian-10-2019-2-py3
- env: INSTANCE=v201902-py3-debian-9-2019-2-py3
# - env: INSTANCE=v201902-py3-ubuntu-1804-2019-2-py3
Expand Down
18 changes: 18 additions & 0 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ platforms:
- name: oraclelinux-7-3001-py3
driver:
image: saltimages/salt-3001-py3:oraclelinux-7
- name: gentoo-stage3-latest-3001-py3
driver:
image: saltimages/salt-3001-py3:gentoo-stage3-latest
run_command: /sbin/init
- name: gentoo-stage3-systemd-3001-py3
driver:
image: saltimages/salt-3001-py3:gentoo-stage3-systemd

## SALT `3000.3`
- name: debian-10-3000-3-py3
Expand Down Expand Up @@ -96,6 +103,13 @@ platforms:
- name: ubuntu-1604-3000-3-py2
driver:
image: saltimages/salt-3000.3-py2:ubuntu-16.04
- name: gentoo-stage3-latest-3000-3-py3
driver:
image: saltimages/salt-3000.3-py3:gentoo-stage3-latest
run_command: /sbin/init
- name: gentoo-stage3-systemd-3000-3-py3
driver:
image: saltimages/salt-3000.3-py3:gentoo-stage3-systemd

## SALT `2019.2`
- name: debian-10-2019-2-py3
Expand Down Expand Up @@ -172,6 +186,8 @@ suites:
- amazonlinux-2-3001-py3
- oraclelinux-8-3001-py3
- oraclelinux-7-3001-py3
- gentoo-stage3-latest-3001-py3
- gentoo-stage3-systemd-3001-py3
provisioner:
state_top:
base:
Expand Down Expand Up @@ -203,6 +219,8 @@ suites:
- amazonlinux-2-3000-3-py3
- oraclelinux-8-3000-3-py3
- oraclelinux-7-3000-3-py3
- gentoo-stage3-latest-3000-3-py3
- gentoo-stage3-systemd-3000-3-py3
provisioner:
state_top:
base:
Expand Down
1 change: 1 addition & 0 deletions test/integration/v201902-py2/inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ supports:
- platform-name: amazon
- platform-name: oracle
- platform-name: arch
- platform-name: gentoo
1 change: 1 addition & 0 deletions test/integration/v201902-py3/inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ supports:
- platform-name: amazon
- platform-name: oracle
- platform-name: arch
- platform-name: gentoo
1 change: 1 addition & 0 deletions test/integration/v3000-py2/inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ supports:
- platform-name: amazon
- platform-name: oracle
- platform-name: arch
- platform-name: gentoo
1 change: 1 addition & 0 deletions test/integration/v3000-py3/inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ supports:
- platform-name: amazon
- platform-name: oracle
- platform-name: arch
- platform-name: gentoo
- platform: windows
1 change: 1 addition & 0 deletions test/integration/v3001-py3/inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ supports:
- platform-name: amazon
- platform-name: oracle
- platform-name: arch
- platform-name: gentoo
4 changes: 4 additions & 0 deletions test/salt/pillar/salt.sls
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ salt:
pillar_roots:
base:
- /srv/pillar

# Gentoo-specific, improves performance for subsequent test runs within the same day
portage:
sync_wait_one_day: true

0 comments on commit 127c5d7

Please sign in to comment.