hi
We are using Octopus on Priem version V2022.1. We are not on cloud yet. I am trying a simple POC with one script to deploy on Snowflake DB. I am trying to use Sbowchange - Deploy Scripts" Step.
package is downloaded on one of our server where Tentacle is installed and also the Python 3.8.3 is installed. Also path of python is added in Env variable. But I am still getting below error:-
ObjectNotFound: The term ‘python’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
October 14th 2022 12:21:37
Error
At C:\Octopus\Work\20221014112133-308016-1658\Script.ps1:38 char:2
October 14th 2022 12:21:37
Error
python --version
Any Idea?
Is there any other better way to deploy changes on SnowFlake using Octopus on Preim. As its just a POC and we are happy to switch to any better approach
My first thought is that the tentacle service has not yet picked up the new path since Python was installed. Can you try restarting the tentacle service to see if this allows your deployment to move forward?
I look forward to hearing back, and please let me know if you have any other questions.
I’m glad to hear the reboot got you past your initial error.
For your next question, it looks like one of my colleagues responded to you on our library page. Would you be able to implement Adam’s recommendation of providing your own snawchange.py script?
i tried installing Schema Change. It fails with error Main.py not found. Do you think I should download the whole code and copy it on local and then pass the path to schemachange