-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Bug: Missing GitLab CI/CD template #36
Comments
SQLCanuck
changed the title
Missing GitLab CI/CD template
Bug: Missing GitLab CI/CD template
Dec 8, 2022
I get a similar error from .vscode and .github files in the template. Running with PowerShell 7.3.0 |
The PowerShell Gallery shows that 0.5.0 is missing the files while 0.4.0 has them.
|
Identical issue as @ngetchell-pi Creating an opinionated high-quality PowerShell module with psake tasks and GitHub meta documents
.
Create KXC.Notion\KXC.Notion.psd1
Create .gitignore
Create .gitattributes
Create build.ps1
Create psakeFile.ps1
Create requirements.psd1
Create azure-pipelines.yml
Get-ChildItem: C:\Users\<user>\Documents\PowerShell\Modules\Plaster\1.1.3\InvokePlaster.ps1:968
Line |
968 | … $files = @(Microsoft.PowerShell.Management\Get-ChildItem @gciParams) …
|
| Cannot find path 'C:\Users\<user>\Documents\PowerShell\Modules\Stucco\0.5.0\template\.github' because it does not
| exist. PSVersion 7.3.1 Rolled back to v0.4.0 and no hassles, immediately through with a copy paste of the original inputs. |
jimbrig
added a commit
to jimbrig/PSStucco
that referenced
this issue
Mar 26, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When using v0.5.0 I get the following error:
Get-Content : Cannot find path 'C:\Program Files\WindowsPowerShell\Modules\Stucco\0.5.0\template\cicd.gitlab-ci.yml' because it does not exist.
Steps to Reproduce
Run the documented commands:
$template = Get-PlasterTemplate -IncludeInstalledModules | Where-Object TemplatePath -Match 'Stucco'
Invoke-Plaster -TemplatePath $template.TemplatePath
During the selections pick GitLab for the CI/CD implementation.
Current Behavior
Produces an error and stops further processing.
Expected behavior
Implement the GitLab template in the module output directory.
Screenshots
Environment
The text was updated successfully, but these errors were encountered: