Skip to content
Open
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: 0 additions & 4 deletions .github/CODEOWNERS

This file was deleted.

15 changes: 6 additions & 9 deletions .github/workflows/ci.yml → .github/workflows/polymath-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.4, 2.5, 2.6]
ruby: [2.4, 2.5]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -30,16 +30,12 @@ jobs:
fail-fast: false
matrix:
os:
- centos-7
- centos-stream-8
- ubuntu-1804
- ubuntu-2004
- debian-9
- debian-10
- ubuntu-2204
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install Chef
uses: actionshub/chef-install@1.1.0
with:
Expand All @@ -52,11 +48,12 @@ jobs:
os: ${{ matrix.os }}
env:
CHEF_LICENSE: accept-no-persist
CHEF_VERSION: 14.15.6
CHEF_VERSION: 17.10.0
KITCHEN_YAML: .kitchen.polymath.yml
shellcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Run Shellcheck
uses: ludeeus/action-shellcheck@0.3.0
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ Gemfile.lock
.kitchen
.bundle
vendor
.idea/
29 changes: 29 additions & 0 deletions .kitchen.polymath.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
driver:
name: dokken
privileged: true
# our cookbooks should be compatible with the latest Chef,
# but we nee to ensure they still work on 13 until we move to 14
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>

platforms:
- name: ubuntu-20.04
driver:
image: dokken/ubuntu-20.04
pid_one_command: /bin/systemd
- name: ubuntu-22.04
driver:
image: dokken/ubuntu-22.04
pid_one_command: /bin/systemd

provisioner:
name: dokken
chef_log_level: <%= ENV['CHEF_LOG_LEVEL'] || 'auto' %>

transport:
name: dokken

suites:
- name: default
run_list:
- recipe[ci_fixes]
- recipe[fb_init_sample]
3 changes: 2 additions & 1 deletion cookbooks/fb_init_sample/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
include_recipe 'fb_hostconf'
include_recipe 'fb_sysctl'
# HERE: networking
include_recipe 'fb_users'
# MT 2023-05-18 Requires FB::Users::UID_MAP/GID_MAP to be defined
# include_recipe 'fb_users'
if node.centos?
# We turn this off because the override causes intermittent failures in
# Travis when rsyslog is restarted
Expand Down
5 changes: 4 additions & 1 deletion cookbooks/fb_systemd/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@
include_recipe 'fb_systemd::journal-remote'
include_recipe 'fb_systemd::journal-upload'
include_recipe 'fb_systemd::logind'
include_recipe 'fb_systemd::networkd'
# MT 2023-05-18 Don't try to manage networking in a container
unless node.container?
include_recipe 'fb_systemd::networkd'
end
include_recipe 'fb_systemd::resolved'
include_recipe 'fb_systemd::timesyncd'
include_recipe 'fb_systemd::boot'
Expand Down