Skip to content

Commit

Permalink
Circleci testing (#14)
Browse files Browse the repository at this point in the history
* Circleci testing

* Fixes

* Linting

* Lint fixes

* Update config.yml

force rerun

* readme fixes
  • Loading branch information
xorima authored and damacus committed Aug 2, 2019
1 parent 1182c56 commit 91c0f8c
Show file tree
Hide file tree
Showing 13 changed files with 195 additions and 192 deletions.
39 changes: 35 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,44 @@
version: 2.1
---
lint_and_unit: &lint_and_unit
- delivery
- danger
- lint-yaml
- lint-markdown

version: 2.1
orbs:
kitchen: sous-chefs/kitchen@1.0.0
kitchen: sous-chefs/kitchen@2

workflows:
kitchen:
jobs:
# Lint and Unit Test
- kitchen/yamllint:
name: lint-yaml
- kitchen/mdlint:
name: lint-markdown
- kitchen/danger:
name: danger
context: Danger
- kitchen/lint:
name: lint
- kitchen/delivery:
name: delivery
- kitchen/dokken-single:
name: lwrp-resources
suite: lwrp-resources
requires:
*lint_and_unit
- kitchen/dokken-single:
name: attribute-resources
suite: attribute-resources
requires:
*lint_and_unit
- kitchen/dokken-single:
name: syslog
suite: syslog
requires:
*lint_and_unit
- kitchen/dokken-single:
name: papertrail
suite: papertrail
requires:
*lint_and_unit
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* sous-chefs/sc-nxlog
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

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

This file was deleted.

24 changes: 2 additions & 22 deletions .github/lock.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,8 @@
# Configuration for lock-threads - https://github.com/dessant/lock-threads

# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 365

# Issues and pull requests with these labels will not be locked. Set to `[]` to disable
---
daysUntilLock: 30
exemptLabels: []

# Label to add before locking, such as `outdated`. Set to `false` to disable
lockLabel: false

# Comment to post before locking. Set to `false` to disable
lockComment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.
# Limit to only `issues` or `pulls`
# only: issues

# Optionally, specify configuration settings just for `issues` or `pulls`
# issues:
# exemptLabels:
# - help-wanted
# lockLabel: outdated

# pulls:
# daysUntilLock: 30
1 change: 1 addition & 0 deletions .mdlrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rules "~MD013", "~MD024"
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
AllCops:
Exclude:
- 'Dangerfile'
28 changes: 15 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,55 @@
# 0.8.7
# Changelog

## 0.8.7

* Prevent installation of package config from .deb packages

# 0.8.6
## 0.8.6

* Update nokogiri gem due to security alert

# 0.8.5
## 0.8.5

* Point nxlog base URL at mirror, as nxlog keep taking down old versions and breaking the cookbook
* Add cookbook attribute to allow different base URLs

# 0.8.4
## 0.8.4

* Nxlog version bump
* Fix integration tests for Chef 12.5

# 0.8.3
## 0.8.3

* Added json extension module

# 0.8.2
## 0.8.2

* Added checksum validation to nxlog remote_file packages

# 0.8.1
## 0.8.1

* Remove input_type equal_to validation

# 0.8.0
## 0.8.0

* Add syslog recipe

# 0.7.2
## 0.7.2

* Add support for the FlowControl directive in input modules

# 0.7.1
## 0.7.1

* Update documentation to link to github page, as it looks better than on the supermarket

# 0.7.0
## 0.7.0

* Add support for creating log resources from node attributes

# 0.6.0
## 0.6.0

* Fix issue with LWRPs not working in other recipes

# 0.5.0
## 0.5.0

* Initial release of nxlog cookbook
21 changes: 21 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Contributing

## Branches

### `master` branch

The master branch is the current committed changes. These changes may not yet be released although we try to release often.

## Tags

All releases are tagged in git. To see the releases available to you see the changelog or the tags directly.

## Pull requests

- <https://github.com/sous-chefs/sc-nxlog/pulls>

## Issues

Need to report an issue? Use the github issues:

- <https://github.com/sous-chefs/sc-nxlog/issues>
Loading

0 comments on commit 91c0f8c

Please sign in to comment.