Settings and activity
-
2 votes
An error occurred while saving the comment Stones, Tom supported this idea ·
-
2 votes
An error occurred while saving the comment Stones, Tom commented
Before going the whole way and implemenenting this as a first class feature, some guidance on how to do it using current functionality would avoid new users having to reinvent the wheel.
It would be useful to have some guidance on:
- Writing robust powershell that runs an executable, possibly at elevated privilege, and logs its output and errors into the Octopus log, and returns its exit code in a way that Octopus can act on.
- Powershell for finding installed products by name and uninstalling them.Stones, Tom supported this idea ·
-
10 votes
I have a package that consists of a deploy.ps1 file and a bunch of yaml files. I want to substitute variables in the yaml files before running the deploy.ps1 file. I want to run this deployment on the octopus server.
The "deploy a package" step template won't let me run it on the octopus server.
The "deploy a script" lets me run on the server, but doesn't do variable substitution in files.