Skip to content
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

Script step embedded in a NuGet package #2189

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
Milestone

Comments

@PaulStovell
Copy link
Member

@PaulStovell PaulStovell commented Nov 26, 2015

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.

@tothegills tothegills added the ready label Nov 27, 2015
@PaulStovell PaulStovell added in progress and removed ready labels Nov 27, 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

@matt-richardson matt-richardson commented Jan 8, 2016

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 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.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.