Skip to content

Commit 95421c5

Browse files
authored
1 parent b7e7da9 commit 95421c5

File tree

14 files changed

+168
-129
lines changed

14 files changed

+168
-129
lines changed

.circleci/config.yml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,32 @@
1-
version: 2.1
1+
---
2+
jobs:
3+
final:
4+
docker:
5+
- image: bash:latest
6+
steps:
7+
- run:
8+
name: Finish cooking
9+
command: echo "Finished cooking"
210

11+
lint_and_unit: &lint_and_unit
12+
- delivery
13+
- danger
14+
- lint-yaml
15+
- lint-markdown
16+
version: 2.1
317
orbs:
4-
kitchen: sous-chefs/[email protected]
5-
18+
kitchen: sous-chefs/kitchen@2
619
workflows:
720
kitchen:
821
jobs:
22+
- kitchen/yamllint:
23+
name: lint-yaml
24+
- kitchen/mdlint:
25+
name: lint-markdown
926
- kitchen/danger:
1027
name: danger
1128
context: Danger
12-
- kitchen/lint:
13-
name: lint
29+
- kitchen/delivery:
30+
name: delivery
31+
- final:
32+
requires: *lint_and_unit

.github/lock.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
# Configuration for lock-threads - https://github.com/dessant/lock-threads
23

34
# Number of days of inactivity before a closed issue or pull request is locked

.kitchen.dokken.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

.mdlrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rules "~MD013", "~MD024"

.rubocop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
AllCops:
23
Exclude:
34
- 'Dangerfile'

.yamllint

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
extends: default
2+
ignore: .kitchen/
3+
rules:
4+
line-length:
5+
max: 120
6+
level: warning
7+
document-start:
8+
ignore: |
9+
kitchen.yml

CHANGELOG.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ This file is used to list changes made in each version of the mysql cookbook.
1313
- Add a helper for Ubuntu 18.04
1414
- Remove support for Debian 7
1515
- Remove ChefSpec matchers
16+
- Set apparmor tmp_dir permissions on directory itself
17+
- Run latest cookstyle
18+
- Circleci, Yaml and markdown lint updates
1619

1720
## 8.5.1 (2017-08-23)
1821

@@ -39,20 +42,23 @@ This file is used to list changes made in each version of the mysql cookbook.
3942
- Remove mention of the EOL opensuse 13.x in the readme
4043

4144
## 8.3.0 (2017-03-20)
45+
4246
- Refactor mysql_service_manager_upstart.rb to eliminate use of cloned resource
4347

4448
## 8.2.0 (2016-12-03)
4549

4650
- Include client development packages on RHEL/SUSE platforms
4751

4852
## 8.1.1 (2016-10-31)
53+
4954
- Fixing CVE-2016-6662 - Reverting execure bit on mysql config
5055

5156
## 8.1.0 (2016-10-29)
5257

5358
- Drop hardcoded, specific package version logic that broke many users
5459

5560
## 8.0.4 (2016-09-26)
61+
5662
- Bump debian version
5763
- Updated packages for 12.04 and 14.04 too
5864
- Add chef_version metadata
@@ -61,18 +67,21 @@ This file is used to list changes made in each version of the mysql cookbook.
6167
- Make sure yum repos are setup in local Test Kitchen
6268

6369
## 8.0.3 (2016-09-14)
70+
6471
- [GH-390] Fix #390 incorrect escaping of initial_root_password
6572
- Updated package versions for Ubuntu 16.04
6673
- Testing updates
6774

68-
# v8.0.2 (2016-08-25)
75+
## v8.0.2 (2016-08-25)
76+
6977
- Various bug fixed and updates to package version strings
7078

71-
# v8.0.1 (2016-07-20)
79+
## v8.0.1 (2016-07-20)
80+
7281
- Fixed a regression in the mysql_client resource where the action was changed from create to install in the 8.0 release
7382
- Added oracle, opensuse, and opensuseleap as supported platforms in the metadata
7483

75-
# v8.0.0 (2016-07-11)
84+
## v8.0.0 (2016-07-11)
7685

7786
- Converting from LWRP to custom resources
7887
- Removing yum-mysql and other dependencies.
@@ -488,7 +497,7 @@ Locking yum dependency to '< 3'
488497

489498
## v4.0.6
490499

491-
# Bug
500+
### Bug
492501

493502
- [COOK-3943] Notifying service restart on grants update
494503

@@ -610,7 +619,7 @@ Locking yum dependency to '< 3'
610619

611620
## v2.0.0
612621

613-
**Important note for this release**
622+
### Important note for this release
614623

615624
Under Chef Solo, you must set the node attributes for the root, debian and repl passwords or the run will completely fail. See COOK-1737 for background on this.
616625

@@ -627,7 +636,7 @@ Under Chef Solo, you must set the node attributes for the root, debian and repl
627636

628637
## v1.3.0
629638

630-
**Important note for this release**
639+
### Important note for this release
631640

632641
This version no longer installs Ruby bindings in the client recipe by default. Use the ruby recipe if you'd like the RubyGem. If you'd like packages from your distribution, use them in your application's specific cookbook/recipe, or modify the client packages attribute. This resolves the following tickets:
633642

TESTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Please refer to
2-
https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
2+
[https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD](https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD)

kitchen.dokken.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
driver:
3+
name: dokken
4+
privileged: true # because Docker and SystemD/Upstart
5+
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
6+
env: [CHEF_LICENSE=accept]
7+
8+
transport:
9+
name: dokken
10+
11+
provisioner:
12+
name: dokken
13+
deprecations_as_errors: true
14+
15+
platforms:
16+
- name: amazonlinux
17+
driver:
18+
image: dokken/amazonlinux
19+
pid_one_command: /sbin/init
20+
21+
- name: amazonlinux-2
22+
driver:
23+
image: dokken/amazonlinux-2
24+
pid_one_command: /usr/lib/systemd/systemd
25+
26+
- name: debian-8
27+
driver:
28+
image: dokken/debian-8
29+
pid_one_command: /bin/systemd
30+
intermediate_instructions:
31+
- RUN /usr/bin/apt-get update
32+
33+
- name: debian-9
34+
driver:
35+
image: dokken/debian-9
36+
pid_one_command: /bin/systemd
37+
intermediate_instructions:
38+
- RUN /usr/bin/apt-get update
39+
40+
- name: centos-6
41+
driver:
42+
image: dokken/centos-6
43+
pid_one_command: /sbin/init
44+
45+
- name: centos-7
46+
driver:
47+
image: dokken/centos-7
48+
pid_one_command: /usr/lib/systemd/systemd
49+
50+
- name: fedora-latest
51+
driver:
52+
image: dokken/fedora-latest
53+
pid_one_command: /usr/lib/systemd/systemd
54+
55+
- name: ubuntu-16.04
56+
driver:
57+
image: dokken/ubuntu-16.04
58+
pid_one_command: /bin/systemd
59+
intermediate_instructions:
60+
- RUN /usr/bin/apt-get update
61+
62+
- name: ubuntu-18.04
63+
driver:
64+
image: dokken/ubuntu-18.04
65+
pid_one_command: /bin/systemd
66+
intermediate_instructions:
67+
- RUN /usr/bin/apt-get update
68+
69+
- name: opensuse-leap
70+
driver:
71+
image: dokken/opensuse-leap
72+
pid_one_command: /bin/systemd

0 commit comments

Comments
 (0)