OctopusDeploy / Library

| Public | A repository of step templates and other community-contributed extensions to Octopus Deploy
Other
171 stars 504 forks source link

Added the new snapshot functionality found in Flyway v10. #1468

Closed BobJWalker closed 11 months ago

BobJWalker commented 11 months ago

Step template guidelines

Before submitting your PR, please delete everything above the line below.


Background

The new snapshot command can be found here: https://documentation.red-gate.com/fd/snapshot-184127462.html

The step has been updated to ignore "check.buildUrl" "check.buildUserName" and "check.BuildPassword" if the snapshot file path parameter is supplied.

These changes will allow users to replicate this functionality found here: https://github.com/red-gate/Flyway-Sample-Pipelines/blob/main/snapshotDriftCheck.sh

Results

Adds the ability to create a snapshot file and compare that against a database using flyway.

Before

After

Pre-requisites