Skip to content

adding commit requirements #16

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

Merged
merged 2 commits into from
Mar 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 @@ -3,7 +3,7 @@
[![ActionsTest-Windows-pwsh-Build](https://github.com/Azure/ALZ-PowerShell-Module/actions/workflows/wf_Windows_Core.yml/badge.svg?branch=main)](https://github.com/Azure/ALZ-PowerShell-Module/actions/workflows/wf_Windows_Core.yml)
[![license](https://img.shields.io/badge/License-MIT-purple.svg)](LICENSE)

![Logo](./docs/ALZLogo-Small.png)
![Logo](./docs/ALZLogo.png)

## Synopsis

Expand Down
Binary file added docs/ALZLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/rsz_alzlogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 10 additions & 4 deletions src/ALZ/ALZ.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,14 @@

PSData = @{

Name = "ALZ"

# Tags applied to this module. These help with module discovery in online galleries.
# Tags = @()
Tags = @(
'Azure'
'LandingZones'
'ALZ'
)

# A URL to the license for this module.
LicenseUri = 'https://github.com/Azure/ALZ-PowerShell-Module/blob/initial_module_config/LICENSE'
Expand All @@ -112,13 +118,13 @@
ProjectUri = 'https://github.com/Azure/ALZ-Powershell-Module'

# A URL to an icon representing this module.
# IconUri = ''
IconUri = 'https://raw.githubusercontent.com/Azure/ALZ-PowerShell-Module/main/docs/rsz_alzlogo.png?token=GHSAT0AAAAAACAOIZ6NBDR7MPRSCNBS3RQUZA4IYUQ'

# ReleaseNotes of this module
# ReleaseNotes = ''
ReleaseNotes = 'Thsi is the first release of the ALZ PowerShell Module. This module is currently in preview and is subject to change.'

# Prerelease string of this module
# Prerelease = ''
Prerelease = 'beta'

# Flag to indicate whether the module requires explicit user acceptance for install/update/save
# RequireLicenseAcceptance = $false
Expand Down
4 changes: 2 additions & 2 deletions src/ALZ/Public/New-ALZEnvironment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function New-ALZEnvironment {

if ($alzIacProvider -eq "terraform") {
Write-InformationColored "Terraform is not yet supported." -ForegroundColor Red -InformationAction Continue
return $false
return
}

if ($PSCmdlet.ShouldProcess("ALZ-Bicep module configuration", "modify")) {
Expand All @@ -68,5 +68,5 @@ function New-ALZEnvironment {
}
}

return $true
return
}
4 changes: 1 addition & 3 deletions src/Tests/Unit/Public/New-ALZEnvironment.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ InModuleScope 'ALZ' {
}

It 'should return the output directory on completion' {
$result = New-ALZEnvironment
$result | Should -Be $true

New-ALZEnvironment
Assert-MockCalled -CommandName Edit-ALZConfigurationFilesInPlace -Exactly 1
}

Expand Down