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

cli command to validate configuration using plugin validation routines. #5626

Closed
wants to merge 15 commits into from

Conversation

edwbuck
Copy link
Contributor

@edwbuck edwbuck commented Nov 4, 2024

Closes #5268

Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
@edwbuck edwbuck marked this pull request as draft November 4, 2024 08:11
…tprint.

This is to save work that is ongoing.

Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
@azdagron azdagron added this to the 1.11.1 milestone Nov 5, 2024
Now the validate handling is integrated into the server config and
all sub-config structs, and the main server Run() func is responsible for
both launching the server and validating, based on the flag, per request
by Andrew.

Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Andrew's plan to make the validation use the config objects to hold
flags means that we can't pass by value, as the caller will lack the
return path of getting the validation notes.

Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
@evan2645
Copy link
Member

@edwbuck we are reviewing 1.11.1 release and see that we will need to call a commit for that around thanksgiving time. This PR is tagged for that release, however it is still in draft and seems it needs more work. We will also need time to review once it comes out of draft. When do you think that will happen?

@edwbuck
Copy link
Contributor Author

edwbuck commented Nov 22, 2024

@edwbuck we are reviewing 1.11.1 release and see that we will need to call a commit for that around thanksgiving time. ...

Hi Evan. I'll put some more effort into it today. I was going to revisit it this weekend, but I have a few hours to start early. I am still planning to be ready for the Dec 5 deadline (with extra time for the review process) but if it's not in good shape by the end of this weekend, I'll express it in the next contributor's call.

Refactoring and restructured SQL "outside of the datasource"
configuraiton issues, now centralized into validateSQLConfig, embedded
in loadSQLConfig.

Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
@edwbuck edwbuck marked this pull request as ready for review November 26, 2024 17:27
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
@edwbuck
Copy link
Contributor Author

edwbuck commented Nov 26, 2024

A forgotten code signoff in the middle of the MR makes this branch difficult, if not impossible to move forward (it's not a matter of just rewriting my history, but also the history of two main branch merge requests).

Please close this and proceed with its replacement #5665

Also, please target #5665 for the 1.11.1 release to preserve the release planning.

@amartinezfayo
Copy link
Member

Closing in favor of #5665.

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.

Rework spire-server validate command to launch plugin instances for validation.
4 participants