Commit Graph

74 Commits

Author SHA1 Message Date
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 cce5e67c33
test(saltcheck): avoid `map.jinja`, use the test pillar instead 2019-10-17 20:12:23 +01:00
Imran Iqbal 50706119fa
test(saltcheck): test for `commented` and not `commented` 2019-10-17 19:49:00 +01:00
Imran Iqbal 007970f935
test(saltcheck): add support for `random` values 2019-10-17 19:44:50 +01:00
Imran Iqbal 3d0dcb2e43
test(pillar): add test for `commented` and clarify each test 2019-10-17 19:28:32 +01:00
Imran Iqbal a0f891e012
refactor(jinja): used shortened form of `|default` filter 2019-10-17 19:27:23 +01:00
Imran Iqbal 951a95980a
test(pillar): ensure `special` is being tested as well 2019-10-16 00:24:32 +01:00
Imran Iqbal 33f344c3ba
style(saltcheck): merge `absent` & `present` into one `if` block 2019-10-15 23:04:46 +01:00
Imran Iqbal 6f2b32355a
test(saltcheck): test for `special` in `config.tst` as well 2019-10-15 23:04:46 +01:00
Imran Iqbal 652ebff734
refactor(config): remove duplication in using a loop 2019-10-15 23:04:46 +01:00
Imran Iqbal 72281c7905
test(saltcheck): remove duplication in `config.tst` using a loop 2019-10-15 23:04:46 +01:00
Imran Iqbal 5cdc50f521
test(saltcheck): add test for `service.running` 2019-10-15 23:04:46 +01:00
Imran Iqbal 226eb88078
test(saltcheck): add test for `service.available` 2019-10-15 23:04:46 +01:00
Imran Iqbal baab964f16
ci(travis): run `salt-lint` for `.tst` files as well 2019-10-15 23:04:46 +01:00
Imran Iqbal 8ae46e5d49
ci(travis): obtain `saltcheck.py` and run the tests (only on `develop`)
* Based on the latest development version from the `neon` branch
  - Also includes sending the appropriate exit codes (e.g. for failures)
2019-10-15 23:04:44 +01:00
Imran Iqbal 88229f08bd
style(saltcheck): use consistent order of assertions 2019-10-15 22:01:18 +01:00
Imran Iqbal 8abec548c1
style(config.tst): rearrange Jinja statements for clarity 2019-10-15 22:01:18 +01:00
Imran Iqbal aada0ae835
fix(saltcheck): remove trailing spaces 2019-10-15 06:01:26 +01:00
Imran Iqbal 9225b18202
test(saltcheck): fix `config` tests 2019-10-15 06:01:26 +01:00
Imran Iqbal 677c956de4
fix(saltcheck): fix invalid `service` test 2019-10-15 06:01:26 +01:00
Imran Iqbal d2c95440e4
refactor(saltcheck): use `package.tst` instead of `install.tst`
* Make consistent with the actual states
2019-10-15 06:01:26 +01:00
Imran Iqbal 26cfa4f6c4
fix(saltcheck): update for `cron` instead of `cron_settings` 2019-10-15 05:24:12 +01:00
Imran Iqbal 8845b3c50f
test(saltcheck): use local `map.jinja` to workaround missing `tpldata` 2019-10-15 05:22:33 +01:00
Imran Iqbal 7911b716e8
fix(saltcheck): fix broken import and standardise across test files 2019-10-15 05:22:14 +01:00
Christian McHugh 9847aff516
test(saltcheck): add first tests 2019-10-15 05:21:04 +01:00
semantic-release-bot 86385672e9 chore(release): 0.2.3 [skip ci]
## [0.2.3](https://github.com/saltstack-formulas/cron-formula/compare/v0.2.2...v0.2.3) (2019-10-15)

### Bug Fixes

* **platform:** add support for `Arch` ([](https://github.com/saltstack-formulas/cron-formula/commit/a9968e3))

### Continuous Integration

* **platform:** enable `arch-base-latest` ([](https://github.com/saltstack-formulas/cron-formula/commit/525ecee))

### Documentation

* **contributing:** remove to use org-level file instead [skip ci] ([](https://github.com/saltstack-formulas/cron-formula/commit/c12034a))
* **readme:** update link to `CONTRIBUTING` [skip ci] ([](https://github.com/saltstack-formulas/cron-formula/commit/eccccb6))

### Tests

* **pillar:** extract test pillar from `pillar.example` ([](https://github.com/saltstack-formulas/cron-formula/commit/482e2d1))
2019-10-15 04:19:26 +00:00
Imran Iqbal 99da50f3c2
Merge pull request #10 from myii/chore/standardise-structure
ci(platform): enable `arch-base-latest`
2019-10-15 05:04:40 +01:00
Imran Iqbal 525ecee41b
ci(platform): enable `arch-base-latest`
* Semi-automated using https://github.com/myii/ssf-formula/pull/73
2019-10-15 02:23:15 +01:00
Imran Iqbal 482e2d1b77
test(pillar): extract test pillar from `pillar.example` 2019-10-15 02:20:16 +01:00
Imran Iqbal a9968e329c
fix(platform): add support for `Arch` 2019-10-15 02:16:06 +01:00
Imran Iqbal c12034a38d docs(contributing): remove to use org-level file instead [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/70
2019-10-14 12:31:28 +01:00
Imran Iqbal eccccb695b
docs(readme): update link to `CONTRIBUTING` [skip ci] 2019-10-14 11:35:37 +01:00
semantic-release-bot 9e8fa4d373 chore(release): 0.2.2 [skip ci]
## [0.2.2](https://github.com/saltstack-formulas/cron-formula/compare/v0.2.1...v0.2.2) (2019-10-12)

### Bug Fixes

* **rubocop:** add fixes using `rubocop --safe-auto-correct` ([](https://github.com/saltstack-formulas/cron-formula/commit/23fa917))

### Continuous Integration

* **kitchen:** change `log_level` to `debug` instead of `info` ([](https://github.com/saltstack-formulas/cron-formula/commit/dfa8565))
* **kitchen:** install required packages to bootstrapped `opensuse` [skip ci] ([](https://github.com/saltstack-formulas/cron-formula/commit/daf41cb))
* **kitchen:** use bootstrapped `opensuse` images until `2019.2.2` [skip ci] ([](https://github.com/saltstack-formulas/cron-formula/commit/91a050e))
* **platform:** add `arch-base-latest` (commented out for now) [skip ci] ([](https://github.com/saltstack-formulas/cron-formula/commit/dbeafde))
* merge travis matrix, add `salt-lint` & `rubocop` to `lint` job ([](https://github.com/saltstack-formulas/cron-formula/commit/fe3b733))
* merge travis matrix, add `salt-lint` & `rubocop` to `lint` job ([](https://github.com/saltstack-formulas/cron-formula/commit/ef8ac40))
* use `dist: bionic` & apply `opensuse-leap-15` SCP error workaround ([](https://github.com/saltstack-formulas/cron-formula/commit/e1d7d1b))
* **travis:** merge `rubocop` linter into main `lint` job ([](https://github.com/saltstack-formulas/cron-formula/commit/67c704c))
* **yamllint:** add rule `empty-values` & use new `yaml-files` setting ([](https://github.com/saltstack-formulas/cron-formula/commit/67475b0))
2019-10-12 06:06:16 +00:00
Imran Iqbal 67c704c4bb ci(travis): merge `rubocop` linter into main `lint` job
* Semi-automated using https://github.com/myii/ssf-formula/pull/65
2019-10-12 06:47:54 +01:00
Imran Iqbal 23fa917d4e
fix(rubocop): add fixes using `rubocop --safe-auto-correct` 2019-10-12 06:46:19 +01:00
Imran Iqbal c66e9a656e chore(issues): remove issues templates to use org-level templates [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/61
2019-10-10 15:29:20 +01:00
Imran Iqbal d80a4bcd6f
Merge pull request #9 from myii/ci/merge-matrix-and-add-salt-lint-and-rubocop
ci: merge travis matrix, add `salt-lint` & `rubocop` to `lint` job
2019-10-09 23:45:02 +01:00
Imran Iqbal fe3b733652 ci: merge travis matrix, add `salt-lint` & `rubocop` to `lint` job
* Automated using https://github.com/myii/ssf-formula/pull/60
2019-10-09 03:09:14 +01:00
Imran Iqbal ef8ac40fd7 ci: merge travis matrix, add `salt-lint` & `rubocop` to `lint` job
* Automated using https://github.com/myii/ssf-formula/pull/60
2019-10-08 16:39:21 +01:00
Imran Iqbal 5be2ed3e8a chore(yamllint): update ignored paths and add `octal-values` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/59
2019-10-07 19:35:51 +01:00
Imran Iqbal b3a5d14f3c chore(issues): update `Bug report` & `Feature request` templates [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/58
2019-10-07 15:30:05 +01:00
Imran Iqbal daf41cb5c0 ci(kitchen): install required packages to bootstrapped `opensuse` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/53
2019-10-02 00:10:51 +01:00
Imran Iqbal 91a050e22e ci(kitchen): use bootstrapped `opensuse` images until `2019.2.2` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/52
2019-10-01 21:37:40 +01:00
Imran Iqbal dbeafde0e9 ci(platform): add `arch-base-latest` (commented out for now) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/50
2019-10-01 16:23:26 +01:00
Imran Iqbal 711db280d1 chore(issues): provide `Bug report` & `Feature request` templates [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/48
2019-09-30 16:03:07 +01:00
Imran Iqbal dfa85653c9 ci(kitchen): change `log_level` to `debug` instead of `info`
* Automated using https://github.com/myii/ssf-formula/pull/41
2019-09-23 17:03:25 +01:00
Niels Abspoel 3988cf0102
Merge pull request #8 from myii/chore/standardise-structure
ci(yamllint): add rule `empty-values` & use new `yaml-files` setting
2019-09-12 18:09:38 +02:00