Skip to content

Commit

Permalink
[Fabric E2E Sample] Improving README.md (#1081)
Browse files Browse the repository at this point in the history
* Improving README and know issues markdown files
  • Loading branch information
promisinganuj authored Feb 10, 2025
1 parent 227865f commit ef260f3
Show file tree
Hide file tree
Showing 18 changed files with 348 additions and 156 deletions.
203 changes: 99 additions & 104 deletions e2e_samples/fabric_dataops_sample/README.md

Large diffs are not rendered by default.

This file was deleted.

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 9 additions & 11 deletions e2e_samples/fabric_dataops_sample/prepare_azure_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,17 @@ for i in "${!ENVIRONMENT_NAMES[@]}"; do
placeholder_service_connection_name="<ENV${index}_SERVICE_CONNECTION_NAME>"

# Replace placeholders in the pipeline files
if [[ "$OSTYPE" == "darwin"* ]]; then
replace "$placeholder_branch_name" "$azdo_git_branch_name" "$ci_artifacts_pipeline"
replace "$placeholder_variable_group_name" "$azdo_variable_group_name" "$ci_artifacts_pipeline"
replace "$placeholder_service_connection_name" "$azdo_service_connection_name" "$ci_artifacts_pipeline"
replace "$placeholder_branch_name" "$azdo_git_branch_name" "$ci_artifacts_pipeline"
replace "$placeholder_variable_group_name" "$azdo_variable_group_name" "$ci_artifacts_pipeline"
replace "$placeholder_service_connection_name" "$azdo_service_connection_name" "$ci_artifacts_pipeline"

replace "$placeholder_branch_name" "$azdo_git_branch_name" "$ci_qa_cleanup_pipeline"
replace "$placeholder_variable_group_name" "$azdo_variable_group_name" "$ci_qa_cleanup_pipeline"
replace "$placeholder_service_connection_name" "$azdo_service_connection_name" "$ci_qa_cleanup_pipeline"
replace "$placeholder_branch_name" "$azdo_git_branch_name" "$ci_qa_cleanup_pipeline"
replace "$placeholder_variable_group_name" "$azdo_variable_group_name" "$ci_qa_cleanup_pipeline"
replace "$placeholder_service_connection_name" "$azdo_service_connection_name" "$ci_qa_cleanup_pipeline"

replace "$placeholder_branch_name" "$azdo_git_branch_name" "$ci_qa_pipeline"
replace "$placeholder_variable_group_name" "$azdo_variable_group_name" "$ci_qa_pipeline"
replace "$placeholder_service_connection_name" "$azdo_service_connection_name" "$ci_qa_pipeline"
fi
replace "$placeholder_branch_name" "$azdo_git_branch_name" "$ci_qa_pipeline"
replace "$placeholder_variable_group_name" "$azdo_variable_group_name" "$ci_qa_pipeline"
replace "$placeholder_service_connection_name" "$azdo_service_connection_name" "$ci_qa_pipeline"
done

echo "[Info] ############ AZDO PIPELINE FILES CREATED ############"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,8 @@ cleanup_terraform_resources() {

if [[ -z ${existing_fabric_capacity_name} ]]; then
create_fabric_capacity=true
echo "[Info] Variable 'EXISTING_FABRIC_CAPACITY_NAME' is empty, a new Fabric capacity will be created."
else
create_fabric_capacity=false
echo "[Info] Variable 'EXISTING_FABRIC_CAPACITY_NAME' is NOT empty, the provided Fabric capacity will be used."
fi

echo "[Info] Switching to terraform '$environment_name' workspace."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ create_azdo_branch_policy () {
echo "[Info] Build policy created/updated successfully."
}

validate_env_vars

echo "[Info] ############ CREATING AZDO PIPELINES ############"
set_global_azdo_config

validate_env_vars

create_azdo_pipeline \
"$azdo_pipeline_ci_qa" \
"$AZDO_PIPELINES_BRANCH_NAME" \
Expand Down

0 comments on commit ef260f3

Please sign in to comment.