Skip to content

Script step embedded in a NuGet package #2189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
PaulStovell opened this issue Nov 26, 2015 · 2 comments
Closed

Script step embedded in a NuGet package #2189

PaulStovell opened this issue Nov 26, 2015 · 2 comments
Assignees
Labels
kind/enhancement This issue represents an enhancement we are committed to adding to Octopus as some time
Milestone

Comments

@PaulStovell
Copy link
Member

When creating a script step in Octopus, you can paste a script into a big textarea. We're going to extend this to support choosing a NuGet package that will contain the script, and entering the name of the script within the package to invoke. This step will be able to run on the Octopus server, as well as on Tentacles/SSH machines/etc.

This would support scenarios like:

  • Deploy a database migration - the migration scripts can be in a package, with a PowerShell script that calls them
  • Deploy a reporting services project from the Octopus server
  • Deploy an Azure RM template
  • Deploy an AWS CloudFormation template
  • Regular PowerShell/ScriptCS steps that need additional files to operate

It would be similar to the standard NuGet package step, but bypasses all the conventions and "installation" of the package. We simply extract, execute the entry point script, then delete the folder.

@PaulStovell PaulStovell added the kind/enhancement This issue represents an enhancement we are committed to adding to Octopus as some time label Nov 26, 2015
@PaulStovell PaulStovell self-assigned this Nov 27, 2015
@michaelnoonan michaelnoonan added this to the 3.3.0 milestone Dec 21, 2015
@matt-richardson
Copy link
Contributor

This sounds very interesting. You could potentially also extend this to step templates, so that these can be stored in source control, packaged and published to Octopus.

@lock
Copy link

lock bot commented Nov 26, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. If you think you've found a related issue, please contact our support team so we can triage your issue, and make sure it's handled appropriately.

@lock lock bot locked as resolved and limited conversation to collaborators Nov 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/enhancement This issue represents an enhancement we are committed to adding to Octopus as some time
Projects
None yet
Development

No branches or pull requests

5 participants