-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Scorecard2 pod execution #2890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jmccormick2001
merged 78 commits into
operator-framework:master
from
jmccormick2001:scorecard2-pod-execution
Apr 28, 2020
Merged
Scorecard2 pod execution #2890
Changes from 1 commit
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
32087a9
add build of scorecard-test image, wire it into the scorecard-test im…
45c3d34
add a sample config file and pod spec, plus remove a log message from…
857e056
add start of pod definition
2e6db59
split out kubeclient and testpod
958e2ae
add random string to test pod names
6a971a4
add interim pod log capture
43555bb
add output formatting
db2d6e5
split out CR helper
d861b3d
add suggestion for test names if user enters invalid test name in the…
f009ea8
convert all output to ScorecardOutput
87ad36d
add initial delete pod defer
3658568
make the bundle singular, refactor the CRs into a helper
50981f6
add tar and untar of configmap
474641b
add cleanup flag
467c2ae
update kube client logic to look in various places for the config
7ebf414
add waittime command flag, add pod wait logic
295bb5d
change waittime to wait-time for the flag name
0abefbb
refactor some code, create a relation between the test and the test pod
f7e6e13
fix get bundle to check for valid paths to avoid errors in the api call
7f0cb6d
refactor for linter and general cleanup
13d04fe
refactor the TestBundle into just a registry.Bundle
457046f
remove basic check status test as its not useful
e3f2b41
remove reference to basic check status test which was removed
606aa16
fix tests
34a411b
remove basic status test from config
3356aa5
updates based on pr review comments
ec7800e
add build of scorecard-test image, wire it into the scorecard-test im…
b59aa81
add a sample config file and pod spec, plus remove a log message from…
99ad3fb
add start of pod definition
300ee72
split out kubeclient and testpod
f98e8f4
add random string to test pod names
cb322e4
add interim pod log capture
d7c98ab
add output formatting
0bf89cd
split out CR helper
9464b84
add suggestion for test names if user enters invalid test name in the…
38cc7af
convert all output to ScorecardOutput
fe64d30
add initial delete pod defer
28224bf
make the bundle singular, refactor the CRs into a helper
b92ee61
add tar and untar of configmap
770f91c
add cleanup flag
0dc37a9
update kube client logic to look in various places for the config
a4f8884
add waittime command flag, add pod wait logic
2405569
change waittime to wait-time for the flag name
a13becc
refactor some code, create a relation between the test and the test pod
d6e7087
fix get bundle to check for valid paths to avoid errors in the api call
ba955d3
refactor for linter and general cleanup
f894e11
refactor the TestBundle into just a registry.Bundle
4a0baa0
remove basic check status test as its not useful
9d4cc1d
remove reference to basic check status test which was removed
ae9d02d
fix tests
61c1108
remove basic status test from config
8d21ee3
updates based on pr review comments
98cfa69
Merge branch 'scorecard2-pod-execution' of github.com:jmccormick2001/…
67b7518
Update cmd/operator-sdk/alpha/scorecard/cmd.go
521ae4d
Update cmd/operator-sdk/alpha/scorecard/cmd.go
c1fdf82
Update internal/scorecard/alpha/tests/test_bundle.go
61a6344
Update internal/scorecard/alpha/tests/test_bundle.go
6a41299
make updates based on PR reviews
a761a26
refactor output formatting into the cmd
b9cebae
fix linter issue
2137885
rename tar function name
1329a4a
Update cmd/operator-sdk/alpha/scorecard/cmd.go
d457c0e
fix skipcleanup
b44503a
refactor crhelper to avoid extraneous unmarshalling
49c3ad7
replace fmt.Print with log.Error in a few cases
54818cc
updates from PR review
b67d4ae
Update internal/scorecard/alpha/tests/crhelper.go
4efa124
Update internal/scorecard/alpha/tests/crhelper.go
04b2dbc
Update cmd/operator-sdk/alpha/scorecard/cmd.go
cc62112
Update internal/scorecard/alpha/config.go
5aa6bdc
rename ScorecardTest to Test and other PR review comments
7c02717
various updates from PR comments
660dd7c
cleanup fmt.Error calls
c06c512
refactor Options struct into Scorecard struct and add struct methods …
fffa03a
make entrypoints a collection in the config file format
8dc43b6
fix GetBundle return values
c3075df
fix unit tests
397c11f
fix image
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than logging an error, we should convert this error to a
ScorecardTestResult
and append it to the list of results. Ditto for any other errors related to anything happening in a test run.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.