Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Gentoo support #488

Merged
merged 1 commit into from
Oct 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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