Commit Graph

120 Commits

Author SHA1 Message Date
Dafydd Jones b36d0ecd6e
ci(pre-commit): add to formula [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/259
2020-10-03 10:20:59 +01:00
semantic-release-bot 8cf0ec745a chore(release): 0.3.2 [skip ci]
## [0.3.2](https://github.com/saltstack-formulas/cron-formula/compare/v0.3.1...v0.3.2) (2020-09-10)

### Continuous Integration

* **gemfile:** restrict `train` gem version until upstream fix [skip ci] ([ce61077](ce61077780))
* **gemfile.lock:** add to repo with updated `Gemfile` [skip ci] ([269b49f](269b49f38a))
* **kitchen:** avoid using bootstrap for `master` instances [skip ci] ([0afa1b1](0afa1b10d2))
* **kitchen:** use `saltimages` Docker Hub where available [skip ci] ([74999aa](74999aa17d))
* **kitchen+travis:** remove `master-py2-arch-base-latest` [skip ci] ([54b5a1a](54b5a1abaa))
* **travis:** add notifications => zulip [skip ci] ([fb46b07](fb46b0799e))
* **travis:** apply changes from build config validation [skip ci] ([730df10](730df1087f))
* **travis:** opt-in to `dpl v2` to complete build config validation [skip ci] ([4fc3960](4fc3960112))
* **travis:** quote pathspecs used with `git ls-files` [skip ci] ([0fef6f1](0fef6f1223))
* **travis:** run `shellcheck` during lint job [skip ci] ([1b2eb28](1b2eb285a5))
* **travis:** use `major.minor` for `semantic-release` version [skip ci] ([d4a6100](d4a6100949))
* **travis:** use build config validation (beta) [skip ci] ([db46bd9](db46bd9c90))
* **workflows/commitlint:** add to repo [skip ci] ([449c919](449c919f14))

### Reverts

* **codeowners:** update specific directories section [skip ci] ([2ac7785](2ac7785f64))

### Styles

* **state:** avoid complicated comparison ([496f09b](496f09b2e1))
2020-09-10 02:30:54 +00:00
Nicolas Rodriguez 06cde46103
Merge pull request #14 from n-rodriguez/fix/coding_style
style(state): avoid complicated comparison
2020-09-10 04:21:36 +02:00
Nicolas Rodriguez 496f09b2e1 style(state): avoid complicated comparison 2020-09-10 04:06:20 +02:00
Imran Iqbal 31d3d9b73b chore(gemfile.lock): update to latest gem versions (2020-W27) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/235
2020-07-06 14:24:24 +01:00
Imran Iqbal b9b18535c6 chore(gemfile.lock): update to latest gem versions (2020-W26) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/233
2020-06-26 12:40:49 +01:00
Imran Iqbal 40badd943f chore(gemfile.lock): update to latest gem versions (2020-W25) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/229
2020-06-21 12:53:08 +01:00
Imran Iqbal 74999aa17d ci(kitchen): use `saltimages` Docker Hub where available [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/223
2020-06-15 16:50:23 +01:00
Imran Iqbal 28663fafda chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/222
2020-06-15 15:01:35 +01:00
Imran Iqbal 736cc1451c chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/221
2020-06-05 22:11:23 +01:00
Imran Iqbal df5d4e7455 chore(gemfile.lock): update to latest gem versions [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/202
2020-05-28 00:16:24 +01:00
Imran Iqbal fb46b0799e ci(travis): add notifications => zulip [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/191
2020-05-21 20:04:42 +01:00
Imran Iqbal 1d1fb3f3ae chore(codeowners): update `semantic-release` related files [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/174
2020-05-04 23:13:35 +01:00
Imran Iqbal 2ac7785f64
revert(codeowners): update specific directories section [skip ci]
This reverts commit 36a70ff1af.

* Unnecessary specification in the last commit
2020-05-04 19:28:51 +01:00
Imran Iqbal 36a70ff1af
chore(codeowners): update specific directories section [skip ci]
* Updated using https://github.com/myii/ssf-formula/pull/173
* Avoid the conflict with the `semantic-release` section
2020-05-04 19:19:27 +01:00
Imran Iqbal e713fae46f
chore(codeowners): update with specific directories section [skip ci]
* Updated using https://github.com/myii/ssf-formula/pull/173
2020-05-04 19:07:56 +01:00
Imran Iqbal 562b56c4bc chore(codeowners): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/173
2020-05-04 18:41:13 +01:00
Imran Iqbal 449c919f14 ci(workflows/commitlint): add to repo [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/172
2020-05-04 09:27:08 +01:00
Imran Iqbal 54b5a1abaa ci(kitchen+travis): remove `master-py2-arch-base-latest` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/167
2020-05-02 04:25:42 +01:00
Imran Iqbal 269b49f38a ci(gemfile.lock): add to repo with updated `Gemfile` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/163
2020-04-21 22:05:26 +01:00
Imran Iqbal ec1f9d14b8 chore(rubocop): use org-wide standard settings for `Metrics/BlockLength` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/158
2020-04-18 13:41:32 +01:00
Imran Iqbal f88f6fb9d9 chore(gitignore): update from the `template-formula` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/132
2020-02-14 22:26:38 +00:00
Imran Iqbal cc5cb73ee5 chore(rubocop): move `LineLength` cop from `Metrics` to `Layout` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/129
2020-02-14 12:48:45 +00:00
Imran Iqbal 0afa1b10d2 ci(kitchen): avoid using bootstrap for `master` instances [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/124
2020-02-05 14:02:51 +00:00
Imran Iqbal d4a6100949 ci(travis): use `major.minor` for `semantic-release` version [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/112
2019-12-22 00:55:12 +00:00
Imran Iqbal ce61077780 ci(gemfile): restrict `train` gem version until upstream fix [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/110
2019-12-16 13:38:15 +00:00
Imran Iqbal 0fef6f1223 ci(travis): quote pathspecs used with `git ls-files` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/107
2019-11-27 22:00:46 +00:00
Imran Iqbal 1b2eb285a5 ci(travis): run `shellcheck` during lint job [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/106
2019-11-27 21:02:21 +00:00
Imran Iqbal 4fc3960112 ci(travis): opt-in to `dpl v2` to complete build config validation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/100
2019-11-20 16:35:57 +00:00
Imran Iqbal 730df1087f ci(travis): apply changes from build config validation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/98
2019-11-16 20:09:19 +00:00
Imran Iqbal db46bd9c90 ci(travis): use build config validation (beta) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/97
2019-11-13 16:51:30 +00:00
semantic-release-bot 10dc539f7c chore(release): 0.3.1 [skip ci]
## [0.3.1](https://github.com/saltstack-formulas/cron-formula/compare/v0.3.0...v0.3.1) (2019-11-04)

### Tests

* **saltcheck:** add test for cron envs (`absent` & `present`) ([82cd0a7](82cd0a7f3a))
2019-11-04 19:21:40 +00:00
Niels Abspoel 4233af9d97
Merge pull request #13 from myii/test/add-saltcheck-test-for-envs
test(saltcheck): add test for cron envs (`absent` & `present`)
2019-11-04 20:08:58 +01:00
semantic-release-bot c47e43c9fb chore(release): 0.3.0 [skip ci]
# [0.3.0](https://github.com/saltstack-formulas/cron-formula/compare/v0.2.4...v0.3.0) (2019-11-03)

### Bug Fixes

* **release.config.js:** use full commit hash in commit link [skip ci] ([c5eb3b7](c5eb3b78bc))

### Continuous Integration

* **kitchen:** use `debian-10-master-py3` instead of `develop` [skip ci] ([aca0d9e](aca0d9e437))
* **kitchen:** use `develop` image until `master` is ready (`amazonlinux`) [skip ci] ([f9c61a9](f9c61a9859))
* **kitchen+travis:** upgrade matrix after `2019.2.2` release [skip ci] ([2062f10](2062f10f94))

### Features

* **cron.env:** add env option in cron-formula ([12cee12](12cee12227))

### Performance Improvements

* **travis:** improve `salt-lint` invocation [skip ci] ([624b05a](624b05a180))
2019-11-03 18:06:06 +00:00
Imran Iqbal 82cd0a7f3a
test(saltcheck): add test for cron envs (`absent` & `present`) 2019-11-03 17:58:43 +00:00
Imran Iqbal 59b66f0426
Merge pull request #12 from SynPrime/master
feat(cron.env): add env option in cron-formula
2019-11-03 17:53:02 +00:00
Gino Naumann 12cee12227 feat(cron.env): add env option in cron-formula 2019-11-03 18:18:07 +01:00
Imran Iqbal f9c61a9859 ci(kitchen): use `develop` image until `master` is ready (`amazonlinux`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/93
2019-11-03 11:39:53 +00:00
Imran Iqbal 624b05a180 perf(travis): improve `salt-lint` invocation [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/90
2019-11-02 08:42:09 +00:00
Imran Iqbal c5eb3b78bc fix(release.config.js): use full commit hash in commit link [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/89
2019-10-31 10:34:10 +00:00
Imran Iqbal 2062f10f94 ci(kitchen+travis): upgrade matrix after `2019.2.2` release [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/86
2019-10-30 04:50:41 +00:00
Imran Iqbal aca0d9e437 ci(kitchen): use `debian-10-master-py3` instead of `develop` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/84
2019-10-24 18:13:59 +01:00
semantic-release-bot 41cca8a03e chore(release): 0.2.4 [skip ci]
## [0.2.4](https://github.com/saltstack-formulas/cron-formula/compare/v0.2.3...v0.2.4) (2019-10-23)

### Bug Fixes

* **saltcheck:** fix broken import and standardise across test files ([](https://github.com/saltstack-formulas/cron-formula/commit/7911b71))
* **saltcheck:** fix invalid `service` test ([](https://github.com/saltstack-formulas/cron-formula/commit/677c956))
* **saltcheck:** remove trailing spaces ([](https://github.com/saltstack-formulas/cron-formula/commit/aada0ae))
* **saltcheck:** replace `map.jinja` references with InSpec conditionals ([](https://github.com/saltstack-formulas/cron-formula/commit/7e9e619))
* **saltcheck:** update for `cron` instead of `cron_settings` ([](https://github.com/saltstack-formulas/cron-formula/commit/26cfa4f))

### Code Refactoring

* **config:** minimise and standardise between `.sls` & `.tst` ([](https://github.com/saltstack-formulas/cron-formula/commit/18585bd))
* **config:** remove duplication in using a loop ([](https://github.com/saltstack-formulas/cron-formula/commit/652ebff))
* **jinja:** used shortened form of `|default` filter ([](https://github.com/saltstack-formulas/cron-formula/commit/a0f891e))
* **saltcheck:** relocate `.tst` files according to 1:1 `.sls` files ([](https://github.com/saltstack-formulas/cron-formula/commit/ee65236)), closes [/github.com/saltstack-formulas/cron-formula/pull/4#issuecomment-544140377](https://github.com//github.com/saltstack-formulas/cron-formula/pull/4/issues/issuecomment-544140377)
* **saltcheck:** use `package.tst` instead of `install.tst` ([](https://github.com/saltstack-formulas/cron-formula/commit/d2c9544))
* **saltcheck:** use root-level `saltcheck-tests` directory ([](https://github.com/saltstack-formulas/cron-formula/commit/6e54c3f))

### Continuous Integration

* **travis:** obtain `saltcheck.py` and run the tests (only on `develop`) ([](https://github.com/saltstack-formulas/cron-formula/commit/8ae46e5))
* **travis:** run `salt-lint` for `.tst` files as well ([](https://github.com/saltstack-formulas/cron-formula/commit/baab964))
* **travis:** standardise `saltcheck` comments ([](https://github.com/saltstack-formulas/cron-formula/commit/e23276b))
* **travis:** update `salt-lint` config for `v0.0.10` [skip ci] ([](https://github.com/saltstack-formulas/cron-formula/commit/b701d79))

### Styles

* **config.tst:** rearrange Jinja statements for clarity ([](https://github.com/saltstack-formulas/cron-formula/commit/8abec54))
* **saltcheck:** merge `absent` & `present` into one `if` block ([](https://github.com/saltstack-formulas/cron-formula/commit/33f344c))
* **saltcheck:** use consistent order of assertions ([](https://github.com/saltstack-formulas/cron-formula/commit/88229f0))

### Tests

* **pillar:** add test for `commented` and clarify each test ([](https://github.com/saltstack-formulas/cron-formula/commit/3d0dcb2))
* **pillar:** ensure `special` is being tested as well ([](https://github.com/saltstack-formulas/cron-formula/commit/951a959))
* **saltcheck:** add first tests ([](https://github.com/saltstack-formulas/cron-formula/commit/9847aff))
* **saltcheck:** add support for `random` values ([](https://github.com/saltstack-formulas/cron-formula/commit/007970f))
* **saltcheck:** add test for `service.available` ([](https://github.com/saltstack-formulas/cron-formula/commit/226eb88))
* **saltcheck:** add test for `service.running` ([](https://github.com/saltstack-formulas/cron-formula/commit/5cdc50f))
* **saltcheck:** avoid `map.jinja`, use the test pillar instead ([](https://github.com/saltstack-formulas/cron-formula/commit/cce5e67))
* **saltcheck:** fix `config` tests ([](https://github.com/saltstack-formulas/cron-formula/commit/9225b18))
* **saltcheck:** remove duplication in `config.tst` using a loop ([](https://github.com/saltstack-formulas/cron-formula/commit/72281c7))
* **saltcheck:** test for `commented` and not `commented` ([](https://github.com/saltstack-formulas/cron-formula/commit/5070611))
* **saltcheck:** test for `special` in `config.tst` as well ([](https://github.com/saltstack-formulas/cron-formula/commit/6f2b323))
* **saltcheck:** use local `map.jinja` to workaround missing `tpldata` ([](https://github.com/saltstack-formulas/cron-formula/commit/8845b3c))
2019-10-23 18:43:15 +00:00
Imran Iqbal 7e6742b08f
Merge pull request #4 from mchugh19/saltcheck-tests
add first saltcheck tests
2019-10-23 19:23:35 +01:00
Imran Iqbal e23276b72a
ci(travis): standardise `saltcheck` comments
* Automated using https://github.com/myii/ssf-formula/pull/83
2019-10-23 19:02:17 +01:00
Imran Iqbal 6e54c3f406
refactor(saltcheck): use root-level `saltcheck-tests` directory 2019-10-23 19:02:17 +01:00
Imran Iqbal ee652363ff
refactor(saltcheck): relocate `.tst` files according to 1:1 `.sls` files
* https://github.com/saltstack-formulas/cron-formula/pull/4#issuecomment-544140377
2019-10-23 19:02:17 +01:00
Imran Iqbal 7e9e619a37
fix(saltcheck): replace `map.jinja` references with InSpec conditionals 2019-10-23 19:02:16 +01:00
Imran Iqbal 18585bdc90
refactor(config): minimise and standardise between `.sls` & `.tst` 2019-10-23 19:02:16 +01:00
Imran Iqbal b701d79b01 ci(travis): update `salt-lint` config for `v0.0.10` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/82
2019-10-23 17:36:57 +01:00