Commit Graph

53 Commits (master)

Author SHA1 Message Date
microsoft-github-policy-service[bot] 30441bb474
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2022-11-28 19:10:53 +00:00
microsoft-github-policy-service[bot] ddb2c1eb0c
Microsoft mandatory file 2022-08-17 14:51:54 +00:00
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
Zach Childers 184ada5951
Merge pull request #57 from microsoft/zachilde/requirementgroup
Rename Push-Namespace to New-RequirementGroup
2019-12-16 22:30:01 -08: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
Chris Kuech e150da0b4e attempting to fix GitHub Actions internal bug 2019-12-09 17:05:36 -08:00
Zach Childers 424672b932 attempting to force refresh 2019-12-03 20:15:23 -08:00
Zach Childers fb56584257 new snapshots 2019-12-03 20:02:36 -08:00
Zach Childers 29ec675ec4 force new test resolution 2019-12-03 12:29:46 -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 b04334dab0
Show breaking changes (#51) 2019-11-22 18:37:04 -08:00
Chris Kuech 00d4840a04
Export `Push-Namespace` from module (#49) 2019-11-20 10:17:34 -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 e8bbc5267e
Regression tests (#37)
* added error regression tests

* Add output change tracking

* adding integration test files

* remove

* fix githook

* reset changes to formatters

* add docs/tools

* fix init
2019-09-21 00:06:11 -07:00
Chris Kuech 2dd0757946
Format-Checklist implementation and unit test bug fixes 2019-09-19 23:46:31 -07:00
Chris Kuech 4889a1654c
Cd fix (#33)
* 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

* Fix staging directory name
2019-09-12 19:07:48 -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 cd05c0fffb whitespace to trigger pr 2019-09-12 18:44:49 -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 393af07eea
Added CI 2019-09-12 13:06:47 -07:00
Chris Kuech 2eaf8f7ac5
Update README.md 2019-09-12 12:04:59 -07:00
Chris Kuech 7f651be127
typo 2019-09-09 10:45:46 -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 f0d9af1583
bumped version (#24) 2019-07-27 21:18:37 -07: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 7f675f361d
Update README.md (#16) 2019-07-04 23:41:25 -04:00
William Hetherington f5e36ea510 Set Requirements title change (#15) 2019-07-02 15:27:03 -04: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 dbf1216b24
updated docs to show correct image (#13)
Just fixed a bug in `Format-Callstack`. Updating the image in the documentation to properly reflect the fixed output.
2019-07-01 21:02:58 -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 f94c7b7865
Bugfix: some exported functions are not actually exported (#8)
#7
2019-07-01 16:27:49 -04:00
Olivier Miossec 25f9a601f0 DSC Script correction in README.md file (#6) 2019-06-28 10:24:21 -04:00
Chris Kuech 1a448a5904 Incremented minor version 2019-06-26 21:50:35 -07:00
Chris Kuech 048aa0f31a
Critical bugfix (#4)
Fix type exposure issue causing #3
2019-06-26 21:41:04 -07: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
Zach Childers c0d1273ef3
Merge pull request #1 from Microsoft/zachilde/minver
lowering required version
2019-02-13 18:40:52 -08:00
Zach Childers 3a50e927fe lowering required version 2019-02-13 18:31:20 -08:00
Chris Kuech 25f56793ec fixed manifest for psgallery 2018-10-15 16:32:39 -07:00
Chris Kuech a0c4b0d235 added Invoke-ChecklistRequirement unit tests 2018-10-15 15:02:32 -07:00
Chris Kuech 564902483f initial commit 2018-10-11 18:26:56 -07:00