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

config.yaml is deprecated #24

Open
trstruth opened this issue Nov 16, 2018 · 0 comments
Open

config.yaml is deprecated #24

trstruth opened this issue Nov 16, 2018 · 0 comments

Comments

@trstruth
Copy link
Member

When using st2sdk bootstrap <pack name> creates a directory containing a config.yaml file. Registering this pack logs the error

2018-11-16 20:06:53,330 ERROR [-] Pack "tristan" contains a deprecated config.yaml file (/opt/stackstorm/packs.dev/tristan/config.yaml). Support for "config.yaml" files has been deprecated in StackStorm v1.6.0 in favor of config.schema.yaml config schema files and config files in /opt/stackstorm/configs/ directory. Support for config.yaml files has been removed in the release (v2.4.0) so please migrate. For more information please refer to https://docs.stackstorm.com/reference/pack_configs.html

Renaming the config.yaml file to config.schema.yaml logs a warning

2018-11-16 20:07:32,383 WARNING [-] Failed to register sensors: Failed to register pack "tristan": Config schema "/opt/stackstorm/packs.dev/tristan/config.schema.yaml" is empty and invalid.

Seems like it would be okay to just remove the generation of this config file, and have users of st2sdk just generate the file manually once they need it.

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

1 participant