Automated PR: Standardising Files
[skip ci] This PR will standardise the files we have with out agreed spec in sous-chefs/repo-management. This repo has been identified by topic(s) of chef-cookbook
This commit is contained in:
parent
30e6c42c1e
commit
220da4d58c
@ -4,13 +4,21 @@ PreCommit:
|
|||||||
enabled: true
|
enabled: true
|
||||||
YamlLint:
|
YamlLint:
|
||||||
enabled: true
|
enabled: true
|
||||||
Rspec:
|
required_executable: "yamllint"
|
||||||
|
ChefSpec:
|
||||||
enabled: true
|
enabled: true
|
||||||
required_executable: 'rspec'
|
required_executable: "chef"
|
||||||
|
command: ["chef", "exec", "rspec"]
|
||||||
Cookstyle:
|
Cookstyle:
|
||||||
enabled: true
|
enabled: true
|
||||||
required_executable: 'cookstyle'
|
required_executable: "cookstyle"
|
||||||
command: ["cookstyle"]
|
command: ["cookstyle"]
|
||||||
|
MarkdownLint:
|
||||||
|
enabled: false
|
||||||
|
required_executable: "npx"
|
||||||
|
command: ["npx", "markdownlint-cli2", "'**/*.md'"]
|
||||||
|
include: ["**/*.md"]
|
||||||
|
|
||||||
CommitMsg:
|
CommitMsg:
|
||||||
HardTabs:
|
HardTabs:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -4,6 +4,8 @@ This file is used to list changes made in each version of the postfix cookbook.
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
Standardise files with files in sous-chefs/repo-management
|
||||||
|
|
||||||
## 6.0.17 - *2023-04-01*
|
## 6.0.17 - *2023-04-01*
|
||||||
|
|
||||||
## 6.0.16 - *2023-04-01*
|
## 6.0.16 - *2023-04-01*
|
||||||
|
@ -1,15 +1,10 @@
|
|||||||
---
|
|
||||||
driver:
|
driver:
|
||||||
name: dokken
|
name: dokken
|
||||||
privileged: true # because Docker and SystemD
|
privileged: true
|
||||||
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
|
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
|
||||||
env: [CHEF_LICENSE=accept]
|
|
||||||
|
|
||||||
transport:
|
transport: { name: dokken }
|
||||||
name: dokken
|
provisioner: { name: dokken }
|
||||||
|
|
||||||
provisioner:
|
|
||||||
name: dokken
|
|
||||||
|
|
||||||
platforms:
|
platforms:
|
||||||
- name: almalinux-8
|
- name: almalinux-8
|
||||||
@ -17,20 +12,15 @@ platforms:
|
|||||||
image: dokken/almalinux-8
|
image: dokken/almalinux-8
|
||||||
pid_one_command: /usr/lib/systemd/systemd
|
pid_one_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
- name: amazonlinux-2
|
- name: almalinux-9
|
||||||
driver:
|
driver:
|
||||||
image: dokken/amazonlinux-2
|
image: dokken/almalinux-9
|
||||||
pid_one_command: /usr/lib/systemd/systemd
|
pid_one_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
- name: debian-10
|
- name: amazonlinux-2023
|
||||||
driver:
|
driver:
|
||||||
image: dokken/debian-10
|
image: dokken/amazonlinux-2023
|
||||||
pid_one_command: /bin/systemd
|
pid_one_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
- name: debian-11
|
|
||||||
driver:
|
|
||||||
image: dokken/debian-11
|
|
||||||
pid_one_command: /bin/systemd
|
|
||||||
|
|
||||||
- name: centos-7
|
- name: centos-7
|
||||||
driver:
|
driver:
|
||||||
@ -42,11 +32,66 @@ platforms:
|
|||||||
image: dokken/centos-stream-8
|
image: dokken/centos-stream-8
|
||||||
pid_one_command: /usr/lib/systemd/systemd
|
pid_one_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
|
- name: centos-stream-9
|
||||||
|
driver:
|
||||||
|
image: dokken/centos-stream-9
|
||||||
|
pid_one_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
|
- name: debian-9
|
||||||
|
driver:
|
||||||
|
image: dokken/debian-9
|
||||||
|
pid_one_command: /bin/systemd
|
||||||
|
|
||||||
|
- name: debian-10
|
||||||
|
driver:
|
||||||
|
image: dokken/debian-10
|
||||||
|
pid_one_command: /bin/systemd
|
||||||
|
|
||||||
|
- name: debian-11
|
||||||
|
driver:
|
||||||
|
image: dokken/debian-11
|
||||||
|
pid_one_command: /bin/systemd
|
||||||
|
|
||||||
|
- name: debian-12
|
||||||
|
driver:
|
||||||
|
image: dokken/debian-12
|
||||||
|
pid_one_command: /bin/systemd
|
||||||
|
|
||||||
- name: fedora-latest
|
- name: fedora-latest
|
||||||
driver:
|
driver:
|
||||||
image: dokken/fedora-latest
|
image: dokken/fedora-latest
|
||||||
pid_one_command: /usr/lib/systemd/systemd
|
pid_one_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
|
- name: opensuse-leap-15
|
||||||
|
driver:
|
||||||
|
image: dokken/opensuse-leap-15
|
||||||
|
pid_one_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
|
- name: oraclelinux-7
|
||||||
|
driver:
|
||||||
|
image: dokken/oraclelinux-7
|
||||||
|
pid_one_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
|
- name: oraclelinux-8
|
||||||
|
driver:
|
||||||
|
image: dokken/oraclelinux-8
|
||||||
|
pid_one_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
|
- name: oraclelinux-9
|
||||||
|
driver:
|
||||||
|
image: dokken/oraclelinux-9
|
||||||
|
pid_one_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
|
- name: rockylinux-8
|
||||||
|
driver:
|
||||||
|
image: dokken/rockylinux-8
|
||||||
|
pid_one_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
|
- name: rockylinux-9
|
||||||
|
driver:
|
||||||
|
image: dokken/rockylinux-9
|
||||||
|
pid_one_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
- name: ubuntu-18.04
|
- name: ubuntu-18.04
|
||||||
driver:
|
driver:
|
||||||
image: dokken/ubuntu-18.04
|
image: dokken/ubuntu-18.04
|
||||||
@ -57,12 +102,12 @@ platforms:
|
|||||||
image: dokken/ubuntu-20.04
|
image: dokken/ubuntu-20.04
|
||||||
pid_one_command: /bin/systemd
|
pid_one_command: /bin/systemd
|
||||||
|
|
||||||
- name: opensuse-leap-15
|
- name: ubuntu-22.04
|
||||||
driver:
|
driver:
|
||||||
image: dokken/opensuse-leap-15
|
image: dokken/ubuntu-22.04
|
||||||
pid_one_command: /usr/lib/systemd/systemd
|
pid_one_command: /bin/systemd
|
||||||
|
|
||||||
- name: rockylinux-8
|
- name: ubuntu-23.04
|
||||||
driver:
|
driver:
|
||||||
image: dokken/rockylinux-8
|
image: dokken/ubuntu-23.04
|
||||||
pid_one_command: /usr/lib/systemd/systemd
|
pid_one_command: /bin/systemd
|
||||||
|
7
kitchen.exec.yml
Normal file
7
kitchen.exec.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
driver: { name: exec }
|
||||||
|
transport: { name: exec }
|
||||||
|
|
||||||
|
platforms:
|
||||||
|
- name: macos-latest
|
||||||
|
- name: windows-latest
|
38
kitchen.global.yml
Normal file
38
kitchen.global.yml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
provisioner:
|
||||||
|
name: chef_infra
|
||||||
|
product_name: chef
|
||||||
|
product_version: <%= ENV['CHEF_VERSION'] || 'latest' %>
|
||||||
|
channel: stable
|
||||||
|
install_strategy: once
|
||||||
|
chef_license: accept
|
||||||
|
enforce_idempotency: <%= ENV['ENFORCE_IDEMPOTENCY'] || true %>
|
||||||
|
multiple_converge: <%= ENV['MULTIPLE_CONVERGE'] || 2 %>
|
||||||
|
deprecations_as_errors: true
|
||||||
|
log_level: <%= ENV['CHEF_LOG_LEVEL'] || 'auto' %>
|
||||||
|
|
||||||
|
verifier:
|
||||||
|
name: inspec
|
||||||
|
|
||||||
|
platforms:
|
||||||
|
- name: almalinux-8
|
||||||
|
- name: almalinux-9
|
||||||
|
- name: amazonlinux-2023
|
||||||
|
- name: centos-7
|
||||||
|
- name: centos-stream-8
|
||||||
|
- name: centos-stream-9
|
||||||
|
- name: debian-9
|
||||||
|
- name: debian-10
|
||||||
|
- name: debian-11
|
||||||
|
- name: debian-12
|
||||||
|
- name: fedora-latest
|
||||||
|
- name: opensuse-leap-15
|
||||||
|
- name: oraclelinux-7
|
||||||
|
- name: oraclelinux-8
|
||||||
|
- name: oraclelinux-9
|
||||||
|
- name: rockylinux-8
|
||||||
|
- name: rockylinux-9
|
||||||
|
- name: ubuntu-18.04
|
||||||
|
- name: ubuntu-20.04
|
||||||
|
- name: ubuntu-22.04
|
||||||
|
- name: ubuntu-23.04
|
Loading…
x
Reference in New Issue
Block a user