New RavenDB, Azure, Dyn Templates & Updated Amazon Template#257
Merged
hnrkndrssn merged 8 commits intoOctopusDeploy:masterfrom Nov 27, 2015
Merged
New RavenDB, Azure, Dyn Templates & Updated Amazon Template#257hnrkndrssn merged 8 commits intoOctopusDeploy:masterfrom
hnrkndrssn merged 8 commits intoOctopusDeploy:masterfrom
Conversation
Retrieves the specified document by a Raven Query, updates selected variables with values from octopus Variables. Replaces the current document with the newly created document with the updated values. IMPORTANT: Any variable that is being updated MUST have an Octopus Variable that has exactly the same name (including capitals, any special characters, etc.) prefixed with “Property_”. This is the case of BOTH document variables and Metadata variables. I.E. if you wanted TestMode change, you MUST have an Octopus Variable named Property_TestMode (same name, and capitals, etc.). • Checks to see if the database exists, throws an error if it doesn’t. • Retrieves current document and remove all unnecessary data (metadata, etc.). • Allows users to select which variables they would like to be changed, then the values are retrieved from the octopus variables. This is the same for Metadata variables, be care with the Metadata as if something is spelt wrong it could corrupt the database. • Replace the current document with the newly created document with the updated values.
• Comment the script • We add the opinion to make the uploaded files/folders public. By default Amazon automatically sets this to private. • Clean up the `if` statement to remove redundant use of `Get-Item’ • Add recursive (`-Recurse`) argument to the first Write-S3Object. This was done because the original code had a bug in it, which prevented any files/folders within a child directory from being uploaded.
Uploads files and folders to an Azure container from a specified location. IMPORTANT: Azure PowerShell must be installed on the tentacle server for this step to work. This can be downloaded from http://bit.ly/AzurePowershellDownload • Checks to see if Azure PowerShell is installed on the computer. Provides a link to a download if it isn’t installed. • Loops through all child folders and files to upload them to the specified container
Creates an A record in the specified zone with the specified details. NOTE: The API User MUST have the follow permissions: UserLogin UserChangepw RecordAdd RecordUpdate RecordGet ZoneGet ZoneAddNode ZonePublish ZoneChangeset • Logs into Dyn through the API • Checks if the A Record is already there o If it is, it checks to make sure its information is current If it is out-of-date, it updates it to the new information. • Creates the A record in the specified zone • Publishes the zone to make the new A record official. • Logs out of Dyn and disposes the authentication key.
Creates an A record in the specified zone with the specified details. NOTE: The API User MUST have the follow permissions: UserLogin UserChangepw RecordAdd RecordUpdate RecordGet ZoneGet ZoneAddNode ZonePublish ZoneChangeset • Logs into Dyn through the API • Checks if the A Record is already there o If it is, it checks to make sure its information is current If it is out-of-date, it updates it to the new information. • Creates the A record in the specified zone • Publishes the zone to make the new A record official. • Logs out of Dyn and disposes the authentication key.
Retrieves the specified document by a Raven Query, updates selected variables with values from octopus Variables. Replaces the current document with the newly created document with the updated values. IMPORTANT: Any variable that is being updated MUST have an Octopus Variable that has exactly the same name (including capitals, any special characters, etc.) prefixed with “Property_”. This is the case of BOTH document variables and Metadata variables. I.E. if you wanted TestMode change, you MUST have an Octopus Variable named Property_TestMode (same name, and capitals, etc.). • Checks to see if the database exists, throws an error if it doesn’t. • Retrieves current document and remove all unnecessary data (metadata, etc.). • Allows users to select which variables they would like to be changed, then the values are retrieved from the octopus variables. This is the same for Metadata variables, be care with the Metadata as if something is spelt wrong it could corrupt the database. • Replace the current document with the newly created document with the updated values.
Contributor
There was a problem hiding this comment.
This should be a Sensitive/Password control
Contributor
|
In the script body That URL should probably not point to that domain |
Contributor
|
Other than those two comments, it all looks good |
Creates an A record in the specified zone with the specified details. NOTE: The API User MUST have the follow permissions: UserLogin UserChangepw RecordAdd RecordUpdate RecordGet ZoneGet ZoneAddNode ZonePublish ZoneChangeset • Logs into Dyn through the API • Checks if the A Record is already there o If it is, it checks to make sure its information is current If it is out-of-date, it updates it to the new information. • Creates the A record in the specified zone • Publishes the zone to make the new A record official. • Logs out of Dyn and disposes the authentication key.
Contributor
Author
|
@alfhenrik changes have been made |
hnrkndrssn
added a commit
that referenced
this pull request
Nov 27, 2015
New RavenDB, Azure, Dyn Templates & Updated Amazon Template
Contributor
|
Thanks heaps @timhunt303 ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

A mixture of step templates, with 3 completely new ones and one that has been updated.