-
Notifications
You must be signed in to change notification settings - Fork 37
Expose CheckClusterIngressHealthy to the pr_test.go #869
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
Conversation
|
/run pipeline |
|
|
| t.Parallel() | ||
| if enableSchematicsTests { | ||
| t.Skip("Skipping terratest for ROKS Pattern, running Schematics test instead") | ||
| } |
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.
@ocofaigh @toddgiguere The PostApplyHook never executes because TestRunRoksPattern are skipped when enableSchematicsTests is True. Where should we add the hook because other test methods like TestRunVSIPattern, TestRunVpcPattern are also getting skipped.
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.
The landing zone tests executes in schematics and post apply hook is yet to be supported in schematics.
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.
Taking this to deep dive today to decide whether we add a support for post apply hook in schematics or is there any other way to approach it?
|
This module utilizes schematics to run the tests and support for post apply hook is not supported in schematics. I will create an issue to track the addition of support of post apply hook in schematics, after which |
|
Closing this PR as postapply hook feature is yet to be supported in schematics workspace. I will be creating an issue to support postapply hook in schematics post which support for CheckClusterIngressHealthy can be added. |
|
Issue to support postapply hook in schematics: https://github.ibm.com/GoldenEye/issues/issues/11065 |

Description
This PR exposes CheckClusterIngressHealthy to the pr_test.go to know the ingress state of the cluster.
https://github.ibm.com/GoldenEye/issues/issues/10545
Release required?
x.x.X)x.X.x)X.x.x)Release notes content
Addition of getClusterIngress method to expose the ingress state of the cluster
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
Checklist for reviewers
For mergers