-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/e2e-fabric-dataops-sample-v0-2' into kitsune/noteb…
…ook_and_pipeline_updates
- Loading branch information
Showing
15 changed files
with
1,070 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
set -o errexit | ||
set -o pipefail | ||
set -o nounset | ||
# set -o xtrace # For debugging | ||
|
||
#. ./scripts/common.sh | ||
#. ./scripts/verify_prerequisites.sh | ||
#. ./scripts/init_environment.sh | ||
|
||
####################### | ||
source ./.env | ||
|
||
# Log all outputs and errors to a log file | ||
log_file="cleanup_${BASE_NAME}_$(date +"%Y%m%d_%H%M%S").log" | ||
exec > >(tee -a "$log_file") | ||
exec 2>&1 | ||
|
||
for env_name in dev; do | ||
ENVIRONMENT_NAME=$env_name \ | ||
TENANT_ID=$TENANT_ID \ | ||
RESOURCE_GROUP_NAME=$RESOURCE_GROUP_NAME \ | ||
BASE_NAME=$BASE_NAME \ | ||
APP_CLIENT_ID=$APP_CLIENT_ID \ | ||
APP_CLIENT_SECRET=$APP_CLIENT_SECRET \ | ||
GIT_ORGANIZATION_NAME=$GIT_ORGANIZATION_NAME \ | ||
GIT_PROJECT_NAME=$GIT_PROJECT_NAME \ | ||
GIT_REPOSITORY_NAME=$GIT_REPOSITORY_NAME \ | ||
GIT_BRANCH_NAME=$GIT_BRANCH_NAME \ | ||
FABRIC_WORKSPACE_ADMIN_SG_NAME=$FABRIC_WORKSPACE_ADMIN_SG_NAME \ | ||
EXISTING_FABRIC_CAPACITY_NAME=$EXISTING_FABRIC_CAPACITY_NAME \ | ||
FABRIC_CAPACITY_ADMINS=$FABRIC_CAPACITY_ADMINS \ | ||
ADLS_GEN2_CONNECTION_ID=$ADLS_GEN2_CONNECTION_ID \ | ||
bash -c "./scripts/cleanup_infrastructure.sh" | ||
done |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Fabric CICD | ||
|
||
## Status | ||
|
||
Accepted | ||
|
||
## Context | ||
|
||
This ADR aims to document the decision(s) around the overall CI/CD architecture of the Fabric E2E sample. | ||
|
||
Currently, there a number of documented options to do CI/CD for Fabric as explained [here](https://learn.microsoft.com/en-us/fabric/cicd/manage-deployment). | ||
|
||
Key considerations: | ||
|
||
- Technical simplicity - simpler is better. | ||
- Viability of an E2E solution - can we build a full E2E DataOps sample with this option? | ||
- Functionality offered - any key capabilities needed as informed by real-world requirements? | ||
- Long-term relevance - alignment to [Microsoft Fabric roadmap](https://learn.microsoft.com/en-us/fabric/release-plan/) to ensure longer-term relevance of the sample. | ||
- Existing samples - are there existing samples already? | ||
|
||
| | Option 1 | Option 2 | Option 3 | Option 4 | | ||
|---------------------------|----------|----------|----------|----------| | ||
| Technical simplicity | Medium | Low | High | Low | | ||
| Viability of E2E solution | High | High | Low | Medium | | ||
| Functionality offered | High | High | Medium | High | | ||
| Long-term relevance | High | Medium | High | Medium | | ||
| Existing samples | No | No | Yes | No | | ||
|
||
## Proposal details | ||
|
||
Based on the key considerations, both **Option 1** and **Option 2** were extensively analyzed. However, due to the significant technical complexity of Option 2, particularly in managing item dependencies and manually tracking individual item IDs, Option 1 has been selected as the preferred approach for this milestone. | ||
|
||
The following are CI/CD flow diagrams built as part of this ADR: | ||
|
||
Option 1: | ||
|
||
![Option 1: Fabric CI/CD](../images/fabric-cicd-option1.png) | ||
|
||
Option 2: | ||
|
||
![Option 2: Fabric CI/CD](../images/fabric-cicd-option2.png) | ||
|
||
Propose option is "option #2 - Git-based deployments using Build environments". | ||
|
||
## Decision | ||
|
||
To be agreed | ||
|
||
## Next steps | ||
|
||
If accepted: | ||
|
||
- Proceed with build of the sample accordingly. | ||
- Spikes to validate any assumptions, specifically around automated deployments and ephemeral build/test workspaces. |
This file contains 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
3 changes: 3 additions & 0 deletions
3
e2e_samples/fabric_dataops_sample/docs/issues_limitations_and_workarounds.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Known issues, limitations, and workarounds <!-- omit in toc --> | ||
|
||
This document lists the known issues and limitations specific to the sample, as well as to Fabric in general. These issues and limitations are based on the current state of the Fabric REST APIs and Fabric deployment pipelines. The document also provides recommendations on how to handle these challenges. |
File renamed without changes.
File renamed without changes
362 changes: 362 additions & 0 deletions
362
e2e_samples/fabric_dataops_sample/images/fabric-cicd-option1.drawio
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
328 changes: 328 additions & 0 deletions
328
e2e_samples/fabric_dataops_sample/images/fabric-cicd-option2.drawio
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Oops, something went wrong.