-
-
Notifications
You must be signed in to change notification settings - Fork 792
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into automated/standardfiles
- Loading branch information
Showing
10 changed files
with
63 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ name: ci | |
|
||
jobs: | ||
lint-unit: | ||
uses: sous-chefs/.github/.github/workflows/lint-unit.yml@bd438e6f5861a5b7ac15e6fe7d10222a4bc296be | ||
uses: sous-chefs/.github/.github/workflows/lint-unit.yml@main | ||
permissions: | ||
actions: write | ||
checks: write | ||
|
@@ -30,6 +30,7 @@ jobs: | |
- "rockylinux-9" | ||
- "ubuntu-2004" | ||
- "ubuntu-2204" | ||
- "ubuntu-2404" | ||
suite: | ||
- "installation-script-main" | ||
- "installation-script-test" | ||
|
@@ -72,7 +73,7 @@ jobs: | |
|
||
integration-amazonlinux: | ||
needs: lint-unit | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
strategy: | ||
matrix: | ||
os: | ||
|
@@ -99,25 +100,32 @@ jobs: | |
|
||
integration-smoke: | ||
needs: lint-unit | ||
runs-on: macos-latest | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
os: | ||
- "almalinux-8" | ||
- "centos-7" | ||
- "centos-stream-8" | ||
- "debian-10" | ||
- "almalinux-9" | ||
- "debian-11" | ||
- "debian-12" | ||
- "rockylinux-8" | ||
- "ubuntu-1804" | ||
- "rockylinux-9" | ||
- "ubuntu-2004" | ||
- "ubuntu-2204" | ||
- "ubuntu-2404" | ||
suite: | ||
- "smoke" | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
- name: Install VirtualBox & Vagrant | ||
run: | | ||
sudo apt update && sudo apt install virtualbox | ||
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg | ||
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list | ||
sudo apt update && sudo apt install vagrant | ||
- name: Install Chef | ||
uses: actionshub/[email protected] | ||
- name: Dokken | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
maintainer_email '[email protected]' | ||
license 'Apache-2.0' | ||
description 'Provides docker_service, docker_image, and docker_container resources' | ||
version '11.3.7' | ||
version '11.5.1' | ||
source_url 'https://github.com/sous-chefs/docker' | ||
issues_url 'https://github.com/sous-chefs/docker/issues' | ||
chef_version '>= 16.0', '< 19.0' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
test/cookbooks/docker_test/recipes/installation_package.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
docker_ver = | ||
# Include epoch on RHEL to fix idempotency issues | ||
if platform_family?('rhel', 'fedora') | ||
'3:20.10.11' | ||
# Debian 9 does not include 20.10 | ||
elsif platform?('debian') && node['platform_version'].to_i == 9 | ||
'19.03.14' | ||
else | ||
'20.10.11' | ||
end | ||
|
||
docker_installation_package 'default' do | ||
version docker_ver | ||
action :create | ||
end |
23 changes: 3 additions & 20 deletions
23
test/integration/install_and_stop/inspec/assert_functioning_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 3 additions & 10 deletions
13
test/integration/installation_package/inspec/assert_functioning_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
if os.family == 'redhat' && os.release.to_i == 8 | ||
describe command('/usr/bin/docker --version') do | ||
its(:exit_status) { should eq 0 } | ||
its(:stdout) { should match(/26\.1\./) } | ||
end | ||
else | ||
describe command('/usr/bin/docker --version') do | ||
its(:exit_status) { should eq 0 } | ||
its(:stdout) { should match(/27\.1\./) } | ||
end | ||
describe command('/usr/bin/docker --version') do | ||
its(:exit_status) { should eq 0 } | ||
its(:stdout) { should match(/2[0-9]\.[0-9]+\./) } | ||
end |