Commit Graph

22 Commits (master)

Author SHA1 Message Date
Chris Kuech 1c826f9744
bugfix (#65) 2020-03-12 16:41:00 -07:00
Chris Kuech f74b21e6dc
fix dsc scenario (#63)
* fix dsc scenario

* revert unintended change
2020-03-08 21:31:09 -07:00
Chris Kuech 0cfa54831e fixed inaccurate cmdletbinding 2019-12-09 17:16:27 -08:00
Chris Kuech 1a04585a3b attempt to fix github action 2019-12-09 17:11:08 -08:00
Zach Childers 14f933a1c1 linter fix 2019-12-03 12:00:56 -08:00
Zach Childers 776cf58b2d PR feedback 2019-12-03 11:58:31 -08:00
Zach Childers 553ed42f9b running tests 2019-12-02 21:44:12 -08:00
Zach Childers 3b36b3f0e7 convert to new-requirementgroup 2019-12-02 21:36:14 -08:00
Chris Kuech d601eb9ea9
Failed Test without Set should throw error (#56)
* test => false throws

* fixed #54
2019-11-26 20:28:28 -08:00
Chris Kuech 76b88225ab
Remove `exit -1` regression (#53) 2019-11-26 11:18:58 -08:00
Chris Kuech c3a731f018
Namespaces (#46)
* staging

* fixed unit tests

* inc minor version

* remove format-callstack

* complete

* pr comments and bug fixes

* test suite fixes

* show namespace in requirement events

* commonized requirement serialization

* fixed verbose logging

* updated docs
2019-11-17 15:06:51 -08:00
Chris Kuech bd59f83a8f
removed exit from Format-Checklist (#43)
* removed exit from Format-Checklist

* xplat fix for Initialize-Repo
2019-09-23 18:03:23 -07:00
Chris Kuech 28e05d161f
Test-Requirement rewrite (#40) 2019-09-21 10:37:44 -07:00
Chris Kuech 2dd0757946
Format-Checklist implementation and unit test bug fixes 2019-09-19 23:46:31 -07:00
Chris Kuech 0c2562f474
CD (#32)
* Stage files

* fix pipeline trigger

* separated tests from source

* cleaned up paths in CD trigger

* use wildcard in trigger

* Improved CI trigger

* Fix staging and remove WhatIf

* Trigger CD if License changes

* better ci rules
2019-09-12 18:51:53 -07:00
Chris Kuech e9cd39e0a5
Use GitHub Actions for CI/CD (#31)
* added missing files

* hoping this fixes failures

* typo

* adding debug

* rejiggered

* add file extensions to path

* found the docs

* install modules

* install required modules in each script

* accurately name job

* force install modules

* Resolve linting issue

* Suppress Install-Module logs

* cd

* use xplat-safe path in tests

* test cd

* fix accessor violation with Version

* run sequentially

* integrate api key

* (hopefully) fix secret access

* Fix publish-module path

* cleaner

* better versioning

* bugfix versioning

* version bugfix

* set CD to run on deployment
2019-09-12 17:34:31 -07:00
Chris Kuech d7a5d6eb49
Format-Checklist rewrite (#28)
* reimplemented Format-Checklist to cover more scenarios

* bumped version number
2019-09-05 21:01:33 -04:00
Chris Kuech d5464fbae6
fix Format-Checklist bug and example.ps1 integration test script (#23) 2019-07-26 12:15:06 -07:00
Chris Kuech f774eb2a6a
bugfix: results of Sets were not being logged (#14)
* bugfix: results of Set scriptblocks were not being logged on the outputted RequirementEvent object

* increment version
2019-07-01 22:37:19 -04:00
Chris Kuech 929f6a4310
Enabled and fixed formatters unit tests (#12)
`formatters.tests.ps1` file name had a type and was not being picked up by Pester. As such, formatter bugs were not being caught. This PR fixes the typo thus enabling the unit tests. It also fixes the bugs in `Format-Callstack` that were exposed from enabling the unit tests.
2019-07-01 20:50:08 -04:00
Chris Kuech dac0e6f69e Fix module 2019-06-12 22:25:36 -07:00
Chris Kuech 8dcfa31b17
Better (#2)
New major version. Interface and implementation have been completely overhauled.

The previous version included Invoke-ChecklistRequirement and Invoke-ContextRequirement, which relied on global state and held two different requirement engines with integrated logging. The new version contains a single requirement engine that outputs RequirementEvents. These events can be displayed with standard PowerShell formatters like Format-Table and Format-List. In addition, this PR introduces Format-Checklist for the human-facing interface and Format-Callstack for verbosely logging requirement execution

In addition to cleaner interfaces and implementation, Requirements now supports "DependsOn" for dependency graph execution.
2019-06-12 18:18:46 -07:00