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

v2.10.1 #1318

Merged
merged 54 commits into from
May 27, 2024
Merged

v2.10.1 #1318

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
9e3d986
Update Tasks.md
fatherofinvention Apr 22, 2024
d26db35
Merge pull request #1290 from fatherofinvention/patch-1
Badgerati Apr 22, 2024
4fb43fe
#1296: add Test-Path when loading modules, and fix stack overflow for…
Badgerati May 12, 2024
ba76417
#1299: a Name property to WindowsAd, WindowsLocal, and UserFile auths
Badgerati May 21, 2024
a56eca6
#1112: alter Pode views doc page to use Get-LocalUser
Badgerati May 23, 2024
84b1338
#1296: splat PSBoundParameters instead of switching on PSParamName
Badgerati May 24, 2024
c8d5f32
Merge pull request #1302 from Badgerati/Issue-1112
Badgerati May 24, 2024
2dfe6e8
Merge branch 'develop' into Issue-1299
Badgerati May 24, 2024
aa2e0f6
Merge pull request #1301 from Badgerati/Issue-1299
Badgerati May 24, 2024
b03a156
Merge branch 'develop' into Issue-1296
Badgerati May 24, 2024
a8a0e12
Merge pull request #1300 from Badgerati/Issue-1296
Badgerati May 24, 2024
0993986
#1250, #1180: resolve a threading issue with secrets, handle SecretSt…
Badgerati May 25, 2024
676d321
Merge branch 'develop' into Issue-1250
Badgerati May 26, 2024
1462d37
#1250, #1180: minor doc tweaks, and unique-ify export lists
Badgerati May 26, 2024
da55d3d
Merge branch 'Issue-1250' of https://github.com/Badgerati/Pode into I…
Badgerati May 26, 2024
27a5fc3
#1250, #1180: set integration test port to 60000, add retry around pw…
Badgerati May 26, 2024
059aa56
#1250, #1180: retry tool didnt support pwsh ....
Badgerati May 26, 2024
dd3830b
Merge pull request #1303 from Badgerati/Issue-1250
Badgerati May 26, 2024
e83078d
bring the pwsh installer in house, to make it more stable
Badgerati May 26, 2024
c60a7d7
-and not -or
Badgerati May 26, 2024
b81ce12
fix version splitting, and erroneous switch
Badgerati May 26, 2024
b5a3774
fix blob name
Badgerati May 26, 2024
9456555
fix sudo call
Badgerati May 26, 2024
d46476f
add inhouse action to all workflows, set versions as env vars
Badgerati May 26, 2024
f9ef9e4
minor debug lines
Badgerati May 26, 2024
9c070af
for windows, output the excluded port range to better help see why so…
Badgerati May 26, 2024
600a969
check pwsh version directly
Badgerati May 26, 2024
8248ea4
change int-test ports to 8080
Badgerati May 26, 2024
c9c4151
Merge pull request #1304 from Badgerati/pwsh_installer
Badgerati May 26, 2024
b7c7509
only run CI selectively, and not on every commit if not required
Badgerati May 26, 2024
0501f00
fix docsbuild when running fresh, stop choco progress output
Badgerati May 26, 2024
221d69f
add quiet flags for mkdocs and pip
Badgerati May 26, 2024
57e90e7
Merge pull request #1305 from Badgerati/selective_ci
Badgerati May 26, 2024
60767e4
bump the version of mkdocs/material
Badgerati May 26, 2024
cc68173
have dependabot ensure GH actions are up-to-date
Badgerati May 26, 2024
3be6806
Merge pull request #1309 from Badgerati/mkdocs-version
Badgerati May 26, 2024
0b81c88
Merge branch 'develop' into dependabot
Badgerati May 26, 2024
51462af
Merge pull request #1310 from Badgerati/dependabot
Badgerati May 26, 2024
409f821
Bump actions/add-to-project from 0.3.0 to 1.0.1
dependabot[bot] May 26, 2024
4f61c6a
Merge pull request #1311 from Badgerati/dependabot/github_actions/act…
Badgerati May 26, 2024
e6affda
adds auto release notes generator
Badgerati May 26, 2024
8d699eb
Merge pull request #1312 from Badgerati/release_notes
Badgerati May 26, 2024
d20b2d5
#1132: add docs for using cim modules
Badgerati May 26, 2024
8c1c33a
Merge pull request #1313 from Badgerati/Issue-1132
Badgerati May 26, 2024
d73d10f
#1306: bump dockerfiles to PS7.4
Badgerati May 26, 2024
57ede11
Merge pull request #1314 from Badgerati/Issue-1306
Badgerati May 26, 2024
7ac585b
#1307: remove PS7.3 and NET7, fix docker GH builds
Badgerati May 26, 2024
175da4c
#1307, #1189: error checks on docker builds, skip arm32 on GH due to …
Badgerati May 26, 2024
cb62105
Merge pull request #1315 from Badgerati/Issue-1307
Badgerati May 26, 2024
fddecd1
#1308: split the license file up, and add missing ones
Badgerati May 27, 2024
1b4ac4a
#1308: add docs about deps licenses
Badgerati May 27, 2024
3ec2052
Merge pull request #1316 from Badgerati/Issue-1308
Badgerati May 27, 2024
9a8c330
adds 2.10.1 release notes
Badgerati May 27, 2024
471fe76
Merge pull request #1317 from Badgerati/release_prep
Badgerati May 27, 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
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
18 changes: 16 additions & 2 deletions .github/workflows/PSScriptAnalyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,23 @@ name: PSScriptAnalyzer

on:
push:
branches: [ "develop" ]
branches:
- 'develop'
paths:
- 'src/**.ps1'
- 'src/*.psm1'
- 'src/*.psd1'
- 'PSScriptAnalyzerSettings.psd1'
- '.github/workflows/PSScriptAnalyzer.yml'
pull_request:
branches: [ "develop" ]
branches:
- 'develop'
paths:
- 'src/**.ps1'
- 'src/*.psm1'
- 'src/*.psd1'
- 'PSScriptAnalyzerSettings.psd1'
- '.github/workflows/PSScriptAnalyzer.yml'
schedule:
- cron: '20 16 * * 6'

Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/ci-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,25 @@ on:
branches:
- 'master'
- 'develop'
paths:
- 'src/**'
- 'tests/**'
- 'pode.build.ps1'
- '.github/workflows/ci-coverage.yml'
pull_request:
branches:
- '*'
paths:
- 'src/**'
- 'tests/**'
- 'pode.build.ps1'
- '.github/workflows/ci-coverage.yml'

env:
INVOKE_BUILD_VERSION: '5.11.1'

jobs:
build:

runs-on: ubuntu-latest

steps:
Expand All @@ -30,7 +42,7 @@ jobs:
- name: Install Invoke-Build
shell: pwsh
run: |
Install-Module -Name InvokeBuild -RequiredVersion '5.10.5' -Force
Install-Module -Name InvokeBuild -RequiredVersion $env:INVOKE_BUILD_VERSION -Force

- name: Run Pester Tests
shell: pwsh
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Pode CI - Docs

on:
push:
branches:
- '*'
- '!gh-pages'
paths:
- 'mkdocs.yml'
- 'mkdocs-overrides/**'
- 'docs/**'
- '.github/workflows/ci-docs.yml'
- 'pode.build.ps1'
- 'src/Pode.psd1'
pull_request:
branches:
- '*'
paths:
- 'mkdocs.yml'
- 'mkdocs-overrides/**'
- 'docs/**'
- '.github/workflows/ci-docs.yml'
- 'pode.build.ps1'
- 'src/Pode.psd1'

env:
INVOKE_BUILD_VERSION: '5.11.1'

jobs:
build:
runs-on: windows-latest

strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: Install Invoke-Build
shell: pwsh
run: |
Install-Module -Name InvokeBuild -RequiredVersion $env:INVOKE_BUILD_VERSION -Force

- name: Build Documentation
shell: pwsh
run: |
Invoke-Build DocsBuild
53 changes: 53 additions & 0 deletions .github/workflows/ci-no-build-needed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Pode CI - No Build Needed

on:
push:
branches:
- '*'
- '!gh-pages'
paths-ignore:
- 'mkdocs.yml'
- 'mkdocs-overrides/**'
- 'docs/**'
- 'src/**'
- 'tests/**'
- '.github/workflows/ci-docs.yml'
- '.github/workflows/ci-pwsh*.yml'
- '.github/workflows/ci-powershell.yml'
- '.github/workflows/ci-coverage.yml'
- '.github/workflows/PSScriptAnalyzer.yml'
- 'pode.build.ps1'
- 'Dockerfile'
- '*.dockerfile'
- 'PSScriptAnalyzerSettings.psd1'
pull_request:
branches:
- '*'
paths-ignore:
- 'mkdocs.yml'
- 'mkdocs-overrides/**'
- 'docs/**'
- 'src/**'
- 'tests/**'
- '.github/workflows/ci-docs.yml'
- '.github/workflows/ci-pwsh*.yml'
- '.github/workflows/ci-powershell.yml'
- '.github/workflows/ci-coverage.yml'
- '.github/workflows/PSScriptAnalyzer.yml'
- 'pode.build.ps1'
- 'Dockerfile'
- '*.dockerfile'
- 'PSScriptAnalyzerSettings.psd1'

jobs:
build:
runs-on: ubuntu-latest

strategy:
fail-fast: false

steps:
- name: Install Invoke-Build
shell: pwsh
run: |
Write-Host "No build needed for this commit"
24 changes: 21 additions & 3 deletions .github/workflows/ci-powershell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,25 @@ on:
branches:
- '*'
- '!gh-pages'
paths:
- 'src/**'
- 'tests/**'
- 'pode.build.ps1'
- '.github/workflows/ci-powershell.yml'
pull_request:
branches:
- '*'
paths:
- 'src/**'
- 'tests/**'
- 'pode.build.ps1'
- '.github/workflows/ci-powershell.yml'

env:
INVOKE_BUILD_VERSION: '5.11.1'

jobs:
build:

runs-on: windows-latest

strategy:
Expand All @@ -34,10 +46,16 @@ jobs:
shell: powershell
run: |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Install-Module -Name InvokeBuild -RequiredVersion '5.10.5' -Force
Install-Module -Name InvokeBuild -RequiredVersion $env:INVOKE_BUILD_VERSION -Force

- name: Run Pester Tests
shell: powershell
run: |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-Build Test
Invoke-Build Test

- name: Build Packages
shell: powershell
run: |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-Build Pack
54 changes: 40 additions & 14 deletions .github/workflows/ci-pwsh7_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,30 @@ on:
branches:
- '*'
- '!gh-pages'
paths:
- 'src/**'
- 'tests/**'
- 'pode.build.ps1'
- '.github/workflows/ci-pwsh7_2.yml'
- 'Dockerfile'
- '*.dockerfile'
pull_request:
branches:
- '*'
paths:
- 'src/**'
- 'tests/**'
- 'pode.build.ps1'
- '.github/workflows/ci-pwsh7_2.yml'
- 'Dockerfile'
- '*.dockerfile'

env:
INVOKE_BUILD_VERSION: '5.11.1'
POWERSHELL_VERSION: '7.2.19'

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
Expand All @@ -22,32 +39,41 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup Powershell
uses: bjompen/[email protected]
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
FixedVersion: '7.2.18'
dotnet-version: 8.0.x

- name: Check PowerShell version
- name: Setup Powershell - Unix
shell: pwsh
if: runner.os == 'Linux' || runner.os == 'macOS'
run: |
$PSVersionTable.PSVersion
Install-Module -Name InvokeBuild -RequiredVersion $env:INVOKE_BUILD_VERSION -Force
Invoke-Build SetupPowerShell -PowerShellVersion $env:POWERSHELL_VERSION

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Setup Powershell - Windows
shell: PowerShell
if: runner.os == 'Windows'
run: |
Install-Module -Name InvokeBuild -RequiredVersion $env:INVOKE_BUILD_VERSION -Force
Invoke-Build SetupPowerShell -PowerShellVersion $env:POWERSHELL_VERSION

- name: Output PowerShell version
shell: pwsh
run: |
$PSVersionTable.PSVersion

- name: Install Invoke-Build
shell: pwsh
run: |
Install-Module -Name InvokeBuild -RequiredVersion '5.10.5' -Force
run: |
Install-Module -Name InvokeBuild -RequiredVersion $env:INVOKE_BUILD_VERSION -Force

- name: Run Pester Tests
shell: pwsh
run: |
Invoke-Build Test

- name: Test docker builds
- name: Build Packages
shell: pwsh
run: |
Invoke-Build DockerPack -Version '0.0.0'
Invoke-Build Pack
53 changes: 0 additions & 53 deletions .github/workflows/ci-pwsh7_3.yml

This file was deleted.

Loading