-
Notifications
You must be signed in to change notification settings - Fork 2
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
test: add database connectivity test #295
base: main
Are you sure you want to change the base?
Conversation
…e example to include db connection
/run pipeline |
/run pipeline |
/run pipeline |
/run pipeline |
/run pipeline |
/run pipeline |
Does the test work? After running the apply locally, I see the db_connection created and complete before the VPE creation even starts. How would a connection work over private when there is no VPE gateway? (I am not sure DNS resolution works until this is live, but I may be wrong). If it does work and routes over the private network, it means that a VPE is not required/adds no value in the example. Additionally, my expectation of CBR is that they are not active immediately and the validation runs immediately after the CBR is created, possibly before it is in effect. Is there some way to confirm CBR is live before testing that the connection will run? |
Hi @shemau, I was occupied with some other work, so I couldn't look into this for a while. Yes, as you rightly pointed out, db_creation has to wait for the creation of CBR appears to be working based on my limited testing. here in a different branch where Postgres is scoped to cbr-zone that allows traffic from vpc-1 only while all other infrastructure is deployed in a different vpc. As expected, this example fails after multiple retries of remote-exec where as in PR branch it executes successfully. Additionally, I've added |
/run pipeline |
@daniel-butler-irl @ocofaigh @shemau @toddgiguere As discussed in the deep dive session, I have separated the logic for VSI creation and added it into Here are the SQL query logs |
/run pipeline |
/run pipeline |
Upgrade test is expected to fail, as this PR modifies default ACL rules created by vpc module and also security-group for postgresql will be created using module instead of resource block in example there isn't any changes in root module |
/run pipeline |
Description
https://github.ibm.com/goldeneye/issues/issues/5207
Release required?
x.x.X
)x.X.x
)X.x.x
)Release notes content
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
Merge actions for mergers