Hydra - Update Octopus Tentacle

Octopus.TentaclePackage exported 2015-07-01 by Damovisa belongs to ‘Octopus’ category.

Performs an automatic update for a 2.6 Tentacle to a 3.0 Tentacle.

Parameters

When steps based on the template are included in a project’s deployment process, the parameters below can be set.

Server Mapping

ServerMapping

Optional mapping to new Octopus server location required for polling Tentacles. Either a single IP address or DNS name with a port (e.g. http://new.server:10943) Or a mapping in the form https://old.server:10943/=>https://new.server:10943/, with multiple mappings separated by a comma (,) or semicolon (;)

Note: If using the mapping format, the final / is required.

Script body

Steps based on this template will execute the following undefined script.

undefined

Provided under the Apache License version 2.0.

Report an issue

To use this template in Octopus Deploy, copy the JSON below and paste it into the Library → Step templates → Import dialog.

{
  "Id": "d4fb1945-f0a8-4de4-9045-8441e14057fa",
  "Name": "Hydra - Update Octopus Tentacle",
  "Description": "Performs an automatic update for a 2.6 Tentacle to a 3.0 Tentacle.",
  "Version": 8,
  "ExportedAt": "2015-07-01T05:57:02.674+00:00",
  "ActionType": "Octopus.TentaclePackage",
  "Author": "Damovisa",
  "Parameters": [
    {
      "Name": "ServerMapping",
      "Label": "Server Mapping",
      "HelpText": "Optional mapping to new Octopus server location required for polling Tentacles.\nEither a single IP address or DNS name with a port (e.g. `http://new.server:10943`)\nOr a mapping in the form `https://old.server:10943/=>https://new.server:10943/`, with multiple mappings separated by a comma (`,`) or semicolon (`;`)\n\n_Note: If using the mapping format, the final `/` is required._",
      "DefaultValue": null,
      "DisplaySettings": {
        "Octopus.ControlType": "SingleLineText"
      }
    }
  ],
  "Properties": {
    "Octopus.Action.Package.NuGetFeedId": "feeds-builtin",
    "Octopus.Action.EnabledFeatures": "Octopus.Features.CustomScripts",
    "Octopus.Action.Package.AutomaticallyRunConfigurationTransformationFiles": "False",
    "Octopus.Action.Package.AutomaticallyUpdateAppSettingsAndConnectionStrings": "False",
    "Octopus.Action.Package.DownloadOnTentacle": "False",
    "Octopus.Action.Package.NuGetPackageId": "OctopusDeploy.Hydra",
    "Octopus.Action.CustomScripts.PostDeploy.ps1": "if ([System.String]::IsNullOrEmpty($ServerMapping)) {\n    & .\\Hydra.exe --defer\n} else {\n    $cleanServerMapping = $ServerMapping.Replace(\" \",\"\")\n    & .\\Hydra.exe --defer --servers=$cleanServerMapping\n}\n"
  },
  "Category": "Octopus",
  "HistoryUrl": "https://github.com/OctopusDeploy/Library/commits/master/step-templates//opt/buildagent/work/75443764cd38076d/step-templates/hydra-update-octopus-tentacle.json",
  "Website": "/step-templates/d4fb1945-f0a8-4de4-9045-8441e14057fa",
  "Logo": "iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC1QTFRFT6Tl////L5Pg8vj9Y67omsvwPJrisdfzfbzs5fL7y+T32Ov5isLucLXqvt31CJPHWwAABMJJREFUeNrs3deW4jAMAFDF3U75/89dlp0ZhiU4blJEjvQ8hYubLJsA00UCBCIQgQhEIAIRiEAEIhCBCEQgAhGIQAQiEIEIhD8kJm+t+QprfdKfB9HbYpx6CWfspj8HMi+gMgHL/AmQA8W3JTKH+ALFvzCeL0RbpyoCPE9IJeNOSQwh5Z3qd6yRGWQ2qi2cZQWxqj1WzQYSjeoJmJlAklOd4VlArOqPhQEkqBERToeMcfRJBkC0Uep8CfBpjz4JsHJ0zF3dkEWNje0kiB/sUC6eApndaIiCMyAa1PiwJ0AWhRGJHJJQHG2dC7h1rNbO1QOxSA7lNCkkKrQIpJCAB1GREILYIC1NAiwbpKFJgGWDNExcwGstfExcZBCHC6nOglshHtmhViLIig1RNBCN7qjtW8C0Z1UvJcC1Z9XmwMBzzvobmgAyEzgq91dtEEsBsQSQQAFZCSBAATEEEApHZbrVBIkkEIUPSVeB+KtALA0kXQUSrwKZBCIQBnk8Y4i5CsReBeKvkqLM+BCSDWJlrZFvGk9SRTHshkgjZCGAaArIxm3H3grhVzFlW2msfl1ca79UJ1bofYvsDHHlNdTZnlh5MghuPd5NdBDUNZHyCk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
  }
}

History

Page updated on Wednesday, July 1, 2015