-
Notifications
You must be signed in to change notification settings - Fork 139
feat: add postgre and fabric mirror #117
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
base: main
Are you sure you want to change the base?
Changes from 13 commits
5a4b478
5467ae3
8c76feb
d167a97
81d391b
e7df29b
2daac4a
a1f8bb7
cf8b27d
c2fd16a
8d716ad
531dc53
4ee31df
17ec603
60bcbd0
90fa399
e45220e
ba7050f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| [submodule "submodules/ai-landing-zone"] | ||
| path = submodules/ai-landing-zone | ||
| url = https://github.com/Azure/AI-Landing-Zones.git | ||
| url = https://github.com/Azure/bicep-ptn-aiml-landing-zone |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,14 +16,8 @@ metadata: | |
| hooks: | ||
| preprovision: | ||
| # Integrated preprovision: | ||
| # - Runs AI Landing Zone preprovision to generate deploy/ files and Template Specs | ||
| # - Ensures our wrapper points to deploy/main.bicep (Template Spec-based) to avoid ARM 4MB template limit | ||
| # On Windows, `shell: sh` may not be available; the PowerShell script is a fallback. | ||
| - shell: sh | ||
| run: ./scripts/preprovision-integrated.sh | ||
| interactive: false | ||
| continueOnError: true | ||
|
|
||
| # - Deploys the AI Landing Zone submodule separately to avoid ARM 4MB template limit | ||
| # PowerShell is the supported entrypoint in this repo. | ||
| - shell: pwsh | ||
| run: ./scripts/preprovision-integrated.ps1 | ||
| interactive: false | ||
|
|
@@ -61,13 +55,13 @@ hooks: | |
| continueOnError: false | ||
|
|
||
| # Stage 5: Purview Collection Creation | ||
| - run: ./scripts/automationScripts/FabricPurviewAutomation/create_purview_collection.ps1 | ||
| - run: "$env:SKIP_PURVIEW_INTEGRATION='true'; ./scripts/automationScripts/FabricPurviewAutomation/create_purview_collection.ps1" | ||
mswantek68 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| interactive: false | ||
| shell: pwsh | ||
| continueOnError: false | ||
|
|
||
| # Stage 6: Register Fabric as Purview Data Source | ||
| - run: ./scripts/automationScripts/FabricWorkspace/CreateWorkspace/register_fabric_datasource.ps1 | ||
| - run: "$env:SKIP_PURVIEW_INTEGRATION='true'; ./scripts/automationScripts/FabricWorkspace/CreateWorkspace/register_fabric_datasource.ps1" | ||
|
||
| interactive: false | ||
| shell: pwsh | ||
| continueOnError: false | ||
|
|
@@ -77,6 +71,18 @@ hooks: | |
| interactive: false | ||
| shell: pwsh | ||
| continueOnError: false | ||
|
|
||
| # Stage 7.4: Prepare PostgreSQL for Fabric mirroring (server params + role) | ||
| - run: ./scripts/automationScripts/FabricWorkspace/Mirror/run_postgresql_mirroring_prep_with_public_access.ps1 | ||
| interactive: false | ||
| shell: pwsh | ||
| continueOnError: false | ||
|
|
||
| # Stage 7.5: Create PostgreSQL Mirrored Database (if PostgreSQL is provisioned) | ||
| - run: ./scripts/automationScripts/FabricWorkspace/Mirror/create_postgresql_mirror.ps1 | ||
| interactive: false | ||
| shell: pwsh | ||
| continueOnError: false | ||
|
|
||
| # Stage 8: Setup Fabric Workspace Private Link (for VNet integration) | ||
| - run: ./scripts/automationScripts/FabricWorkspace/SecureWorkspace/setup_fabric_private_link.ps1 | ||
|
|
@@ -133,19 +139,9 @@ hooks: | |
| continueOnError: false | ||
|
|
||
| # Stage 17: Trigger Purview Scan (if Purview enabled) | ||
| - run: ./scripts/automationScripts/FabricPurviewAutomation/trigger_purview_scan_for_fabric_workspace.ps1 | ||
| - run: "$env:SKIP_PURVIEW_INTEGRATION='true'; ./scripts/automationScripts/FabricPurviewAutomation/trigger_purview_scan_for_fabric_workspace.ps1" | ||
|
||
| interactive: false | ||
| shell: pwsh | ||
| continueOnError: false | ||
|
|
||
| # Stage 18: Connect Log Analytics (placeholder) | ||
| - run: ./scripts/automationScripts/FabricPurviewAutomation/connect_log_analytics.ps1 | ||
| interactive: false | ||
| shell: pwsh | ||
| continueOnError: false | ||
|
|
||
| # Stage 19: Clean up AI Landing Zone template specs | ||
| - run: ./submodules/ai-landing-zone/bicep/scripts/postprovision.ps1 | ||
| interactive: false | ||
| shell: pwsh | ||
| continueOnError: false | ||
Uh oh!
There was an error while loading. Please reload this page.