Skip to content

Add config-validator to pre-start scripts to fail on canaries #333

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mariash
Copy link
Member

@mariash mariash commented May 28, 2025

Summary

Add config validation in the pre-start BOSH script on a bootstrap VM to check config on canaries to fail fast.

Backward Compatibility

Breaking Change? No


bytes, err := os.ReadFile(configFile)
if err != nil {
log.Fatal("Could not read config file: ", err)
Copy link
Member

Choose a reason for hiding this comment

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

Can you update this failure to have dashes like all the other logs?


bytes, err := os.ReadFile(configFile)
if err != nil {
log.Fatal("Could not read config file: ", err)
Copy link
Member

Choose a reason for hiding this comment

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

Can you update this failure to have dashes like all the other logs?

@github-project-automation github-project-automation bot moved this from Inbox to Pending Merge | Prioritized in Application Runtime Platform Working Group May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Pending Merge | Prioritized
Development

Successfully merging this pull request may close these issues.

2 participants