You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Migrate Build # Step to run Flyway migrations
44
+
# To use username and password instead of windows integrated security Ensure that SQL Server is configured to allow SQL Server authentication. You can check this in SQL Server Management Studio (SSMS) under the server properties -> Security -> Server authentication. Ensure "SQL Server and Windows Authentication mode" is selected.
- name: Migrate Build # Step to run Flyway migrations
51
-
# To use username and password instead of windows integrated security Ensure that SQL Server is configured to allow SQL Server authentication. You can check this in SQL Server Management Studio (SSMS) under the server properties -> Security -> Server authentication. Ensure "SQL Server and Windows Authentication mode" is selected.
# GitHub Actions doesn't natively support manual approval steps like some other CI/CD tools (e.g., Azure DevOps or GitLab).
61
+
# You can achieve similar functionality using environments with required reviewers or by integrating external approval mechanisms.
62
+
# Alternatively maybe a Review Branch prior to pulling to Production or another downstream environment.
67
63
68
-
flyway-deploy-prod:
64
+
# Separate Prod 1 and Prod 2 into separate simulatneous jobs, only make one of them dependent on the manual approval step for demo purposes
65
+
flyway-deploy-prod-1:
66
+
name: Flyway Deploy Production 1
69
67
runs-on: self-hosted # Runner to execute the job
70
68
defaults:
71
69
run:
72
70
shell: cmd # Default shell. Use Windows Command Prompt
71
+
needs: flyway-report # This job depends on the completion of the flyway-report job
73
72
74
73
steps: # Steps are the individual tasks that are executed in the job
75
74
- uses: actions/checkout@v4 # Check out the repository
76
75
with: # Additional options for the action
77
76
ref: "Production"# Branch to check out
78
77
79
-
- name: Deploy to Prod 1 # Step to run Flyway migrations
80
-
# To use username and password instead of windows integrated security Ensure that SQL Server is configured to allow SQL Server authentication. You can check this in SQL Server Management Studio (SSMS) under the server properties -> Security -> Server authentication. Ensure "SQL Server and Windows Authentication mode" is selected.
# Multi-tenant deployment. Add second deployment to PROD2 here
78
+
- name: Deploy Prod 1 # Step to run Flyway migrations
79
+
# To use username and password instead of windows integrated security Ensure that SQL Server is configured to allow SQL Server authentication. You can check this in SQL Server Management Studio (SSMS) under the server properties -> Security -> Server authentication. Ensure "SQL Server and Windows Authentication mode" is selected.
- name: Deploy to Prod 2 # Step to run Flyway migrations
86
-
# To use username and password instead of windows integrated security Ensure that SQL Server is configured to allow SQL Server authentication. You can check this in SQL Server Management Studio (SSMS) under the server properties -> Security -> Server authentication. Ensure "SQL Server and Windows Authentication mode" is selected.
- name: Deploy to QA # Step to run Flyway migrations
36
32
# To use username and password instead of windows integrated security Ensure that SQL Server is configured to allow SQL Server authentication. You can check this in SQL Server Management Studio (SSMS) under the server properties -> Security -> Server authentication. Ensure "SQL Server and Windows Authentication mode" is selected.
0 commit comments