Skip to content
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

ocp4: Use ScanSettingBindings for e2e tests #6297

Merged
merged 2 commits into from Oct 27, 2020

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Oct 26, 2020

These are the objects we recommend folks to use instead of raw
ComplianceSuites. It also allows us for auto-detection of platform/node
checks.

@JAORMX
Copy link
Contributor Author

JAORMX commented Oct 26, 2020

/test e2e-aws-ocp4-cis-node

@JAORMX
Copy link
Contributor Author

JAORMX commented Oct 26, 2020

Pull-request updated, HEAD is now dd56b9d

Copy link
Collaborator

@jhrozek jhrozek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nits inline, mostly looks good

tests/ocp4e2e/helpers.go Show resolved Hide resolved
err := backoff.RetryNotify(func() error {
return ctx.dynclient.Create(goctx.TODO(), binding)
}, bo, func(err error, d time.Duration) {
fmt.Printf("Couldn't create binding after %s: %s\n", d.String(), err)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is %s OK to use for formatting an error? I've usually seen %v being used.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, git grep across some code shows it is, please disregard.

tests/ocp4e2e/helpers.go Outdated Show resolved Hide resolved
These are the objects we recommend folks to use instead of raw
ComplianceSuites. It also allows us for auto-detection of platform/node
checks.
@JAORMX
Copy link
Contributor Author

JAORMX commented Oct 27, 2020

Pull-request updated, HEAD is now 5a26d84

@JAORMX
Copy link
Contributor Author

JAORMX commented Oct 27, 2020

/test e2e-aws-rhcos4-e8

@JAORMX
Copy link
Contributor Author

JAORMX commented Oct 27, 2020

/test all

@JAORMX
Copy link
Contributor Author

JAORMX commented Oct 27, 2020

/retest

@JAORMX JAORMX requested a review from jhrozek October 27, 2020 10:50
Copy link
Collaborator

@jhrozek jhrozek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@jhrozek jhrozek merged commit 940ce09 into ComplianceAsCode:master Oct 27, 2020
@yuumasato yuumasato added this to the 0.1.53 milestone Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants