Граф коммитов

434 Коммитов

Автор SHA1 Сообщение Дата
github-actions[bot] 110927490b
Bump Dependencies (#596)
* Update AzOps.psd1

* fix all the things

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Johan Dahlbom <johan@dahlbom.eu>
2022-04-20 13:44:21 +02:00
Jesper Fajers 6df218c414
RemoveFile (#594) 2022-04-14 11:20:58 +02:00
Stefan Ivemo 75cfa9ab54
Added wiki article with guidance for running self-hosted agents/runners (#590)
* Added wiki article with guidance for running self-hosted agents/runners

* Added github cli

* Removed versions added benefits
2022-04-14 08:23:59 +02:00
Somil Ganguly 854aafacdf
Fix to VNet modules templates (#584)
* Remove id filter from virtualNetwork.jq

* Remove lines
2022-04-06 20:51:50 +02:00
github-actions[bot] ac67ba5f78
Update AzOps.psd1 (#580)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-14 21:10:23 +00:00
Jesper Fajers c5a62f35fa
Initial maximum length logic (#579) 2022-03-14 17:38:53 +01:00
github-actions[bot] 9e505bf9ce
Update AzOps.psd1 (#573)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-04 11:28:20 +00:00
github-actions[bot] 313196497b
Update AzOps.psd1 (#572)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-04 11:52:32 +01:00
Johan Dahlbom f6cbd78460
added default statement to switch to catch _any_ principaltype not specifically covered (#571) 2022-03-04 09:38:17 +01:00
Jesper Fajers 7263ee11ec
New-AzOpsScope Strings Update (#570) 2022-03-03 14:20:00 +01:00
Jesper Fajers 7269256388
PSFMessage level update (#568)
* PSFMessage level update

* PSFMessage level update 2

* PSFMessage level update 3

* PSFMessage level update 4
2022-03-01 09:30:49 +01:00
Somil Ganguly 2d2317cb81
Sogangul az ops pull fail wiki update (#567)
* Update Frequently-Asked-Questions.md

* Updated with images

* Removed trailing spaces

* Update wording

Co-authored-by: RakshanaShanmugam <88823550+RakshanaShanmugam@users.noreply.github.com>
Co-authored-by: Jesper Fajers <jesper@fajers.se>
2022-02-28 12:58:07 +01:00
github-actions[bot] 019330a096
Update AzOps.psd1 (#565)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-18 18:05:18 +00:00
Jesper Fajers de9fad9bb5
Resource deletion - exemptions (#564)
* InitialBaseUpdate

* policyExemptions - Deletion

* policyExemptions - Deletion Update

* policyExemptions - Deletion Update 2

* Update src/functions/Invoke-AzOpsPush.ps1

Co-authored-by: Johan Dahlbom <johan@dahlbom.eu>

* Exemption Clean

Co-authored-by: Johan Dahlbom <johan@dahlbom.eu>
2022-02-18 18:55:51 +01:00
github-actions[bot] 773ae2dd42
Update AzOps.psd1 (#562)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-15 13:02:26 +01:00
Johan Dahlbom f169e1ef5d
Add GitHub bootstrap script for Portal deployment experience (#561)
* initial commit

* update

* update
2022-02-14 12:08:56 +01:00
Johan Dahlbom 7f2edbf37d
Add suffix to deploymentname and additional parameter validation (#560) 2022-02-13 04:05:12 +01:00
Johan Dahlbom 9cf0e911f0
AzContext change for resource/resourceGroup discovery (#559) 2022-02-09 21:27:49 +01:00
github-actions[bot] b34748f890
Update AzOps.psd1 (#556)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-09 17:37:54 +01:00
Johan Dahlbom 27b0b126e2
Added support/guidance for sovereign clouds (#554)
* update hardcoded location

* added docs
2022-02-04 17:23:07 +01:00
Emil Gullbrandsson 8bea4a5183
updated documentation for build service permission (#553)
Co-authored-by: EGullbrandsson <emil.gullbrandsson@advania.com>
2022-02-04 16:19:20 +01:00
github-actions[bot] f3c64526a1
Update AzOps.psd1 (#551)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-01 08:10:03 +00:00
Johan Dahlbom 43ec2fc193
Expand Validate/WhatIf deployment error handling for WhatIf prediction failures (#549)
* Initial commit

* update

* added templatepath

* update with templatepath context

* Add rg and sub
2022-02-01 08:57:22 +01:00
Stefan Ivemo 9b2d4a9799
Updated wiki prereqs to support use of managed identity (#543)
* Added docs for managed identity

* Updated prerequisites.md

* Updated Azure-Pipelines.md

* Updated prereqs

* Updated script to work with Managed Identity

* Added exceptions to markdownlint.yml

* restored markdown-lint.yml

* Added markdown linter exclusions

* Fixed markdown formatting

* markdown fixes

* Fixed markdown formatting

* markdown formatting

* Fixed textlint errors

* Fixed url formatting

* Fixed bare URL

* Added note about importance of pipeline order

Co-authored-by: Johan Dahlbom <johan@dahlbom.eu>
2022-01-27 21:57:23 +01:00
Stefan Ivemo 6a05bedde4
Added markdown linter exclusions (#547) 2022-01-26 21:24:33 +01:00
Johan Dahlbom c711fd6003
Fix managed identity lookup in Remove-AzOpsDeployment (#546)
* break out to separate function

* fix encoding

* update synopsis

* property fix

* adding tests for deletion
2022-01-26 19:43:54 +01:00
Jan Sandquist 39b57b66bb
Updated jq filter for policyAssignments with UMI (#539)
* updated jq filter for policyAssignments with UMI

1) identity.PrincipalId and identity.TenantId is null in this case and can be removed
2) UserAssignedIdentities should only contain "the resource exisiting property" (sic) so removing PrincipalId and ClientId from it

* Update src/data/template/Microsoft.Authorization/policyAssignments.template.jq

Co-authored-by: Johan Dahlbom <johan@dahlbom.eu>
2022-01-18 10:11:22 +01:00
Johan Dahlbom 0a14572909
Added integration tests for AzOps-Push (#540) 2022-01-17 19:09:30 +01:00
Jesper Fajers 0f939e02a8
Update PULL_REQUEST_TEMPLATE.md (#536) 2022-01-14 17:38:58 +01:00
github-actions[bot] 7e6cc7126d
Update AzOps.psd1 (#535)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-01-14 15:29:48 +00:00
Johan Dahlbom 84bf460695
Added call to imds to get appid from mi (#534) 2022-01-14 15:37:59 +01:00
Johan Dahlbom d8ed15eeb2
Update jq filter for policyAssignments to exclude UMI and change IdentityType to Type (#530)
* updated jq filter for policyAssignments

* update jq filter to change identitytype to type
2022-01-14 12:53:04 +01:00
Johan Dahlbom 676f86aba4
Revert OIDC test (#528)
* update

* update

* update

* Update
2022-01-13 17:51:11 +01:00
Jesper Fajers 8766d699a6
Adding linting for Markdown files (#527)
* LintingAdd

* Update OIDC

* Add-Markdown-ConfigOverride

* UpdateLinterTrigger

* UpdateTrigger0

* TriggerCut

Co-authored-by: Johan Dahlbom <johan@dahlbom.eu>
2022-01-13 14:56:46 +01:00
Stefan Ivemo 1087a72a58
Added replace to support spaces in parameter file names (#522)
* Added replace to support spaces in parameter file names

* Updated according to feedback
2022-01-13 14:23:51 +01:00
Somil Ganguly 34d1a8e625
Enable support for child resource discovery (#494)
* Added logic to Discover Extended ChildResources

* Updated Wiki and pfmessages in code

* Updated spacing and comment

* Updated Wiki

* resolved wiki comments

* Added WhatifExcludedChangeTypes to settings.md

* added child Resouces logic to parallel loop

* Updated write-pfmessage

* add tests

* fix typo

* Moved jsonconvert logic to ConverTo-AzOpsstate

* update

* Update Settings

* Update settings 2

* namechange

* update

* last naming changes

* added defaultprofile to export-azresourcegroup

* Removing unneccesary parameter from Get-AzOpsResourceDefinition

Co-authored-by: Johan Dahlbom <johan@dahlbom.eu>
Co-authored-by: Jesper Fajers <jesper@fajers.se>
2022-01-13 12:30:50 +01:00
github-actions[bot] d5f9275a27
Update AzOps.psd1 (#519)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-01-05 08:46:20 +00:00
Simon Wåhlin ce89a9a4d4
Update docs to cover new pipeline config (#514)
* Update docs to cover new pipeline config

* Improve instructions after further testing

- Move post configuration common for script and portal to own section
- Add explaination to script and required permissions
- Change order of configuration in script to accomodate for dependencies
- Add access to bypass policy for PR to build service

* Add path filter to build validation policy

* Fix after feedback
2022-01-04 14:20:51 +01:00
github-actions[bot] f67d6054ca
Bump Dependencies (#498)
* Update AzOps.psd1

* Suppress MSGraphMessageHelper warning message

* Update to latest az.accounts/az.resources

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Johan Dahlbom <johan@dahlbom.eu>
2022-01-04 12:21:23 +01:00
Johan Dahlbom 01577a3659
Update test to catch tabs or spaces on empty lines (#518)
* update test to catch tabs or spaces on empty lines

* update debug file
2022-01-03 19:25:10 +01:00
Jesper Fajers a461cee814
Retiring legacy setting Core.AllInOneTemplate (#517)
* cleanup

* Removed-lingeringobjects
2022-01-03 16:45:11 +01:00
Johan Dahlbom fc63ae57cf
Condition to avoid duplicate bicep deployments (#516) 2022-01-03 11:34:19 +01:00
Johan Dahlbom 3246ec89af
PowerShell 7.2 requirement and PSStyle.OutputRendering set to Host (#513)
* update

* Clear whitespace and update test to make the error message more clear
2022-01-03 09:32:01 +01:00
Jesper Fajers e5908199f4
Expanded Pester automated integration testing (#493)
* Update

* UpdatePullScope

* UpdateWait

* Remove Az.Network

* Remove force

* Set-repo-trusted

* Debug

* AddtoLower

* Pester integration test (#1)

* context

* typo

* update

* plz

* now is the time

* update

* update

* update

Co-authored-by: Johan Dahlbom <johan@dahlbom.eu>

* updatetimeout

* addingmoretrycatch

* moresleep

Co-authored-by: Johan Dahlbom <johan@dahlbom.eu>
2021-12-29 11:58:43 +01:00
Johan Dahlbom abd3bc37ec
Handle runs from forks (#512) 2021-12-29 11:35:13 +01:00
Johan Dahlbom ba1b12d6a4
Move secrets to specific environment (#511) 2021-12-29 10:24:38 +01:00
Johan Dahlbom fcb40bc826
Moving tests to GitHub Actions (#510)
* initial commit
2021-12-29 09:54:49 +01:00
Stefan Ivemo cdf91264a7
Updated prereq scripts in Azure-Pipelines.md to match Prerequisites.md (#509)
* Updated prereq scripts in Azure-Pipelines.md to match Prerequisites.md
2021-12-28 21:53:37 +01:00
Stefan Ivemo 93d6da3808
Added missing module to prerequisites PS script (#508)
* Added missing module Microsoft.Graph.Applications to prereqs
2021-12-28 21:48:52 +01:00
Jason Brisbin 6cdd417036
Adding support for filtering whatif json output (#482)
* Adding support for filtering whatif results using the ExcludeChangeType parameter for the Get-Az****DeploymentWhatIfResult cmdlets. This is in response to issue 475 that I opened. I propose using a PSF config value for controlling this i.e. AzOps.Core.WhatifExcludedChangeTypes which would be an array containing the list of change types to exclude. https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deploy-what-if?tabs=azure-powershell#change-types

Also I am suggesting a slight change to the formatting of output.json such that the output will be a valid JSON document when there is more than 1 template deployed with changes. Currently the file has a simple text append function which when processing multiple templates in a single run will produce a ill formatted document.
2021-12-27 09:14:50 +01:00