Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Refactor nuget operations out of psartifactutility #436

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ab60ff8
Secure the links
RDIL Jan 10, 2019
0d77cf1
Throw error when Test-ModuleManifest fails in Update-ModuleManifest
throwaway774 Jan 11, 2019
e454bd6
filter out hidden files from nupkg (#396)
edyoung Jan 14, 2019
e2c81de
Adding support for PowerShellGet switches (#347)
mrhockeymonkey Jan 14, 2019
c1f05eb
File renaming to PowerShellGet and Code cleanup, added some best prac…
Outek Jan 17, 2019
c3c8a45
Now removes the PSGet_ prepended to line 2 in the updated manifest. (…
ThePoShWolf Jan 19, 2019
5a51ee6
Added basic test case to demonstrate repository / problem
edyoung Jan 23, 2019
4cc6d80
Proposed fix for location issues
edyoung Jan 24, 2019
437b0ba
do-nothing update to tickle appveyor
edyoung Jan 24, 2019
24cdf82
Fix for not being able to register PSGallery repository behind web pr…
muzzar78 Jan 29, 2019
3f6f735
Allow Update-ModuleManifest to take an empty array of functions or co…
Feb 4, 2019
73e6f87
Updated CI pipeline for testing PSModule DSC resources (#413)
johlju Feb 6, 2019
8c6ed52
Fix Update-ModuleManifest clears FunctionsToExport, AliasesToExport, …
Feb 10, 2019
cfdc6c7
Fix bug #9, use utf8 for .nuspec
edyoung Feb 11, 2019
041cb48
Fix #36 Allow piping psrepositories (#420)
edyoung Feb 11, 2019
cb52f79
PSModule: Clean up code (#424)
johlju Feb 18, 2019
1c677b8
PSRepository: New DSC resource (#426)
johlju Feb 18, 2019
1ed4914
Add DSC Unit tests to BVT
mgreenegit Feb 21, 2019
6b13c51
Merge pull request #428 from mgreenegit/DSC-BVTtags-1
edyoung Feb 22, 2019
87783e9
Cleaned up Travis CI config (#429)
RDIL Feb 23, 2019
6926ad4
Fix #78 (#421)
edyoung Feb 25, 2019
b9fba01
Update version and changelog (#430)
alerickson Feb 26, 2019
406eae1
Add config files for Azure DevOps code signing (#432)
alerickson Mar 1, 2019
27451fe
Update code-signing config file (#434)
alerickson Mar 9, 2019
5208ebd
Merge pull request #1 from PowerShell/development
Benny1007 Mar 9, 2019
4da5caa
Merge branch 'master' of https://github.com/PowerShell/PowerShellGet …
Benny1007 Mar 9, 2019
4c6ddfb
Refactor nuget operations out of psartifactutility
Benny1007 Mar 11, 2019
1e1719d
Merge remote-tracking branch 'upstream/development' into development
Benny1007 Mar 13, 2019
b4b302e
Merge branch 'development' into fix#335/refactor-nuget-psartifact-uti…
Benny1007 Mar 13, 2019
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
Prev Previous commit
Next Next commit
Updated CI pipeline for testing PSModule DSC resources (#413)
  • Loading branch information
johlju authored and alerickson committed Feb 21, 2019
commit 73e6f87c85371b97e8bbc3111034417fbe3fee6d
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -269,3 +269,7 @@ FakesAssemblies/
*.xproj
*.xproj.user
*.suo

# Ignore DscResource.Tests repository when it is cloned
# when running DSC resource unit tests locally.
DSC/DscResource.Tests
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,34 @@
# Changelog

## Unreleased

* Update the AppVeyor CI test pipeline with a new job to run tests for
the DSC resources, primarily for the resource `PSModule`.
The new job uses the test framework used for the DSC Resource Kit,
the [DscResource.Tests](https://github.com/PowerShell/DscResource.Tests) repository.
* Update .gitignore to ignore the [DscResource.Tests](https://github.com/PowerShell/DscResource.Tests)
test framework. When running unit test locally it is cloned into the
local repository folder.
* Added module PowerShellGet.LocalizationHelper containing localization
helper functions for DSC resources, and unit tests for the helper
functions.
* Moved helper functions for the DSC resource `PSModule` to the module
PowerShellGet.ResourceHelper. Added improved localization support, and
code formatting against workspace VS Code settings.
* Changes to PSModule.
* Added improved localization support.
* Changed type on the parameters that had `[Switch]` to correctly use
`Systen.Boolean` to match the schema.mof.
* Code formatting against workspace VS Code settings.
* Added unit tests.
* Added integration tests
* It is now possible to install a module and passing in `AllowClobber`
when the modules package source is trusted (it already worked in
other scenarios).
* Changed the AppVeyor CI build pipeline so it added the DSC resource
`PSModule` and dependent helper modules (the `Modules` folder) to the
AppVeyor artifact.

## 2.0.4
Bug Fix
* Remove PSGallery availability checks (#374)
Expand Down
63 changes: 63 additions & 0 deletions DSC/DSC.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<#
This is a dummy PowerShell manifest file so that the DscResource.Tests
test framework recognize the module folder as correct (expected) folder
and file structure.
THIS FILE IS NOT USE DURING DEPLOYMENT.
#>
@{
# Version number of this module.
moduleVersion = '0.0.0.1'

# ID used to uniquely identify this module
GUID = 'e102ebd2-bdc3-4d0f-bc93-4b8cc3eb7074'

# Author of this module
Author = 'Microsoft Corporation'

# Company or vendor of this module
CompanyName = 'Microsoft Corporation'

# Copyright statement for this module
Copyright = '(c) 2019 Microsoft Corporation. All rights reserved.'

# Description of the functionality provided by this module
Description = 'Module with DSC Resources for deployment of PowerShell modules.'

# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '5.0'

# Minimum version of the common language runtime (CLR) required by this module
CLRVersion = '4.0'

# Functions to export from this module
FunctionsToExport = @()

# Cmdlets to export from this module
CmdletsToExport = @()

RequiredAssemblies = @()

<#
Private data to pass to the module specified in RootModule/ModuleToProcess.
This may also contain a PSData hashtable with additional module metadata used by PowerShell.
#>
PrivateData = @{

PSData = @{

# Tags applied to this module. These help with module discovery in online galleries.
Tags = @('DesiredStateConfiguration', 'DSC', 'DSCResource')

# A URL to the license for this module.
LicenseUri = 'https://github.com/PowerShell/PowerShellGet/blob/master/LICENSE'

# A URL to the main website for this project.
ProjectUri = 'https://github.com/PowerShell/PowerShellGet'

# ReleaseNotes of this module
ReleaseNotes = ''

} # End of PSData hashtable

} # End of PrivateData hashtable
}
Loading