From a70ce05f80e32feead838cd2e2731918f11357dd Mon Sep 17 00:00:00 2001 From: Chris Hawkins <94678272+csnhawkins@users.noreply.github.com> Date: Mon, 27 Jan 2025 15:35:53 +0000 Subject: [PATCH] Updating Flyway CLI check to accept variable, instead of just inline boolean (#29) * Changing ${{ secrets.FLYWAY_CLI_INSTALL_CHECK }} to variable rather than plaintext * Changing ${{ secrets.FLYWAY_CLI_INSTALL_CHECK }} to variable rather than plaintext * Updating Build to use Azure SQL DB * Reverting to localhost toml for build * Changing AutoPilot references to Autopilot (#2) Renamed AutoPilot references to Autopilot --------- Co-authored-by: Huxley Kendell <114421471+HuxleyKendell@users.noreply.github.com> --- .github/workflows/GitHub-Flyway-CICD-Pipeline_Linux.yml | 2 +- .github/workflows/GitHub-Flyway-CICD-Pipeline_Windows.yml | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/GitHub-Flyway-CICD-Pipeline_Linux.yml b/.github/workflows/GitHub-Flyway-CICD-Pipeline_Linux.yml index a13d0f3..f713775 100644 --- a/.github/workflows/GitHub-Flyway-CICD-Pipeline_Linux.yml +++ b/.github/workflows/GitHub-Flyway-CICD-Pipeline_Linux.yml @@ -36,7 +36,7 @@ env: FIRST_UNDO_SCRIPT: "002" # This should match the first undo version in your project # Optional - Validate Flyway CLI installation for ephemeral agents - FLYWAY_CLI_INSTALL_CHECK: "false" # Setting to false will skip the Flyway CLI check step + FLYWAY_CLI_INSTALL_CHECK: "${{ secrets.FLYWAY_CLI_INSTALL_CHECK }}" # Setting to false will skip the Flyway CLI check step FLYWAY_VERSION: "Latest" # This outlines the version of Flyway CLI that will be downloaded if no Flyway CLI is detected on the target agent (Examples - '11.0.0' for specific version. Or 'Latest' for latest version) FLYWAY_INSTALL_DIRECTORY: "" # The path on the agent machine where Flyway CLI will be installed diff --git a/.github/workflows/GitHub-Flyway-CICD-Pipeline_Windows.yml b/.github/workflows/GitHub-Flyway-CICD-Pipeline_Windows.yml index 7b40e45..2770a16 100644 --- a/.github/workflows/GitHub-Flyway-CICD-Pipeline_Windows.yml +++ b/.github/workflows/GitHub-Flyway-CICD-Pipeline_Windows.yml @@ -35,7 +35,7 @@ env: FIRST_UNDO_SCRIPT: "002" # This should match the first undo version in your project # Optional: Validate Flyway CLI installation for ephemeral agents. - FLYWAY_CLI_INSTALL_CHECK: "false" # Setting to false will skip the Flyway CLI check step + FLYWAY_CLI_INSTALL_CHECK: "${{ secrets.FLYWAY_CLI_INSTALL_CHECK }}" # Setting to false will skip the Flyway CLI check step FLYWAY_VERSION: "Latest" # This outlines the version of Flyway CLI that will be downloaded if no Flyway CLI is detected on the target agent (Examples - '11.0.0' for specific version. Or 'Latest' for latest version) FLYWAY_INSTALL_DIRECTORY: "C:\\FlywayCLI\\" # The path on the agent machine where Flyway CLI will be installed diff --git a/README.md b/README.md index 2d598cb..c8e3461 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Flyway AutoPilot allows you to trial an end-to-end database development and automated deployment process with next to no setup. With Flyway AutoPilot, you get: +Redgate Flyway Autopilot allows you to trial an end-to-end database development and automated deployment process with next to no setup. With Flyway Autopilot, you get: 1. A SQL script to create ready-to-use sample databases, with the ability to test additional objects and scenarios 2. A pre-configured Flyway project to get started quickly