Skip to content

Revert "Allow ruby_smb 2.x and 3.x"#58

Merged
bastelfreak merged 7 commits intoOpenVoxProject:mainfrom
bastelfreak:winrm
Sep 15, 2025
Merged

Revert "Allow ruby_smb 2.x and 3.x"#58
bastelfreak merged 7 commits intoOpenVoxProject:mainfrom
bastelfreak:winrm

Conversation

@bastelfreak
Copy link
Contributor

@bastelfreak bastelfreak commented Sep 12, 2025

This reverts commit bastelfreak@460e413.

the CI passed in #41.
but the CI was flawed and the related winrm_transport check wasn't
triggered, because it only runs when specific files changed.


This PR also includes #54 #55 #56 #57

This the past, the different jobs had filters and were only executed
when specific files changed. This is error prone because we potentially
forget to enable tests for specific changes. Since we've enough
concurrent runners, we can run all jobs always.
The group within the github image is `runner`, not `docker`.
-rc* makes the windows tests fail:

```
System.ArgumentException: The 'ModuleVersion' member is not valid in the module manifest file 'D:\a\openbolt\openbolt\pwsh_module\PuppetBolt\PuppetBolt.psd1': Cannot convert value "5.0.0-rc2" to type "System.Version". Error: "The input string '0-rc2' was not in a correct format."
  at <ScriptBlock>, D:\a\openbolt\openbolt\pwsh_module\autogenerated.tests.ps1: line 1
  at <ScriptBlock>, C:\Users\runneradmin\Documents\PowerShell\Modules\Pester\5.7.1\Pester.psm1: line 3090
  at Invoke-File, C:\Users\runneradmin\Documents\PowerShell\Modules\Pester\5.7.1\Pester.psm1: line 3099
  at Invoke-BlockContainer, C:\Users\runneradmin\Documents\PowerShell\Modules\Pester\5.7.1\Pester.psm1: line 3008
  at Discover-Test, C:\Users\runneradmin\Documents\PowerShell\Modules\Pester\5.7.1\Pester.psm1: line 1480
  at Invoke-Test, C:\Users\runneradmin\Documents\PowerShell\Modules\Pester\5.7.1\Pester.psm1: line 2474
  at Invoke-Pester<End>, C:\Users\runneradmin\Documents\PowerShell\Modules\Pester\5.7.1\Pester.psm1: line 4960
  at <ScriptBlock>, D:\a\_temp\c04d9e53-3555-4e44-855d-5de95da6a5f0.ps1: line 2
  at <ScriptBlock>, <No file>: line 1
```
@bastelfreak bastelfreak changed the title Winrm Revert "Allow ruby_smb 2.x and 3.x" Sep 12, 2025
@bastelfreak bastelfreak marked this pull request as ready for review September 13, 2025 08:22
sebastianrakel and others added 4 commits September 13, 2025 10:23
We have a test that verifies all the parameters that bolt subcommands
offer in powershell. Besides the bolt-provided parameters, Powershell
adds own/internals parameters as well. Powershell 7.5 introduced a new
parameter, ProgressAction, which we need to add to the exclude list.

https://learn.microsoft.com/de-de/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7.5
This reverts commit 460e413.

the CI passed in OpenVoxProject#41.
but the CI was flawed and the related winrm_transport check wasn't
triggered, because it only runs when specific files changed.
@bastelfreak bastelfreak merged commit f7c70c7 into OpenVoxProject:main Sep 15, 2025
29 of 30 checks passed
bastelfreak added a commit to bastelfreak/openvox-bolt that referenced this pull request Sep 15, 2025
In OpenVoxProject#58 we noticed that
ruby_smb 3 is broken / not compatible with our codebase. Let's test 2.x.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants