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

Bring in HotFix repairs #651

Merged
merged 286 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
286 commits
Select commit Hold shift + click to select a range
03d1b39
Refactor deploy control plane script to remove unnecessary Terraform …
Oct 16, 2024
f4049d0
Refactor deploy control plane script to include sourcing deploy_serve…
Oct 16, 2024
df3743e
Refactor deploy control plane script to include sourcing deploy_serve…
Oct 16, 2024
67d6290
Refactor deploy control plane script to include azurerm_role_assignme…
Oct 16, 2024
ad3e300
Refactor deploy control plane script to remove unnecessary Terraform …
Oct 16, 2024
69a4cee
Refactor deploy control plane script to include sourcing deploy_serve…
hdamecharla Oct 16, 2024
df0df67
Refactor deploy control plane script to include dynamic role assignme…
Oct 16, 2024
000b9b6
Merge branch 'kfo-hotfix2' of https://github.com/KimForss/sap-automat…
Oct 16, 2024
ff3e075
Refactor deploy scripts to simplify checkIfCloudShell function
hdamecharla Oct 16, 2024
832536e
Refactor deploy control plane script to include dynamic role assignme…
Oct 16, 2024
f50e5b4
Merge branch 'kfo-hotfix2' of https://github.com/KimForss/sap-automat…
Oct 16, 2024
8164c97
Refactor deploy scripts to include sourcing deploy_server.sh and fixi…
hdamecharla Oct 16, 2024
c5e1d4d
Refactor deploy control plane script to include dynamic role assignme…
Oct 16, 2024
b1cc4d2
Merge branch 'kfo-hotfix2' of https://github.com/KimForss/sap-automat…
Oct 16, 2024
5ab33f3
Refactor deploy control plane script to include dynamic role assignme…
Oct 16, 2024
492e140
handle the realfilepath and the scriptdir variables as they might be …
hdamecharla Oct 16, 2024
61a37e2
Refactor deploy_controlplane.sh to use managed service identity (MSI)…
Oct 16, 2024
62d26ed
Merge branch 'kfo-hotfix2' of https://github.com/KimForss/sap-automat…
Oct 16, 2024
f447684
Refactor deploy_controlplane.sh to remove ARM_USE_MSI variable and us…
Oct 16, 2024
8e06f99
Refactor deploy_utils.sh to remove ARM_USE_MSI variable and use manag…
Oct 16, 2024
d86ad49
Refactor deploy_controlplane.sh to remove ARM_USE_MSI variable and us…
Oct 16, 2024
b47eeb5
Refactor deploy_controlplane.sh to use managed service identity (MSI)…
Oct 16, 2024
527da29
Refactor installer.sh to include terraform output command
Oct 17, 2024
1912cc8
Refactor installer.sh to comment out unnecessary terraform output com…
Oct 17, 2024
4a8fd55
Refactor variables_local.tf to use client_id instead of id for servic…
Oct 17, 2024
74f8622
Refactor deploy_controlplane.sh to use managed service identity (MSI)…
Oct 17, 2024
a3603eb
Refactor deploy_controlplane.sh to use managed service identity (MSI)…
Oct 17, 2024
d8c5b44
chore: include OpenSSF Scorecard badge
hdamecharla Oct 17, 2024
fb246b5
Refactor variables_local.tf to use client_id instead of id for servic…
Oct 17, 2024
ad7e0ba
Merge branch 'kfo-hotfix2' of https://github.com/KimForss/sap-automat…
Oct 17, 2024
6601f94
Refactor pipeline script to use correct variable for workload ARM sub…
Oct 17, 2024
054283d
Refactor pipeline script to use correct variable for workload ARM sub…
Oct 17, 2024
230d400
Refactor pipeline script to include ARM_OBJECT_ID variable
Oct 17, 2024
3f08fae
Refactor pipeline script to use correct variable for workload ARM_CLI…
Oct 17, 2024
090b1b1
Refactor pipeline script to use correct variable for workload ARM_CLI…
Oct 17, 2024
a7ba8cc
check terraform when running in cloudshell
hdamecharla Oct 17, 2024
93e63e6
Refactor pipeline script to include missing variable checks
Oct 17, 2024
3faf259
Merge branch 'kfo-hotfix2' of https://github.com/KimForss/sap-automat…
Oct 17, 2024
866cb75
Refactor pipeline script to remove unnecessary variable checks
Oct 17, 2024
4f44c61
Refactor pipeline script to use correct variables for workload ARM_CL…
Oct 17, 2024
25fa541
Refactor pipeline script to use correct variables for workload ARM_CL…
Oct 17, 2024
8a42cdd
Refactor pipeline script to include missing variable checks
Oct 17, 2024
d2e4d75
Refactor pipeline script to update echo statements for installation m…
Oct 17, 2024
d47cd4a
Refactor pipeline script to update echo statements for installation m…
Oct 17, 2024
958c3f0
Refactor pipeline script to use correct variables for workload ARM_CL…
Oct 17, 2024
ed19676
Refactor pipeline script to update echo statements for installation m…
Oct 17, 2024
7423f47
Refactor pipeline script to update echo statements for installation m…
Oct 17, 2024
1273919
Refactor pipeline script to update echo statements for installation m…
Oct 17, 2024
2d5710c
Refactor pipeline script to update echo statements for installation m…
Oct 17, 2024
870233e
Refactor pipeline script to update echo statements for installation m…
Oct 17, 2024
6b05fbf
Refactor pipeline script to update echo statements for installation m…
Oct 17, 2024
373c901
Refactor pipeline script to update echo statements for installation m…
Oct 17, 2024
761f633
Refactor pipeline script
Oct 17, 2024
89c480d
Refactor pipeline script to update echo statements for installation m…
Oct 17, 2024
b8d7f1c
Refactor pipeline script to update echo statements and export variabl…
Oct 17, 2024
4946481
Refactor pipeline script to update PATH variable in deploy_controlpla…
Oct 17, 2024
7d5d702
Refactor pipeline script to update echo statements and export variabl…
Oct 17, 2024
6e7417b
Refactor pipeline script to update echo statements and export variabl…
Oct 17, 2024
a71bb7e
Refactor pipeline script to update echo statement for displaying the …
Oct 17, 2024
ce6304c
Refactor pipeline script to update echo statements and export variabl…
Oct 17, 2024
a43f162
Refactor pipeline script to update usage of Azure CLI command in inst…
Oct 17, 2024
ff45053
Refactor pipeline script to update echo statements and export variabl…
Oct 17, 2024
9ced70b
Refactor pipeline script to update echo statements and export variabl…
Oct 17, 2024
2c2b757
Refactor pipeline script to update echo statements and export variabl…
Oct 17, 2024
370d80d
Refactor pipeline script to update echo statements and export variabl…
Oct 17, 2024
d124b74
Refactor pipeline script to update echo statements and export variabl…
Oct 17, 2024
0b79ccd
Refactor pipeline script to update echo statements and export variabl…
Oct 17, 2024
ccdf33b
Refactor pipeline script to update echo statements and export variabl…
Oct 17, 2024
e7698bf
Refactor provider configuration to use Azure Key Vault for subscripti…
Oct 17, 2024
2dfed56
Fixes #1: Added a new line to the installer script
Oct 17, 2024
cfa253e
Refactor pipeline script to fix unzip command in deploy control plane…
Oct 17, 2024
45e5848
Refactor pipeline script to update echo statements and export variabl…
Oct 18, 2024
652a153
Refactor deploy_controlplane.sh script to save deployer_tfstate_key i…
Oct 18, 2024
fb8879e
remove the deployer provider
Oct 18, 2024
3d906b4
Refactor deploy_controlplane.sh script to use the azurerm.deployer pr…
Oct 18, 2024
9d55282
Refactor tfvar_variables.tf to add "tags" variable for providing tags…
Oct 18, 2024
97bca28
Refactor providers.tf to use local variable for subscription_id in de…
Oct 18, 2024
c0bb1b1
Refactor providers.tf to remove subscription_id from deployer provider
Oct 18, 2024
5ed9669
Refactor deploy_controlplane.sh script to use local variables for dep…
Oct 18, 2024
14ddf0c
Refactor deploy_controlplane.sh script to use local variables for dep…
Oct 18, 2024
3046808
Refactor azurerm provider versions to 4.6.0
Oct 18, 2024
6630e9d
Refactor deploy_controlplane.sh script to use local variables for dep…
Oct 18, 2024
fde137d
Refactor deploy_controlplane.sh script to use local variables for dep…
Oct 18, 2024
f933adc
Refactor deploy_controlplane.sh script to use local variables for dep…
Oct 18, 2024
46446cf
Refactor az keyvault set-policy command in deploy_controlplane.sh script
Oct 18, 2024
1ed6407
Refactor az keyvault set-policy command in deploy_controlplane.sh script
Oct 18, 2024
aab6503
Add SPN to workload zone key vault
Oct 19, 2024
e9098d6
Remove the permission setting from the pipeline
Oct 19, 2024
532cc79
Refactor echo statements in script_helpers.sh and installer.sh
Oct 20, 2024
fc510f9
Refactor echo statements in script_helpers.sh and installer.sh
Oct 20, 2024
151871e
Refactor echo statements in script_helpers.sh and installer.sh
Oct 20, 2024
2684ec2
Refactor echo statements in script_helpers.sh and installer.sh
Oct 20, 2024
f64c90e
Refactor echo statements in script_helpers.sh and installer.sh
Oct 20, 2024
ae5e71f
Refactor echo statements in script_helpers.sh and installer.sh
Oct 20, 2024
c42821a
Refactor echo statements in script_helpers.sh and installer.sh
Oct 20, 2024
ba92e7c
Refactor echo statements in deploy_utils.sh for better readability
Oct 20, 2024
c6288f9
Refactor echo statement in 03-sap-system-deployment.yaml
Oct 20, 2024
15b53a1
Refactor echo statement in 03-sap-system-deployment.yaml for better r…
Oct 20, 2024
9fefede
Refactor echo statement in 03-sap-system-deployment.yaml for better r…
Oct 20, 2024
fbf2938
Refactor echo statements for better readability and consistency
Oct 20, 2024
d96d17f
Refactor echo statements for better readability and consistency
Oct 20, 2024
c0c6273
Refactor echo statements for better readability and consistency
Oct 20, 2024
b89b111
Refactor echo statements for better readability and consistency
Oct 20, 2024
591f09e
Refactor echo statements for better readability and consistency
Oct 20, 2024
3025675
Refactor echo statements for better readability and consistency
Oct 20, 2024
465bb5b
Refactor echo statements for better readability and consistency
Oct 20, 2024
6725699
Refactor echo statements to use variable for workload TFvars
Oct 20, 2024
61bd36b
Refactor echo statements to use variable for workload TFvars
Oct 20, 2024
ffd2ef1
Refactor echo statements to use variable for workload TFvars
Oct 20, 2024
7441c0a
Refactor echo statement to use variable for Terraform Storage Account Id
Oct 20, 2024
ca31cab
Refactor echo statements to use variables for Terraform details
Oct 20, 2024
ba98a5c
Refactor echo statements to use variables for Terraform details
Oct 20, 2024
c08dd5e
Refactor echo statements to use variables for Terraform details
Oct 20, 2024
a51c461
Refactor echo statements to use variables consistently
Oct 20, 2024
d27620a
Refactor echo statements to use variables consistently
Oct 20, 2024
8d84906
Refactor echo statements to use variables consistently and for Terraf…
Oct 20, 2024
7a21c1a
Refactor echo statements to consistently use variables
Oct 20, 2024
ba26c42
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
84fb8df
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
032362a
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
2750c6f
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
67f6846
Debugging
Oct 20, 2024
cb3ad5f
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
d815d2c
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
75e7252
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
567b194
trimming
Oct 20, 2024
6a51e73
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
da2e2c6
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
0d3c683
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
de51d54
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
3b417b2
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
0285386
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
9f2f3e7
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
c50e53e
Refactor echo statements to consistently use variables and improve fo…
Oct 20, 2024
1dc8186
Refactor echo statements to consistently use variables and improve fo…
Oct 20, 2024
91af151
terraform
Oct 20, 2024
e547178
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
b90956e
Refactor echo statements to consistently use variables and improve fo…
Oct 20, 2024
27ec5ce
Refactor echo statements to consistently use variables and improve fo…
Oct 20, 2024
edc2a7d
Refactor echo statements to consistently use variables and improve Te…
Oct 20, 2024
6a23f35
Refactor providers.tf to use Managed Service Identity (MSI) for authe…
Oct 20, 2024
d85b01a
Refactor echo statements to consistently use variables and improve fo…
Oct 20, 2024
5833c14
Refactor echo statement to improve parameter file formatting
Oct 20, 2024
98b962c
Refactor echo statements to improve formatting and use variables cons…
Oct 20, 2024
7b4af50
Refactor echo statements to consistently use variables and improve fo…
Oct 20, 2024
1eee95d
Refactor deploy control plane pipeline to improve configuration and e…
Oct 20, 2024
d93778d
Refactor providers.tf to use remote state for subscription ID
Oct 20, 2024
eea4aa3
Refactor echo statements to consistently use variables and improve fo…
Oct 20, 2024
c6628e8
Refactor echo statements to consistently use variables and improve fo…
Oct 21, 2024
a4a87e4
Refactor echo statement to improve formatting in deploy_controlplane.sh
Oct 21, 2024
810fbaf
Refactor echo statements to improve formatting in deploy_controlplane…
Oct 21, 2024
7d04ddd
Refactor deploy_controlplane.sh and script_helpers.sh echo statements…
Oct 21, 2024
bf1878f
Refactor key vault secrets to include service principal access
Oct 21, 2024
ad1b867
Refactor key vault secrets to include service principal access
Oct 21, 2024
0efcc40
Refactor key vault secrets to include service principal access
Oct 21, 2024
e6d6714
Refactor key vault secrets to include service principal access
Oct 21, 2024
9f67af1
Refactor echo statements for improved formatting in deploy_controlpla…
Oct 21, 2024
93c0308
Refactor permissions assignment in deploy_controlplane.sh
Oct 21, 2024
c4741b2
Refactor echo statements for improved formatting and include deployer…
Oct 21, 2024
cdf22e6
Refactor echo statements for improved formatting and include deployer…
Oct 21, 2024
a78fa59
Refactor echo statements for improved formatting and include deployer…
Oct 21, 2024
5f5fe00
Change to use ARM CLIENT ID
Oct 21, 2024
2fe7923
Refactor echo statement to include deployer subscription in 02-sap-wo…
Oct 21, 2024
d80c692
Refactor echo statements for improved formatting and include deployer…
Oct 21, 2024
31cdb1a
Refactor echo statements for improved formatting and include deployer…
Oct 21, 2024
cd19f33
Refactor echo statements for improved formatting and include deployer…
Oct 21, 2024
14be375
Refactor echo statements and include deployer subscription in 02-sap-…
Oct 21, 2024
188d629
Refactor echo statements for improved formatting and include deployer…
Oct 21, 2024
228292e
Refactor echo statements for improved formatting and include deployer…
Oct 21, 2024
f66492e
Refactor echo statements for improved formatting and include deployer…
Oct 21, 2024
a93cb9c
indentation
Oct 21, 2024
6a87ff6
Refactor echo statements for improved formatting and include deployer…
Oct 21, 2024
5e2b081
Refactor echo statements for improved formatting and include deployer…
Oct 21, 2024
2ea9b3d
Refactor echo statements for improved formatting and include deployer…
Oct 21, 2024
3efc1ca
Refactor echo statements for improved formatting and fix indentation …
Oct 21, 2024
60305e0
Refactor echo statement for improved formatting in remover.sh
Oct 21, 2024
5e72147
Refactor echo statements for improved formatting and remove unnecessa…
Oct 21, 2024
0c9cdc5
Refactor echo statements for improved formatting and remove unnecessa…
Oct 21, 2024
0f059be
Refactor echo statements for improved formatting and remove unnecessa…
Oct 21, 2024
ecd7615
Refactor echo statements for improved formatting and remove unnecessa…
Oct 21, 2024
65f3200
Refactor validate_dependencies function to check for the existence of…
Oct 21, 2024
060d238
Refactor echo statements for improved formatting and remove unnecessa…
Oct 21, 2024
682f23a
Refactor echo statements for improved formatting and remove unnecessa…
Oct 21, 2024
c777aaf
Refactor echo statements for improved formatting and remove unnecessa…
Oct 21, 2024
709ca64
Refactor azuread_service_principal data source to conditionally inclu…
Oct 21, 2024
4535906
Update SDAF version to 3.13.1.0 in ansible-input-api.yaml and version…
Oct 21, 2024
1280354
Refactor echo statements for improved formatting and remove unnecessa…
Oct 21, 2024
e2640bd
Refactor echo statements for improved formatting and remove unnecessa…
Oct 21, 2024
0670089
Refactor key_vault_sap_landscape.tf to conditionally include object_i…
Oct 21, 2024
e3a89a5
Refactor echo statements for improved formatting and remove unnecessa…
Oct 21, 2024
9cf4d76
Refactor key_vault_sap_landscape.tf to conditionally include object_i…
Oct 21, 2024
5123055
Refactor key_vault_sap_landscape.tf to conditionally include object_i…
Oct 22, 2024
5cd5eb4
Refactor echo statements for improved formatting and remove unnecessa…
Oct 22, 2024
f7d3fd8
Refactor echo statements for improved formatting and remove unnecessa…
Oct 22, 2024
f11ad2c
Refactor echo statements for improved formatting and remove unnecessa…
Oct 22, 2024
412d866
Refactor echo statements for improved formatting in installer.sh
Oct 22, 2024
e334dcf
Refactor echo statements for improved formatting and remove unnecessa…
Oct 22, 2024
4c93076
Refactor echo statements for improved formatting and remove unnecessa…
Oct 22, 2024
7017e11
Refactor echo statements for improved formatting and remove unnecessa…
Oct 22, 2024
06c9581
Refactor echo statements for improved formatting and remove unnecessa…
Oct 22, 2024
80e32ba
Refactor installer.sh to fix path issue and pass parameters correctly
Oct 22, 2024
437e539
Refactor deploy_controlplane.sh to include state subscription paramet…
Oct 22, 2024
53b4006
Refactor deploy_controlplane.sh to include correct subscription param…
Oct 22, 2024
1798007
Refactor deploy_controlplane.sh to include deployer subscription para…
Oct 22, 2024
22abbfe
Refactor deploy_controlplane.sh to include state subscription paramet…
Oct 22, 2024
de10301
Refactor deploy_controlplane.sh to include state subscription paramet…
Oct 22, 2024
e8ec41e
Refactor deploy_controlplane.sh to include correct subscription param…
Oct 22, 2024
2c0e7a3
Refactor deploy_controlplane.sh to include correct subscription param…
Oct 22, 2024
2cdcf25
Refactor deploy_controlplane.sh to remove unnecessary echo statement
Oct 22, 2024
89bae66
Refactor deploy_controlplane.sh to remove unnecessary echo statements…
Oct 22, 2024
2346842
Refactor deploy_controlplane.sh to improve parameter handling
Oct 22, 2024
7923a21
Refactor deploy_controlplane.sh to improve storage account authentica…
Oct 22, 2024
f96f3e2
Refactor deploy_controlplane.sh to improve parameter handling and rem…
Oct 22, 2024
c8e6507
Refactor deploy_utils.sh to fix variable value retrieval from config …
Oct 22, 2024
ebcc53b
Refactor parameter handling in script_helpers.sh and install_workload…
Oct 22, 2024
b3282ae
Refactor install_workloadzone.sh to handle unknown region codes
Oct 22, 2024
7551eaa
Refactor install_workloadzone.sh to handle unknown region codes
Oct 22, 2024
8f816be
Refactor install_workloadzone.sh to handle unknown region codes and i…
Oct 22, 2024
bc6d825
Refactor install_workloadzone.sh to handle unknown region codes and i…
Oct 22, 2024
3a545aa
Refactor region code handling in deploy_utils.sh and script_helpers.sh
Oct 22, 2024
fa2bf2e
Refactor install_workloadzone.sh to handle unknown region codes and i…
Oct 22, 2024
8010994
Refactor install_workloadzone.sh to handle unknown region codes and i…
Oct 22, 2024
98a8fef
Refactor install_workloadzone.sh to handle unknown region codes and i…
Oct 22, 2024
a384b84
Refactor install_workloadzone.sh to handle unknown region codes and i…
Oct 22, 2024
54bb015
Refactor install_workloadzone.sh to improve parameter handling and re…
Oct 22, 2024
6b65120
Refactor install_workloadzone.sh to improve parameter handling and re…
Oct 22, 2024
b592325
Refactor install_workloadzone.sh to improve parameter handling and re…
Oct 22, 2024
cb7cc87
Refactor install_workloadzone.sh to improve parameter handling and re…
Oct 22, 2024
5063d92
Refactor install_workloadzone.sh to improve parameter handling and re…
Oct 22, 2024
920d672
Refactor install_workloadzone.sh to improve parameter handling and re…
Oct 22, 2024
be34bdc
Refactor install_workloadzone.sh to remove unnecessary code
Oct 22, 2024
af1ab40
Refactor echo statements to improve readability and consistency
Oct 22, 2024
2e8730d
Refactor installer.sh to improve parameter handling and region code h…
Oct 23, 2024
6c5f38e
Refactor installer.sh to improve parameter handling and region code h…
Oct 23, 2024
47a2d14
Refactor installer.sh to remove unnecessary echo statements
Oct 23, 2024
7234ec3
Refactor installer.sh to improve parameter handling and region code h…
Oct 23, 2024
e5e34ec
Refactor storage_accounts.tf to include var.use_private_endpoint in t…
Oct 23, 2024
e1c5a6c
Refactor storage_accounts.tf to include var.use_private_endpoint in t…
Oct 23, 2024
160cf78
Keyvault network rules
Oct 23, 2024
3ad26a8
Refactor key_vault_sap_landscape.tf to include var.enable_firewall_fo…
Oct 23, 2024
6101502
Refactor installer.sh to handle empty SPN secret in set_executing_use…
Oct 23, 2024
a26dbb9
Refactor installer.sh to handle empty SPN secret in set_executing_use…
Oct 23, 2024
1589239
Refactor module.tf to include enable_firewall_for_keyvaults_and_stora…
Oct 23, 2024
f3c0a77
Refactor installer.sh to handle empty SPN secret in set_executing_use…
Oct 23, 2024
df8322e
Add Terraform output detaisl
Oct 23, 2024
745667c
Refactor Terraform plugin cache directory handling
Oct 23, 2024
3ef7247
Refactor Terraform destroy command in remover.sh
Oct 23, 2024
a9ec661
Refactor Terraform destroy command in remover.sh
Oct 23, 2024
f32d312
Refactor echo statement in deploy pipeline to include return code fro…
Oct 23, 2024
f0cac1e
Refactor echo statement in deploy pipeline to include return code fro…
Oct 23, 2024
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The framework uses Terraform for infrastructure deployment, and Ansible for the

## Enterprise-scale - Reference Implementation

![Ansible Lint](https://github.com/Azure/sap-automation/workflows/Ansible%20Lint/badge.svg) [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/azure/sap-automation.svg)](http://isitmaintained.com/project/azure/sap-automation "Average time to resolve an issue") [![Percentage of issues still open](http://isitmaintained.com/badge/open/azure/sap-automation.svg)](http://isitmaintained.com/project/azure/sap-automation "Percentage of issues still open")
![Ansible Lint](https://github.com/Azure/sap-automation/workflows/Ansible%20Lint/badge.svg) [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/azure/sap-automation.svg)](http://isitmaintained.com/project/azure/sap-automation "Average time to resolve an issue") [![Percentage of issues still open](http://isitmaintained.com/badge/open/azure/sap-automation.svg)](http://isitmaintained.com/project/azure/sap-automation "Percentage of issues still open") [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/Azure/sap-automation/badge)](https://scorecard.dev/viewer/?uri=github.com/Azure/sap-automation)

## Partnership

Expand Down
12 changes: 6 additions & 6 deletions Webapp/SDAF/SDAFWebApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@

<ItemGroup>
<PackageReference Include="Azure.Data.Tables" Version="12.9.1" />
<PackageReference Include="Azure.Identity" Version="1.12.1" />
<PackageReference Include="Azure.Identity" Version="1.13.0" />
<PackageReference Include="Azure.ResourceManager" Version="1.13.0" />
<PackageReference Include="Azure.ResourceManager.Compute" Version="1.6.0" />
<PackageReference Include="Azure.ResourceManager.KeyVault" Version="1.3.0" />
<PackageReference Include="Azure.ResourceManager.Network" Version="1.9.0" />
<PackageReference Include="Azure.ResourceManager.Resources" Version="1.9.0" />
<PackageReference Include="Azure.ResourceManager.Storage" Version="1.3.0" />
<PackageReference Include="Azure.Storage.Blobs" Version="12.22.1" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.AzureAD.UI" Version="6.0.33" />
<PackageReference Include="Microsoft.Extensions.Azure" Version="1.7.5" />
<PackageReference Include="Microsoft.Identity.Web" Version="3.2.0" />
<PackageReference Include="Microsoft.Identity.Web.UI" Version="3.2.0" />
<PackageReference Include="Azure.Storage.Blobs" Version="12.22.2" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.AzureAD.UI" Version="6.0.35" />
<PackageReference Include="Microsoft.Extensions.Azure" Version="1.7.6" />
<PackageReference Include="Microsoft.Identity.Web" Version="3.2.2" />
<PackageReference Include="Microsoft.Identity.Web.UI" Version="3.2.2" />
<PackageReference Include="Microsoft.VisualStudio.Services.InteractiveClient" Version="19.241.0-preview" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.4" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
Expand Down
8 changes: 8 additions & 0 deletions deploy/ansible/roles-os/1.1-swap/defaults/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# TODO: Maybe move these to a group_vars/all/distro file so that they
# can be shared by all playbooks/tasks automatically, and extend with
# standardised versions of all similar patterns used in the playbooks.
# Changed from ansible_os_family to ansible_distribution to adopt Oracle Linux. os_family returns returns value Redhat by default.
distro_name: "{{ ansible_distribution | upper }}-{{ ansible_distribution_major_version }}"
distribution_id: "{{ ansible_distribution | lower ~ ansible_distribution_major_version }}"
distribution_full_id: "{{ ansible_distribution | lower ~ ansible_distribution_version }}"
3 changes: 1 addition & 2 deletions deploy/ansible/roles-os/1.1-swap/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@
state: latest
environment:
ZYPP_LOCK_TIMEOUT: "20"

when:
- ansible_os_family == 'Suse'
- distribution_id == 'sles_sap15'
tags:
- skip_ansible_lint

Expand Down
2 changes: 1 addition & 1 deletion deploy/ansible/vars/ansible-input-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ become_user_name: root
oracle_user_name: oracle
orchestration_ansible_user: azureadm
# ------------------- Begin - SDAF Ansible Version ---------------------------8
SDAF_Version: "3.13.0.0"
SDAF_Version: "3.13.1.0"

# ------------------- End - SDAF Ansible Version ---------------------------8

Expand Down
2 changes: 1 addition & 1 deletion deploy/configs/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.13.0.0
3.13.1.0
1,106 changes: 588 additions & 518 deletions deploy/pipelines/01-deploy-control-plane.yaml

Large diffs are not rendered by default.

623 changes: 324 additions & 299 deletions deploy/pipelines/02-sap-workload-zone.yaml

Large diffs are not rendered by default.

87 changes: 49 additions & 38 deletions deploy/pipelines/03-sap-system-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,11 @@ stages:
NETWORK=$(grep "^network_logical_name" $HOME_CONFIG/SYSTEM/$(sap_system_folder)/$(sap_system_configuration) | awk -F'=' '{print $2}' | xargs)
SID=$(grep "^sid" $HOME_CONFIG/SYSTEM/$(sap_system_folder)/$(sap_system_configuration) | awk -F'=' '{print $2}' | xargs)

echo "Environment: $ENVIRONMENT"
echo "Location: $LOCATION"
echo "Network: $NETWORK"
echo "SID: $SID"
echo "System TFvars $sap_system_configuration"
echo ""
echo "Agent: $(this_agent)"
echo "Organization: $(System.CollectionUri)"
echo "Project: $(System.TeamProject)"
echo ""
echo "Azure CLI version:"
echo "-------------------------------------------------"
az --version
echo "Environment: $ENVIRONMENT"
echo "Location: $LOCATION"
echo "Network: $NETWORK"
echo "SID: $SID"
echo "System TFvars: $(sap_system_configuration)"

ENVIRONMENT_IN_FILENAME=$(echo $(sap_system_folder) | awk -F'-' '{print $1}' | xargs) ;
LOCATION_CODE=$(echo $(sap_system_folder) | awk -F'-' '{print $2}' | xargs) ;
Expand Down Expand Up @@ -191,10 +183,20 @@ stages:
*) LOCATION_IN_FILENAME="westeurope" ;;
esac

echo "Environment(filename): $ENVIRONMENT_IN_FILENAME"
echo "Location(filename): $LOCATION_IN_FILENAME"
echo "Network(filename): $NETWORK_IN_FILENAME"
echo "SID(filename): $SID_IN_FILENAME"
echo "Environment(filename): $ENVIRONMENT_IN_FILENAME"
echo "Location(filename): $LOCATION_IN_FILENAME"
echo "Network(filename): $NETWORK_IN_FILENAME"
echo "SID(filename): $SID_IN_FILENAME"

echo ""
echo "Agent: $(this_agent)"
echo "Organization: $(System.CollectionUri)"
echo "Project: $(System.TeamProject)"
echo ""
echo "Azure CLI version:"
echo "-------------------------------------------------"
az --version


if [ $ENVIRONMENT != $ENVIRONMENT_IN_FILENAME ]; then
echo "##vso[task.logissue type=error]The environment setting in $(sap_system_configuration) '$ENVIRONMENT' does not match the $(sap_system_configuration) file name '$ENVIRONMENT_IN_FILENAME'. Filename should have the pattern [ENVIRONMENT]-[REGION_CODE]-[NETWORK_LOGICAL_NAME]-[SID]"
Expand Down Expand Up @@ -231,18 +233,20 @@ stages:
fi
echo -e "$green--- Configure devops CLI extension ---$reset"

az config set extension.use_dynamic_install=yes_without_prompt --output none
az config set extension.use_dynamic_install=yes_without_prompt --output none --only-show-errors

az extension add --name azure-devops --output none
az extension add --name azure-devops --output none --only-show-errors

az devops configure --defaults organization=$(System.CollectionUri) project='$(System.TeamProject)' --output none
az devops configure --defaults organization=$(System.CollectionUri) project='$(System.TeamProject)' --output none --only-show-errors

export VARIABLE_GROUP_ID=$(az pipelines variable-group list --query "[?name=='$(variable_group)'].id | [0]")
echo '$(variable_group) id: ' $VARIABLE_GROUP_ID

if [ -z ${VARIABLE_GROUP_ID} ]; then
echo "##vso[task.logissue type=error]Variable group $(variable_group) could not be found."
exit 2
fi
printf -v val '%-15s' "$(variable_group) id:"
echo "$val $VARIABLE_GROUP_ID"
echo -e "$green--- Login ---$reset"

if [ -z $USE_MSI ]; then
Expand All @@ -256,7 +260,8 @@ stages:
fi

if [ $USE_MSI != "true" ]; then
echo "Using SPN"
echo "Deployment credentials: Service Principal"
echo "Deployment credential ID (SPN): $WL_ARM_CLIENT_ID"

export ARM_CLIENT_ID=$WL_ARM_CLIENT_ID
export ARM_CLIENT_SECRET=$WL_ARM_CLIENT_SECRET
Expand All @@ -271,6 +276,7 @@ stages:
exit $return_code
fi
else
echo "Deployment credentials: Managed Identity"
export ARM_USE_MSI=true
export ARM_SUBSCRIPTION_ID=$WL_ARM_SUBSCRIPTION_ID
unset ARM_TENANT_ID
Expand All @@ -280,48 +286,53 @@ stages:
echo -e "$green--- Define variables ---$reset"
cd $HOME_CONFIG/SYSTEM/$(sap_system_folder)

az_var=$(az pipelines variable-group variable list --group-id ${VARIABLE_GROUP_ID} --query "Terraform_Remote_Storage_Subscription.value" | tr -d \")
az_var=$(az pipelines variable-group variable list --group-id ${VARIABLE_GROUP_ID} --query "Terraform_Remote_Storage_Subscription.value" --out tsv)
if [ -z ${az_var} ]; then
export STATE_SUBSCRIPTION=$(grep STATE_SUBSCRIPTION ${environment_file_name} | awk -F'=' '{print $2}' | xargs) ; echo 'Terraform state file subscription' $STATE_SUBSCRIPTION
export STATE_SUBSCRIPTION=$(grep STATE_SUBSCRIPTION ${environment_file_name} | awk -F'=' '{print $2}' | xargs)
else
export STATE_SUBSCRIPTION=${az_var} ; echo 'Terraform state file subscription' $STATE_SUBSCRIPTION
export STATE_SUBSCRIPTION=${az_var}
fi

az_var=$(az pipelines variable-group variable list --group-id ${VARIABLE_GROUP_ID} --query "Terraform_Remote_Storage_Account_Name.value" | tr -d \")
az_var=$(az pipelines variable-group variable list --group-id ${VARIABLE_GROUP_ID} --query "Terraform_Remote_Storage_Account_Name.value" --out tsv)
if [ -z ${az_var} ]; then
export REMOTE_STATE_SA=$(grep REMOTE_STATE_SA ${environment_file_name} | awk -F'=' '{print $2}' | xargs) ; echo 'Terraform state file storage account' $REMOTE_STATE_SA
export REMOTE_STATE_SA=$(grep REMOTE_STATE_SA ${environment_file_name} | awk -F'=' '{print $2}' | xargs)
else
export REMOTE_STATE_SA=${az_var} ; echo 'Terraform state file storage account' $REMOTE_STATE_SA
export REMOTE_STATE_SA=${az_var}
fi

az_var=$(az pipelines variable-group variable list --group-id ${VARIABLE_GROUP_ID} --query "Deployer_State_FileName.value" | tr -d \")
az_var=$(az pipelines variable-group variable list --group-id ${VARIABLE_GROUP_ID} --query "Deployer_State_FileName.value" --out tsv)
if [ -z ${az_var} ]; then
export deployer_tfstate_key=$(grep deployer_tfstate_key ${environment_file_name} | awk -F'=' '{print $2}' | xargs) ; echo 'Deployer State File' $deployer_tfstate_key
export deployer_tfstate_key=$(grep deployer_tfstate_key ${environment_file_name} | awk -F'=' '{print $2}' | xargs)
else
export deployer_tfstate_key=${az_var} ; echo 'Deployer State File' $deployer_tfstate_key
export deployer_tfstate_key=${az_var}
fi

az_var=$(az pipelines variable-group variable list --group-id ${VARIABLE_GROUP_ID} --query "${NETWORK}"Workload_Zone_State_FileName.value | tr -d \")
if [ -z ${az_var} ]; then
export landscape_tfstate_key=$(grep landscape_tfstate_key= ${environment_file_name} | awk -F'=' '{print $2}' | xargs) ; echo 'landscape_tfstate_key' $landscape_tfstate_key
export landscape_tfstate_key=$(grep landscape_tfstate_key= ${environment_file_name} | awk -F'=' '{print $2}' | xargs)
else
export landscape_tfstate_key=${az_var} ; echo 'landscape_tfstate_key' $landscape_tfstate_key
export landscape_tfstate_key=${az_var}
fi

az_var=$(az pipelines variable-group variable list --group-id ${VARIABLE_GROUP_ID} --query "Deployer_Key_Vault.value" | tr -d \")
az_var=$(az pipelines variable-group variable list --group-id ${VARIABLE_GROUP_ID} --query "Deployer_Key_Vault.value" --out tsv)
if [ -z ${az_var} ]; then
export key_vault=$(grep keyvault= ${environment_file_name} | awk -F'=' '{print $2}' | xargs) ; echo 'Deployer Key Vault' $key_vault
export key_vault=$(grep keyvault= ${environment_file_name} | awk -F'=' '{print $2}' | xargs)
else
export key_vault=${az_var} ; echo 'Deployer Key Vault' $key_vault
export key_vault=${az_var}
fi

az_var=$(az pipelines variable-group variable list --group-id ${VARIABLE_GROUP_ID} --query "${NETWORK}"Workload_Key_Vault.value | tr -d \")
if [ -z ${az_var} ]; then
export workload_key_vault=$(grep workloadkeyvault= ${environment_file_name} | awk -F'=' '{print $2}' | xargs) ; echo 'Workload Key Vault' ${workload_key_vault}
export workload_key_vault=$(grep workloadkeyvault= ${environment_file_name} | awk -F'=' '{print $2}' | xargs)
else
export workload_key_vault=${az_var} ; echo 'Workload Key Vault' ${workload_key_vault}
export workload_key_vault=${az_var}
fi

echo "Deployer state file: $deployer_tfstate_key"
echo "Deployer Key Vault: $key_vault"
echo "Workload Zone state file: $landscape_tfstate_key"
echo "Workload Zone Key Vault: $workload_key_vault"

echo -e "$green--- Run the installer script that deploys the SAP System ---$reset"

$SAP_AUTOMATION_REPO_PATH/deploy/scripts/installer.sh --parameterfile $(sap_system_configuration) --type sap_system \
Expand Down
2 changes: 1 addition & 1 deletion deploy/pipelines/04-sap-software-download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ stages:
echo "##vso[task.logissue type=error]Variable group $(variable_group) could not be found."
exit 2
fi
az_var=$(az pipelines variable-group variable list --group-id ${VARIABLE_GROUP_ID} --query "Deployer_Key_Vault.value" | tr -d \")
az_var=$(az pipelines variable-group variable list --group-id ${VARIABLE_GROUP_ID} --query "Deployer_Key_Vault.value" --out tsv)
if [ -n ${az_var} ]; then
kv_name=${az_var}; echo "Key Vault="$kv_name
else
Expand Down
Loading