Mark Walsh
Mark Walsh

Reputation: 3361

Automatically pull packages on provisioning

We're hosting on EC2. I've read this article here for provisioning tentacles. Is there a script which will then tell that provisioned server to grab the latest packages (from the latest release of the environment it's provisioned for)?

Upvotes: 1

Views: 200

Answers (1)

Matt
Matt

Reputation: 3704

Skip actions are step related, however I've just traced the POST request and there's a field SpecificMachineIds - So you CAN deploy to a specific machine.

It feels a bit smelly, but you'd have to get the new Id of the machine from the API, and then use that in your deployment request.

enter image description here

EDIT

A quick google on SpecificMachineIds and I have just come across this which is probably what you need

Octopus Deploy Support Question

Upvotes: 2

Related Questions