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

Support for pre-start scripts in jobs #165

Open
rboykin opened this issue Jul 20, 2016 · 2 comments
Open

Support for pre-start scripts in jobs #165

rboykin opened this issue Jul 20, 2016 · 2 comments

Comments

@rboykin
Copy link
Contributor

rboykin commented Jul 20, 2016

@yudai Newer versions of cf-release (238, 239, etc.) include pre-start scripts in their jobs. In many cases, these scripts create directories for use in the actual jobs. The existing cf_nise_installer does not invoke these and as a result these jobs in these releases will not work. I note mention of support for pre-start scripts added here: https://bosh.io/docs/pre-start.html

Do you have intention of updating nise_bosh and cf_nise_installer to a newer level to include support for items such as pre-start scripts?

@rboykin
Copy link
Contributor Author

rboykin commented Jul 26, 2016

I also find that the newer levels of cf-release use the property spec.bootstrap as a boolean. This property is used in both the pre-start and post-start scripts of the cloud_controller_ng job. In the pre-start case this value gates logic used to migrate the CCDB to the latest level. In the post-start script, this value gates logic to populate buildpacks. Since the spec.bootstrap value is not supported in the current cf_nise_installer, neither the CCDB migration nor the buildpack population gets done.

@yudai
Copy link
Owner

yudai commented Jul 29, 2016

Unfortunately, I don't have enough time to take a look into the new features of BOSH right now.

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

No branches or pull requests

2 participants