-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update circle-policy-agent version, process ERROR decision state (#809)
- Loading branch information
1 parent
7cd9cc4
commit 19bba9e
Showing
6 changed files
with
91 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ version: 2.1 | |
|
||
orbs: | ||
shellcheck: circleci/[email protected] | ||
windows: circleci/windows@2.2.0 | ||
windows: circleci/windows@5.0.0 | ||
|
||
executors: | ||
go: | ||
|
@@ -82,19 +82,22 @@ commands: | |
|
||
jobs: | ||
test_windows: | ||
executor: windows/default | ||
executor: | ||
name: windows/default | ||
shell: bash --login -eo pipefail | ||
steps: | ||
- run: git config --global core.autocrlf false | ||
- checkout | ||
- run: setx GOPATH %USERPROFILE%\go | ||
- run: go get gotest.tools/gotestsum | ||
- run: mkdir test_results | ||
- run: setx TESTING "true" | ||
|
||
- run: | ||
name: Run tests | ||
command: | | ||
C:\Users\circleci\go\bin\gotestsum.exe --junitfile test_results/windows.xml | ||
export GOBIN=/c/go/bin | ||
export PATH=$GOBIN:$PATH | ||
export TESTING="true" | ||
go install gotest.tools/gotestsum@latest | ||
gotestsum --junitfile test_results/windows.xml | ||
- store_test_results: | ||
path: test_results | ||
- store_artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org | ||
|
||
policy_name["some_name"] | ||
|
||
enable_rule["some_rule"] | ||
|
||
some_rule = false | ||
some_rule = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters