Skip to content

Instantly share code, notes, and snippets.

@AparnaKarve
Created April 13, 2020 21:17
Show Gist options
  • Save AparnaKarve/04212438832e6c52a138250470469b08 to your computer and use it in GitHub Desktop.
Save AparnaKarve/04212438832e6c52a138250470469b08 to your computer and use it in GitHub Desktop.
$ ocdeployer deploy -s automation-analytics -t templates --secrets-local-dir ./e2esecrets/local-secrets -e dev ak-aa-ci
Deploying service sets 'automation-analytics' to project 'ak-aa-ci'. Continue? [Y/n] Y
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/bin/ocdeployer", line 11, in <module>
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ocdeployer/__main__.py", line 265, in deploy_to_project
variables_data = get_variables_data(env_files)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ocdeployer/__main__.py", line 99, in get_variables_data
variables_data = load_cfg_file(variables_files[0])
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ocdeployer/utils.py", line 92, in load_cfg_file
raise ValueError("Path '{}' is not a file or does not exist".format(path))
ValueError: Path 'dev' is not a file or does not exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment