microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.49k stars 2.61k forks source link

[BUG]: HelmDeploy@0 package command is adding too many quotes to destination #19149

Open ChadNedzlek opened 12 months ago

ChadNedzlek commented 12 months ago

Task name

HelmDeploy@0

Task version

0.218.0

Environment type (Please select at least one enviroment where you face this issue)

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

mariner

Task log

2023-04-18T23:02:26.2370344Z ##[section]Starting: Helm Package (windows_build_container)
2023-04-18T23:02:26.2577937Z ==============================================================================
2023-04-18T23:02:26.2578072Z Task         : Package and deploy Helm charts
2023-04-18T23:02:26.2578137Z Description  : Deploy, configure, update a Kubernetes cluster in Azure Container Service by running helm commands
2023-04-18T23:02:26.2578265Z Version      : 0.218.0
2023-04-18T23:02:26.2578324Z Author       : Microsoft Corporation
2023-04-18T23:02:26.2578384Z Help         : https://aka.ms/azpipes-helm-tsg
2023-04-18T23:02:26.2578446Z ==============================================================================
2023-04-18T23:02:26.9586869Z [command]C:\__t\helm\3.11.3\x64\windows-amd64\helm.exe version --client --short
2023-04-18T23:02:27.2464617Z v3.11.3+g3232493
2023-04-18T23:02:27.2498135Z [command]C:\__t\helm\3.11.3\x64\windows-amd64\helm.exe package --destination "C:\__w\1\s\out\helm\"" C:\__w\1\s\helm\standards-cluster
2023-04-18T23:02:27.5562195Z Error: failed to save: stat C:\__w\1\s\out\helm": CreateFile C:\__w\1\s\out\helm": The filename, directory name, or volume label syntax is incorrect.
2023-04-18T23:02:27.5607244Z ##[error]Error: failed to save: stat C:\__w\1\s\out\helm": CreateFile C:\__w\1\s\out\helm": The filename, directory name, or volume label syntax is incorrect.

2023-04-18T23:02:27.5835603Z ##[section]Finishing: Helm Package (windows_build_container)

Relevant log output

C:\__w\1\s\out\helm": The filename, directory name, or volume label syntax is incorrect.

Aditional info

This is the expanded template, there is no quote in it:

- task: HelmDeploy@0
  inputs:
    connectionType: None
    command: package
    chartType: FilePath
    chartPath: $(Build.SourcesDirectory)\helm\standards-cluster
    destination: $(Build.SourcesDirectory)\out\helm\
ChadNedzlek commented 12 months ago

https://github.com/microsoft/azure-pipelines-tasks/issues/18135 got closed by the staleness bot, but the issue isn't resolved

v-mohithgc commented 12 months ago

Hi thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon.

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

ChadNedzlek commented 6 months ago

It's about to be closed again. I'd really appreciate some sort of info on this. @v-mohithgc, this task is unusable for us in its current state, and we just have to use script: helm deploy for this sort of thing. Is this task effectively dead/deprecated?

github-actions[bot] commented 2 days ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

ChadNedzlek commented 18 hours ago

Is this repo basically just a wasteland where issues go to die? This has been open for over a year with no comment at all from the owners, and it's a fairly serious issue with this task.