Skip to content

Commit

Permalink
Merge branch 'main' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Stromweld authored May 6, 2024
2 parents 88cf4a5 + be8fd29 commit 99d1e24
Show file tree
Hide file tree
Showing 33 changed files with 477 additions and 305 deletions.
10 changes: 0 additions & 10 deletions .circleci/config.yml

This file was deleted.

1 change: 0 additions & 1 deletion .delivery/project.toml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @sous-chefs/openvpn
* @sous-chefs/maintainers
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

13 changes: 0 additions & 13 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

76 changes: 28 additions & 48 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,74 +1,54 @@
---
name: ci

on:
"on":
pull_request:
push:
branches:
- master
- main

jobs:
delivery:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
- name: Run Chef Delivery
uses: actionshub/chef-delivery@master
env:
CHEF_LICENSE: accept-no-persist

yamllint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
- name: Run yaml Lint
uses: actionshub/yamllint@master
lint-unit:
uses: sous-chefs/.github/.github/workflows/[email protected]
permissions:
actions: write
checks: write
pull-requests: write
statuses: write
issues: write

mdl:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
- name: Run Markdown Lint
uses: actionshub/markdownlint@master

dokken:
needs: [mdl, yamllint, delivery]
integration:
needs: "lint-unit"
runs-on: ubuntu-latest
strategy:
matrix:
os:
- 'amazonlinux-2'
- 'centos-7'
- 'centos-8'
- 'debian-9'
- 'ubuntu-1604'
- 'ubuntu-1804'
- "almalinux-8"
- "amazonlinux-2023"
- "centos-7"
- "centos-stream-8"
- "debian-10"
- "debian-11"
- "fedora-latest"
- "rockylinux-8"
- "ubuntu-1804"
- "ubuntu-2004"
suite:
- 'server'
- 'server-verification'
- 'server-verify-no-databag'
- "server"
- "server-verification"
- "server-verify-no-databag"
fail-fast: false

steps:
- name: Check out code
uses: actions/checkout@master
uses: actions/checkout@v4
- name: Install Chef
uses: actionshub/chef-install@master
uses: actionshub/chef-install@3.0.0
- name: Dokken
uses: actionshub/kitchen-dokken@master
uses: actionshub/[email protected]
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}

final:
needs: [dokken]
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
19 changes: 0 additions & 19 deletions .github/workflows/md-links.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
close-issue-message: >
Expand Down
5 changes: 5 additions & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
config:
ul-indent: false # MD007
line-length: false # MD013
no-duplicate-heading: false # MD024
reference-links-images: false # MD052
18 changes: 11 additions & 7 deletions .overcommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@ PreCommit:
enabled: true
YamlLint:
enabled: true
Rspec:
required_executable: "yamllint"
ChefSpec:
enabled: true
required_executable: 'rspec'
required_executable: "chef"
command: ["chef", "exec", "rspec"]
Cookstyle:
enabled: true
required_executable: 'cookstyle'
required_executable: "cookstyle"
command: ["cookstyle"]
Delivery:
enabled: true
required_executable: 'delivery'
flags: ['local', 'all']
MarkdownLint:
enabled: false
required_executable: "npx"
command: ["npx", "markdownlint-cli2", "'**/*.md'"]
include: ["**/*.md"]

CommitMsg:
HardTabs:
enabled: true
7 changes: 4 additions & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"recommendations": [
"chef-software.chef",
"rebornix.ruby",
"editorconfig.editorconfig"
"chef-software.chef",
"rebornix.ruby",
"editorconfig.editorconfig",
"DavidAnson.vscode-markdownlint"
]
}
2 changes: 2 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ rules:
max-spaces-inside: 1
min-spaces-inside-empty: -1
max-spaces-inside-empty: -1
comments:
min-spaces-from-content: 1
99 changes: 96 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,99 @@ This file is used to list changes made in each version of the openvpn cookbook.
- Make client config match server config (fixes [#189](https://github.com/sous-chefs/openvpn/issues/189))
- Document usage of `openvpn_user` with examples for `additional_vars`

## 7.0.20 - *2024-05-06*

## 7.0.19 - *2024-05-06*

## 7.0.18 - *2023-10-03*

## 7.0.17 - *2023-10-03*

- Added idempotency checks on CI

## 7.0.16 - *2023-09-29*

## 7.0.15 - *2023-09-11*

## 7.0.14 - *2023-05-16*

## 7.0.13 - *2023-04-17*

## 7.0.12 - *2023-04-07*

Standardise files with files in sous-chefs/repo-management

## 7.0.11 - *2023-04-01*

## 7.0.10 - *2023-04-01*

## 7.0.9 - *2023-04-01*

Standardise files with files in sous-chefs/repo-management

## 7.0.8 - *2023-03-20*

Standardise files with files in sous-chefs/repo-management

## 7.0.7 - *2023-03-15*

Standardise files with files in sous-chefs/repo-management

## 7.0.6 - *2023-03-01*

- Switch from mdl to markdownlint-cli2
- Update workflows

## 7.0.5 - *2023-02-16*

## 7.0.4 - *2023-02-16*

Standardise files with files in sous-chefs/repo-management

## 7.0.3 - *2023-02-15*

Standardise files with files in sous-chefs/repo-management

## 7.0.2 - *2022-12-09*

Standardise files with files in sous-chefs/repo-management

## 7.0.1 - *2022-05-16*

- Standardise files with files in sous-chefs/repo-management

## 7.0.0 - *2022-05-07*

- Remove comp-lzo as a default option

## 6.1.0 - *2022-02-24*

- Add certificate properties to user resource

## 6.0.0 - *2022-02-08*

- Remove delivery and move to calling RSpec directly via a reusable workflow
- Update tested platforms
- Fix Fedora
- Standardize kitchen settings
- Enable unified_mode and require Chef >= 15.3
- Fix various idempotency issues
- Set umask to 077 to match file permissions we expect
- Trigger various resources to run during first converge phase

## 5.4.0 - *2022-01-18*

- resolved cookstyle error: recipes/server.rb:88:3 refactor: `Chef/RedundantCode/UseCreateIfMissing`
- resolved cookstyle error: recipes/server.rb:98:3 refactor: `Chef/RedundantCode/UseCreateIfMissing`

## 5.3.2 - *2021-08-30*

- Standardise files with files in sous-chefs/repo-management

## 5.3.1 - *2021-06-01*

- Standardise files with files in sous-chefs/repo-management

## 5.3.0 - *2021-03-16*

- Fix openvpn_conf template handling
Expand Down Expand Up @@ -92,17 +185,17 @@ Locking yum dependency to '< 3'

### Bug

- **[COOK-3317](https://tickets.chef.io/browse/COOK-3317)** - Fix and make `server.up.sh` useful and customizable
- [COOK-3317] - Fix and make `server.up.sh` useful and customizable

### New Feature

- **[COOK-3315](https://tickets.chef.io/browse/COOK-3315)** - Remove hardcoded variables in configuration file
- [COOK-3315] - Remove hardcoded variables in configuration file

## v1.1.2

### Improvement

- **[COOK-2820](https://tickets.chef.io/browse/COOK-2820)** - Update metadata.rb for all attributes and recipes
- [COOK-2820] - Update metadata.rb for all attributes and recipes

## v1.1.0

Expand Down
Loading

0 comments on commit 99d1e24

Please sign in to comment.