Skip to content
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

Updated What-If Step #86

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft
Changes from 3 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
01b8b3c
Updated What-If Step
marvinbuss Nov 24, 2021
b10ff6b
updated what if stage
marvinbuss Nov 24, 2021
44ba66d
added deployment name
marvinbuss Nov 24, 2021
300cb18
added dev and prod deployment workflows for gh
marvinbuss Dec 7, 2021
504bb5d
updated triggers
marvinbuss Dec 7, 2021
5d416e5
updated dependency
marvinbuss Dec 7, 2021
4814e5f
updated environments
marvinbuss Dec 7, 2021
1538749
updated workflows again
marvinbuss Dec 8, 2021
d475947
updated workflows based on guidance
marvinbuss Dec 9, 2021
6f0d2e0
updated ref
marvinbuss Dec 9, 2021
93a6397
test
marvinbuss Dec 9, 2021
30ae365
test
marvinbuss Dec 9, 2021
af239a1
test
marvinbuss Dec 9, 2021
f7ffd9e
updated trigger
marvinbuss Dec 9, 2021
0d12032
test
marvinbuss Dec 9, 2021
0c9b692
updated workflows
marvinbuss Dec 9, 2021
5d8fc61
test
marvinbuss Dec 9, 2021
0895524
test
marvinbuss Dec 9, 2021
66fd3fa
update reference
marvinbuss Dec 9, 2021
777fc57
updated reference back
marvinbuss Dec 9, 2021
1dbaa3d
Updated links in PR and Issue Templates
marvinbuss Dec 20, 2021
61dab4a
Merge branch 'main' into marvinbuss/what_if
marvinbuss Dec 20, 2021
126673f
updated gh workflows and templates
marvinbuss Dec 20, 2021
847568b
Added ado template
marvinbuss Dec 20, 2021
3a99b8b
Updated ado pipelines
marvinbuss Dec 20, 2021
2278a15
updated trigger
marvinbuss Dec 20, 2021
9f58d02
updated workflows
marvinbuss Mar 4, 2022
6254401
Merge branch 'main' of https://github.com/Azure/data-product-streamin…
marvinbuss Mar 4, 2022
d7f6ce3
updated workflows
marvinbuss Mar 4, 2022
e467a9f
test
marvinbuss Mar 4, 2022
61ce92f
updated wf
marvinbuss Mar 4, 2022
1639886
update linting
marvinbuss Mar 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/dataProductDeployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,25 +57,24 @@ jobs:
template: ${{ github.workspace }}/infra/main.json
parameters: ${{ github.workspace }}/infra/params.dev.json administratorPassword="${{ steps.generate_password_001.outputs.password }}"
deploymentMode: Validate
deploymentName: "DataProduct-${{ github.sha }}"
failOnStdErr: false

# Deploy Data Product - what-if
- name: Deploy Data Product - what-if
id: data_product_whatif
uses: azure/cli@v1
uses: azure/arm-deploy@v1
with:
azcliversion: "agentazcliversion"
inlineScript: |
az account set \
--subscription ${{ env.AZURE_SUBSCRIPTION_ID }}

az deployment group what-if \
--resource-group ${{ env.AZURE_RESOURCE_GROUP_NAME }} \
--exclude-change-types Ignore NoChange Unsupported \
--mode "Incremental" \
--template-file "${GITHUB_WORKSPACE}/infra/main.json" \
--parameters "${GITHUB_WORKSPACE}/infra/params.dev.json" administratorPassword="${{ steps.generate_password_001.outputs.password }}" \
--result-format "FullResourcePayloads"
scope: resourcegroup
subscriptionId: ${{ env.AZURE_SUBSCRIPTION_ID }}
resourceGroupName: ${{ env.AZURE_RESOURCE_GROUP_NAME }}
region: ${{ env.AZURE_LOCATION }}
template: ${{ github.workspace }}/infra/main.json
parameters: ${{ github.workspace }}/infra/params.dev.json administratorPassword="${{ steps.generate_password_001.outputs.password }}"
deploymentMode: Incremental
deploymentName: "DataProduct-${{ github.sha }}"
failOnStdErr: false
additionalArguments: "--what-if --what-if-exclude-change-types Ignore NoChange Unsupported --what-if-result-format FullResourcePayloads"

# Log out from Azure
- name: Log out from Azure
Expand Down Expand Up @@ -125,6 +124,7 @@ jobs:
template: ${{ github.workspace }}/infra/main.json
parameters: ${{ github.workspace }}/infra/params.dev.json administratorPassword="${{ steps.generate_password_001.outputs.password }}"
deploymentMode: Incremental
deploymentName: "DataProduct-${{ github.sha }}"
failOnStdErr: false

# Log out from Azure
Expand Down