So my draft steps are like so:
- Run a script that will move everything from the referenced package (from GitHub source) to the root of the working folder. I didn’t come up with anything cleaner. So far so good, the output of a “tree” command looks about right.
- Run another script: Bash “npm install”. It complains that there is no “package.json” file. And rightfully so, because the first step executed in the folder
/etc/octopus/Tentacle/Work/20220828190354-29-219/, while the second script executed in the folder
- Run another script: Bash “tsc -b”. It executed in the folder
My question is – can I make them all work in one folder, e.g.
I guess I can mkdir it myself in the
/etc/octopus/Tentacle/Work/ folder and cd there, but is there a neater approach?
Or am I missing something basic here?
I’m using a Linux Docker (docker-compose’d) version of Octopus Deploy running on a VPS machine (the same VPS is used for the Server, the Tentacle and the final product will be run on it as well). Version of the Octopus Deploy is 2022.2 (Build 7965). Tentacle is installed using “apt” and is installed as a Linux service, so not in Docker (I presume).